Python: can't open file 'setup.py': [errno 2] no such file or directory
Hello, I'm trying to install
setup.py file by using the command
python setup.py install but I got an error can't open file 'setup.py': [errno 2] no such file or directory.
Python: can't open file 'setup.py': [Errno 2] No such file or directory.
I open CMD in window 10 and type command install as above.
I don't know why it does not work for me. please suggest to me if you know any reason.
Nguyen Quang Thai Mar 21 2021
You need to start
setup.pyfrom the folder where it is located.
Open the folder with
setup.py in windows explorer, then open
cd + that link folderafter entering type
python setup.py install
I hope it works for you.
Manish Kumar Mar 21 2021
When you run
python setup.pycommand it will be required setup.py file has to exist in the current folder to execute.
You can link to that folder by using
cd /home/learn/Python-3.3.0/ python setup.py install