【问题标题】:Cython installation warningCython 安装警告
【发布时间】:2014-06-24 06:55:34
【问题描述】:

我正在尝试在基本操作系统 linux 上使用 pip3.3 将 Cython 安装到 python3.3 中,并且意外弹出警告(在下面发布)。

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_

在这方面我需要您的帮助,因为这是我安装其他应用程序和框架的障碍。

【问题讨论】:

    标签: python cython


    【解决方案1】:
    sudo pip3 install -U  setuptools 
    

    setuptools和distribute已经合并,Setuptools/Distribute Merge

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多