我正在尝试在我的 Mac 上设置 virtualenv 和 virtualenvwrapper。我已经阅读并尝试将其添加到我的 pythonpath 中,但仍然无法使用该命令mkvirtualenv
这是我的位置:
admins-macbook:~ Admin$ which python
/usr/local/bin/python
admins-macbook:~ Admin$ python --version
Python 2.7.5
admins-macbook:~ Admin$ export echo $PATH
-bash: export: `/usr/local/share/python:/usr/local/bin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin': not a valid identifier
admins-macbook:~ Admin$ which virtualenv
/usr/local/bin/virtualenv
admins-macbook:~ Admin$ export PATH=/usr/local/bin/virtualenv:$PATH
admins-macbook:~ Admin$ mkvirtualenv virtual
-bash: mkvirtualenv: command not found
如何让 virtualenv 在我的 Mac 上工作?谢谢你的想法!