try: The executable python3.5 (from --python=python3.5) does not exist
Hey,
I’m trying to run this on Windows 10. After installing via pip I’m running into a couple separate issues
tryis masked by Windows PowerShell’s try syntax- Running as a python m (
python -m try requests) results in the error:The executable python3.5 (from --python=python3.5) does not exist
I’m using Python 3.5 installed to C:\Python35\python.exe
Any help would be great!
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 16 (8 by maintainers)
i did virtualenv -p3 virtual_env_name and this worked!
I had the same issue Maybe it’s because of python version. $python3 --version Python 3.4.0 So from --python=python3.4 It worked
I think this is coming from the second half of the
build_virtualenv_cmdcommand. Running the first part works fine (and gives the output noted in the final log contents above)But the second part
&& . env/bin/activateis no good on windows. The equivalent would bereturn "virtualenv env -p {0} > {1}; ./env/Scripts/activate".format(python_version, logfile)But unfortunately in powershell there are permission problems with virtualenv (discussed here)
I had no problem running the above command in Git Shell fortunately. If I have time I will try to fork this and add windows support for running in Git Shell.