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.
-
N-3
Nguyen Quang Thai Mar 21 2021
You need to start
setup.py
from the folder where it is located.Open the folder with
setup.p
y in windows explorer, then opencmd
typecd + that link folder
after entering typepython setup.py install
I hope it works for you.
-
M-18
Manish Kumar Mar 21 2021
When you run
python setup.py
command it will be required setup.py file has to exist in the current folder to execute.
You can link to that folder by usingcd
command:cd /home/learn/Python-3.3.0/ python setup.py install
* Type maximum 2000 characters.
* All comments have to wait approved before display.
* Please polite comment and respect questions and answers of others.