r/pythonhelp • u/alexenderthegrand • Apr 19 '22
Python package problems
I guys, i try to run some script from github on my PC on w11 ( i know linux is better) and i think i do the right installation with the right packages but i still have an error to built 'setup.py' if you have any idea it will be greatfull.
here is a copy of the error : Can not execute 'setup.py' since setuptools is not available in the built environnement.
I try pip install -U setuptools , and pip install openupgradelib but the same error apears. Thanks for the help
version : Python 3.10.4
2
Upvotes
1
u/Goobyalus Apr 19 '22
Can you show exactly how you are invoking
pythonandpip, and check their versions?replacing
pipwith your exact invocation ofpip, andreplacing
pythonwith your exact invocation ofpythonwhether it'spython3or whatever?Maybe
python3 -m pip install setuptoolswill work for you (replacingpython3with whichever invocation of python you expect to be using).