python: can't open file 'test_video_swapsingle.py': [Errno 2] No such file or directory #202
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
can't open this file although it exists in the root folder already
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
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.