如何解决未来> = 0.15.2的分布未找到

时间:2018-08-01 03:36:30

标签: django cookiecutter-django

在Fedora 27上,当我运行cookiecutter https://github.com/pydanny/cookiecutter-django时,我得到:

File "/usr/bin/cookiecutter", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3038, in <module>
    @_call_aside
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3022, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3051, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 657, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 971, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 857, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'future>=0.15.2' distribution was not found and is required by cookiecutter

1 个答案:

答案 0 :(得分:0)

这是known issue

  

python-cookiecutter-1.6.0-3.fc27已被推送到Fedora 27测试库。

     

有关的信息,请参见https://fedoraproject.org/wiki/QA:Updates_Testing   有关如何安装测试更新的说明。