2014-06-08 125 views
1

我想在基本操作系統linux上使用pip3.3將Cython安裝到python3.3中,並且警告(下面​​發佈)是意外彈出的內容。Cython安裝警告

pip3.3 install Cython 
Downloading/unpacking Cython 
    Downloading Cython-0.20.1.tar.gz (2.6MB): 2.6MB downloaded 
    Running setup.py (path:/tmp/pip_build_tej/Cython/setup.py) egg_info for package Cython 
    /usr/lib/python3.3/distutils/dist.py:258: UserWarning: Unknown distribution option:  'entry_points' 
    warnings.warn(msg) 
    /usr/lib/python3.3/distutils/dist.py:258: UserWarning: Unknown distribution option: 'zip_safe' 
     warnings.warn(msg) 
    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: 
    /usr/lib/python3.3/distutils/dist.py:258: UserWarning: Unknown distribution option: 'entry_points' 

    warnings.warn(msg) 

/usr/lib/python3.3/distutils/dist.py:258: UserWarning: Unknown distribution option: 'zip_safe' 

    warnings.warn(msg) 

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' 

---------------------------------------- 
Cleaning up... 
Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_tej/Cython 
Storing debug log for failure in /tmp/tmpshew0_ 

請我在這方面需要您的幫助,因爲這是我安裝其他應用程序和框架的障礙。

回答

1
sudo pip3 install -U setuptools 

的setuptools和分發已經合併,Setuptools/Distribute Merge

+0

感謝您的幫助。有效。 –

+0

@ user3554261,不用擔心您的歡迎。 –

+0

@ user3554261你可以接受這個答案,如果它工作... –