vcgencmd icon indicating copy to clipboard operation
vcgencmd copied to clipboard

Setup fails on Ubuntu server 20.04.1 LTS

Open ignazio-ingenito opened this issue 4 years ago • 3 comments

Following the instructions both global and local setups fail

pi@raspberry:~# sudo pip3 install -e .
ERROR: File "setup.py" not found. Directory cannot be installed in editable mode: /home/pi
pi@raspberry:~# pip3 install -e . --user
ERROR: File "setup.py" not found. Directory cannot be installed in editable mode: /home/pi

ubuntu info

pi@raspberry:~$ lsb_release -a
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.1 LTS
Release:        20.04
Codename:       focal

versions

Python  3.8.5
Pip     20.0.2

ignazio-ingenito avatar Dec 19 '20 13:12 ignazio-ingenito

This doesn't sound like a problem with this package but rather you don't have editable access to the location in which you are trying to install it. Does /home/pi exist? If so, is it editable? Are you able to install other python packages (psutil is a useful one).

nicmcd avatar Dec 21 '20 19:12 nicmcd

pi is the user for my ubuntu / raspberry pi

so /home/pi is the user folder yes, it exixts yes I've got read/write rights yes I've been able to install psutil

pi@ubuntu:~$ pip3 freeze | grep psutil
psutil==5.8.0

ignazio-ingenito avatar Dec 22 '20 06:12 ignazio-ingenito

@ignazio-ingenito, were you able to figure this out?

nicmcd avatar Jun 28 '21 18:06 nicmcd