Python错误:我无法使用pip安装amara

2024-05-28 18:25:52 发布

您现在位置:Python中文网/ 问答频道 /正文

(PWPYTHON)ubuntu@ip-10-224-6-63:~$ pip install amara
Requirement already satisfied (use --upgrade to upgrade): amara in ./PWPYTHON/lib/python2.7/site-packages 
Downloading/unpacking 4Suite-XML>=1.0.2 (from amara)   Downloading 4Suite-XML-1.0.2.zip (2.2MB): 2.2MB downloaded   Running setup.py egg_info for package 4Suite-XML

Requirement already satisfied (use --upgrade to upgrade): python-dateutil in /usr/lib/python2.7/dist-packages (from amara) Installing collected packages: 4Suite-XML   Running setup.py install for 4Suite-XML
    Usage:
      -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
      -c --help [cmd1 cmd2 ...]
      -c cmd --help
      -c --help-commands
      -c --help-packages

    error: option --single-version-externally-managed not recognized
    Complete output from command /home/ubuntu/PWPYTHON/bin/python -c "import setuptools;__file__='/home/ubuntu/PWPYTHON/build/4Suite-XML/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-l4m_hM-record/install-record.txt
--single-version-externally-managed --install-headers /home/ubuntu/PWPYTHON/include/site/python2.7:
    Usage:

  -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]

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

  -c cmd --help

  -c --help-commands

  -c --help-packages



error: option --single-version-externally-managed not recognized

---------------------------------------- Cleaning up... Command /home/ubuntu/PWPYTHON/bin/python -c "import setuptools;__file__='/home/ubuntu/PWPYTHON/build/4Suite-XML/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-l4m_hM-record/install-record.txt
--single-version-externally-managed --install-headers /home/ubuntu/PWPYTHON/include/site/python2.7 failed with error code 1 in /home/ubuntu/PWPYTHON/build/4Suite-XML Storing complete log in /home/ubuntu/.pip/pip.log

Python 2.7.3版


Tags: installpiphomeubuntupackageshelpxmlrecord
1条回答
网友
1楼 · 发布于 2024-05-28 18:25:52

您可以尝试用特定的版本安装它,或者使用下面的方法。在

我用其他软件包尝试过这个解决方案。您可以使用此命令来安装它。 pip install egg amara

这对阿玛拉也有好处。在

我在python2.7中使用它

ThinkPad-T430:~$ pip  version
pip 1.5.4 from /usr/lib/python2.7/dist-packages (python 2.7)

相关问题 更多 >

    热门问题