Python: can't open file '': [errno 2] no such file or directory

Dung Do Tien Mar 21 2021 24

Hello, I'm trying to install file by using the command python install but I got an error can't open file '': [errno 2] no such file or directory.

 Python: can't open file '': [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.

Have 2 answer(s) found.
  • You need to start from the folder where it is located.

    Open the folder with in windows explorer, then open cmd type cd  + that link folder after entering type  python install

    I hope it works for you.

    Nguyen Quang Thai Mar 21 2021
  • When you run python command it will be required file has to exist in the current folder to execute.
    You can link to that folder by using cd command:

     cd /home/learn/Python-3.3.0/
    python install 
    Manish Kumar Mar 21 2021
Leave An Answer
* NOTE: You need Login before leave an answer

* Type maximum 2000 characters.

* All comments have to wait approved before display.

* Please polite comment and respect questions and answers of others.

Popular Tips

X Close