-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FileNotFoundError from subprocess.Popen(cmd) #27
Comments
Use python 3.6.7, tensorflow has some problems with python 3.7. |
@LukeZhuohuiLi Thanks for your advice but it did not work under Python 3.6.7 too. |
I got the same problem, I don't remember, but I solved it either switch to python 3.6 or switch python 32bit to 64bit, after that just run pip3 install -r requirements.txt. |
@LukeZhuohuiLi Could I ask what environment did you used? Was it Anaconda3(64bit)? |
I didn't use Anaconda because downgrading to python 3.6 in Anaconda takes a lot of time. Also CUDA 10.1 is not compatible with pytorch. Don't use python 3.7 since tensorflow is not compatible with python 3.7. also, there is one problem that I can't remember, I ended up using python 3.6.7 64bit(I am sure 3.7 and 3.6.0 doesn't work with the code) and add the Scripts folder to the environment variables(path). update the pip directly from CMD, rename the python.exe to python3.exe. python3 runGan.py 1 |
@LukeZhuohuiLi |
@LukeZhuohuiLi It works perfectly on Python 3.5, Ubuntu 16.04. |
including shell=True in subprocess function solved issue for me on win10 inside runGan.py, example line 21: subprocess.Popen(cmd) --> subprocess.Popen(cmd,shell=True) |
@EdisonBing Thank you for your kind commentary. |
Hello.
When I run python runGan.py 1 to test, I encountered the error below.
Please give me any solution or hint to solve this problem.
The text was updated successfully, but these errors were encountered: