我之前有python 2.7,然后我安装了python 3.4。操作系统是windows 10
我改名了
C:\python27\python.exe to python2.exe (when I run python2 --version it shows correct version)
和
C:\python34\python.exe to python3.exe (when I run python3 --version it shows correct version)
我已经手动设置了路径变量,没有空格等
我试图创建一个虚拟环境并将 python34 分配给这个新环境。 我正在浏览这个 SO 引用 - Using VirtualEnv with multiple Python versions on windows
提示符>> virtualenv -p c:\Python34\python3.exe casenv
但是我遇到了一个错误--
Fatal error in launcher: Unable to create process using '"'
我是否需要为 python34 再次安装 virtualenv 或我需要为每个 python 安装设置 virtualenv 路径的地方。
非常欢迎任何帮助。
请您参考如下方法:
就我而言,当我收到此错误时,我已经安装了 python 3.6 并卸载了 python 2.7。 完全删除 C:\Python2.7 目录就可以了。
