小编Dex*_*Dex的帖子

Python"糟糕的翻译"错误

所有似乎都适用于python 2和3:

$ which Python
/Library/Frameworks/Python.framework/Versions/2.7/bin/python

$ python --version
Python 2.7.9

$ python2
Python 2.7.9 (v2.7.9:648dcafa7e5f, Dec 10 2014, 10:10:46) 
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.

$ python3
Python 3.4.3 (v3.4.3:9b73f1c3e601, Feb 23 2015, 02:52:03) 
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
Run Code Online (Sandbox Code Playgroud)

我的.bash_profile设置如下:

PATH="/Library/Frameworks/Python.framework/Versions/2.7/bin:${PATH}"
export PATH

PATH="/Library/Frameworks/Python.framework/Versions/3.4/bin:${PATH}"
export PATH
Run Code Online (Sandbox Code Playgroud)

问题:

$ virtualenv My_Env
-bash: /usr/local/bin/virtualenv: …
Run Code Online (Sandbox Code Playgroud)

python interpreter virtualenv

16
推荐指数
2
解决办法
2万
查看次数

标签 统计

interpreter ×1

python ×1

virtualenv ×1