JonnoFTW / rpi-can-logger

Project to log CAN bus data from a PiCAN2 and a GPS module
128 stars 20 forks source link

Running: pip3 install -r requirements.txt gives following error #4

Open anterosa opened 3 years ago

anterosa commented 3 years ago

pi@raspberrypi:~ $ pip3 install -r ~/rpi-can-logger/requirements.txt Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Obtaining Package from git+https://github.com/hardbyte/python-can.git#egg=Package (from -r /home/pi/rpi-can-logger/requirements.txt (line 1)) Cloning https://github.com/hardbyte/python-can.git to ./src/package Running command git clone -q https://github.com/hardbyte/python-can.git /home/pi/src/package Installing build dependencies ... done Getting requirements to build wheel ... done Preparing wheel metadata ... done WARNING: Generating metadata for package Package produced metadata for project name python-can. Fix your #egg=Package fragments. WARNING: Discarding git+https://github.com/hardbyte/python-can.git#egg=Package. Requested python-can from git+https://github.com/hardbyte/python-can.git#egg=Package (from -r /home/pi/rpi-can-logger/requirements.txt (line 1)) has inconsistent name: filename has 'package', but metadata has 'python-can' ERROR: Could not find a version that satisfies the requirement package (unavailable) ERROR: No matching distribution found for package (unavailable)

anterosa commented 3 years ago

Made some checking and had to change pyenv manually to 3.6.2. This might be related to that. Maybe some fragments from original install round with "system" python. Have to clean some things and try rerun.