olx-parser icon indicating copy to clipboard operation
olx-parser copied to clipboard

pipenv install error

Open swiezaczek opened this issue 2 years ago • 1 comments

pipenv install Warning: Python 3.7 was not found on your system… You can specify specific versions of Python with: $ pipenv --python path/to/python

ant help?

--

I changed pip with "*" instead "3.7" , and it went through but I encountered another issue:

pi@raspberrypi:~ $ cd /home/pi/olx-parser
pi@raspberrypi:~/olx-parser $ pipenv shell main.py
Spawning environment shell (/bin/bash). Use 'exit' to leave.
pi@raspberrypi:~/olx-parser $ . /home/pi/.local/share/virtualenvs/olx-parser-R3BvWdpF/bin/activate
(olx-parser-R3BvWdpF) pi@raspberrypi:~/olx-parser $ main.py
bash: main.py: command not found
(olx-parser-R3BvWdpF) pi@raspberrypi:~/olx-parser $

swiezaczek avatar Feb 21 '23 15:02 swiezaczek

Update your pipfile as follows:

[[source]] name = "pypi" url = "https://pypi.org/simple" verify_ssl = true

[dev-packages] pylint = "*"

[packages] beautifulsoup4 = "" environs = "" fake-useragent = "" lxml = "" python-dateutil = "" python-telegram-bot = "" requests = "*"

[requires] python_version = "3.10"

gride29 avatar Mar 26 '23 23:03 gride29