python: can't open file 'test_video_swapsingle.py': [Errno 2] No such file or directory #202

Open
opened 2022-02-12 00:30:32 +01:00 by IjiYang · 2 comments
IjiYang commented 2022-02-12 00:30:32 +01:00 (Migrated from github.com)

can't open this file although it exists in the root folder already

image

can't open this file although it exists in the root folder already ![image](https://user-images.githubusercontent.com/99515144/153684326-a3115a44-282c-4032-9dce-53f9e00bd38d.png)
birolkuyumcu commented 2022-02-13 07:04:17 +01:00 (Migrated from github.com)

this is not an issue
`python some.py

python: can't open file 'some.py': [Errno 2] No such file or directory
`
https://stackoverflow.com/a/60682408/222216

this is not an issue `python some.py python: can't open file 'some.py': [Errno 2] No such file or directory ` https://stackoverflow.com/a/60682408/222216
Fibonacci134 commented 2022-02-14 12:27:55 +01:00 (Migrated from github.com)

Hey, please make sure that you are currently in the root directory when executing the command. And make sure you are using anaconda prompt, not your windows cmd line.
1- click on anaconda command prompt
2- type cd
3- then simply drag and drop the folder into the terminal and the path should appear after "cd" (change directory)
4- press enter
5- activate your environment
6- copy and paste the command directly from the GitHub page usage section to make sure you aren't making any typos.
7- test your python installment if the steps above don't work by typing
"python --version" in conda prompt and confirm that you have successfully installed the dependencies for your environment. Good luck, hope it works for you.

Hey, please make sure that you are currently in the root directory when executing the command. And make sure you are using anaconda prompt, not your windows cmd line. 1- click on anaconda command prompt 2- type cd 3- then simply drag and drop the folder into the terminal and the path should appear after "cd" (change directory) 4- press enter 5- activate your environment 6- copy and paste the command directly from the GitHub page usage section to make sure you aren't making any typos. 7- test your python installment if the steps above don't work by typing "python --version" in conda prompt and confirm that you have successfully installed the dependencies for your environment. Good luck, hope it works for you.
Sign in to join this conversation.