Python virtualenv on windows: Fatal error in launcher: Unable to create process using '' '

I created a virtualenv in python 2.7 (Anaconda) on a dev machine and (after installing the package) copied it to another windows machine in a PROD setup (no external communication). Executing any of the set ".exe" entry points for a program in virtualenv causes this error on the target machine to work fine on the source machine:

(env) D:\app\pyvenv>env\Scripts\pip.exe
Fatal error in launcher: Unable to create process using '"'

      

The python installation location on both machines is installed in the same folder: C:\ProgramData\Anaconda2

Also see my additional notes at the bottom of this post. thank

+4


source to share


1 answer


In my case, I uninstalled venv and then installed it again and it worked. pip uninstall virtualenv

to uninstall it and use pip install virtualenv

to reinstall it.



0


source







All Articles