First I got this error when running python3 setup.py install/usr/lib/python3/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
Fix:
I had to install version 58.2 of setuptoolspip install setuptools==58.2.0 and it worked.
Lastly if someone wonders I got this error: error: can't create or remove files in install directory, but it is easy to fix - just run the setup with sudo: sudo python3 setup.py install
First I got this error when running
python3 setup.py install
/usr/lib/python3/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
Fix: I had to install version 58.2 of setuptools
pip install setuptools==58.2.0
and it worked.Lastly if someone wonders I got this error:
error: can't create or remove files in install directory
, but it is easy to fix - just run the setup with sudo:sudo python3 setup.py install