0

I installed fig on Arch Linux using the following command sudo pip install -U fig. After the installation was completed, I've tried to run fig --version but this gave me following errors:

Traceback (most recent call last):
  File "/usr/bin/fig", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2880, in <module>
    working_set = WorkingSet._build_master()
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 432, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 741, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 626, in resolve
    raise DistributionNotFound(req)
  pkg_resources.DistributionNotFound: fig==1.0.1

As it can be seen in the errors, I use python2. I also tried using python3, but I've got the same error.

Can anyone give me a hint?

4

2 に答える 2

0

easy_install で pip のアップグレードを試すことができます:

easy_install --upgrade pip

次に、図を再インストールしてみてください。

于 2014-11-25T12:00:40.903 に答える