python,用pip安装麻烦

时间:2013-09-12 14:57:43

标签: python macos python-2.7 osx-mountain-lion pip

我正在尝试在我的mac上安装python版本的openGL。当我使用site pip install PyOpenGL PyOpenGL_accelerate给出的命令时,我得到:

Downloading/unpacking PyOpenGL
  Downloading PyOpenGL-3.1.0a3.tar.gz (939kB): 939kB downloaded
  Running setup.py egg_info for package PyOpenGL
    usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
       or: -c --help [cmd1 cmd2 ...]
       or: -c --help-commands
       or: -c cmd --help

    error: invalid command 'egg_info'
    Complete output from command python setup.py egg_info:
    usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]

   or: -c --help [cmd1 cmd2 ...]

   or: -c --help-commands

   or: -c cmd --help



error: invalid command 'egg_info'

----------------------------------------
Command python setup.py egg_info failed with error code 1 in /private/var/folders/2m/chhqrrdn6698hyx3mt1gtcg00000gp/T/pip-build-lego90511/PyOpenGL
Storing complete log in /Users/lego90511/Library/Logs/pip.log

经过一番搜索,大多数人往往会错过一些实用工具或其他工具,但这绝不是一回事。那我错过了什么?

0 个答案:

没有答案