vcgencmd
vcgencmd copied to clipboard
ERROR: File "setup.py" not found.
I have followed all the instructions on installing this but get ERROR: File "setup.py" not found. Directory cannot be installed in editable mode: /home/ubuntu when I try running sudo pip3 install -e .. Same when trying to install locally.
Does python3 setup.py install --user work?
Does
python3 setup.py install --userwork?
No. I get Traceback (most recent call last): File "setup.py", line 2, in <module> from setuptools import setup, find_packages ModuleNotFoundError: No module named 'setuptools'
But I have already done sudo pip3 install setuptools
and get Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (45.2.0).
Something is wrong with your python3 environment. Try opening an interaction python environment using python3 at the command line. Then type import setuptools to see if that works. If it does not work then setuptools is not installed for python3.
Be careful about python vs python3.
Also you might be running into a sudo user vs regular user issue. Sometimes when you install with sudo only root is allowed to use those packages. Try doing everything without sudo and with --user.
I still can't get it to work.
ubuntu@ubuntu:~$ sudo pip3 install setuptools --force-reinstall
Collecting setuptools
Using cached setuptools-47.1.1-py3-none-any.whl (583 kB)
Installing collected packages: setuptools
Attempting uninstall: setuptools
Found existing installation: setuptools 47.1.1
Uninstalling setuptools-47.1.1:
Successfully uninstalled setuptools-47.1.1
Successfully installed setuptools-47.1.1
ubuntu@ubuntu:~$ sudo pip3 install -e .
ERROR: File "setup.py" not found. Directory cannot be installed in editable mode: /home/ubuntu
Hi,
I am having the same issue with the same error on the current build of Kali Linux running as root on a Raspberry Pi 4B (I tried both global and local installs and got the same error). It displays...
Successfully installed setuptools-47.3.1
and then...
ERROR: File "setup.py" not found. Directory cannot be installed in editable mode: /tmp/userland
Mark
Have you tried python3 setup.py install --user?
I also have tried all of the above (Debian Buster not Rasbian) and get the setup.py error.