相关疑难解决方法(0)

如何在macOS或OS X上安装pip?

我昨天大部分时间都在寻找安装的明确答案pip(Python的包管理器).我找不到一个好的解决方案.

我该如何安装?

python macos install pip

1676
推荐指数
20
解决办法
199万
查看次数

小牛升级后virtualenvwrapper的终端问题

升级到OSX Mavericks后,我在终端收到此消息:

/usr/bin/python: No module named virtualenvwrapper
virtualenvwrapper.sh: There was a problem running the initialization hooks. 

If Python could not import the module virtualenvwrapper.hook_loader,
check that virtualenv has been installed for
VIRTUALENVWRAPPER_PYTHON=/usr/bin/python and that PATH is
set properly.
Run Code Online (Sandbox Code Playgroud)

python terminal virtualenvwrapper osx-mavericks

43
推荐指数
3
解决办法
3万
查看次数

easy_install:ImportError:找不到入口点('console_scripts','easy_install')

我使用easy_install来安装pip,pip来安装django,virtualenv和virtualenvwrapper.

几周之后我刚刚回到它并且django似乎不再工作了,但更令人担心的是我无法再次启动该过程,因为easy_install返回以下错误:

Traceback (most recent call last):
  File "/usr/bin/easy_install-2.7", line 10, in <module>
    load_entry_point('setuptools==0.6c12dev-r88846', 'console_scripts', 'easy_install')()
  File "/Library/Python/2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 318, in load_entry_point
  File "/Library/Python/2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 2220, in load_entry_point
ImportError: Entry point ('console_scripts', 'easy_install') not found
Run Code Online (Sandbox Code Playgroud)

经过一个愉快的狩猎之夜后,我很难过如何解决这个问题.

python macos easy-install

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

在Snowleopard上使用Homebrew升级的Python现在pip和easy_install不起作用

我是python的新手,我已经改变了我的路径指向新的python 2.7,但是pip和easy_install,并且mercurial仍在查看默认安装的2.6版本.我该如何解决?

python pip easy-install

4
推荐指数
1
解决办法
2570
查看次数