Skip to content
This repository has been archived by the owner on May 9, 2020. It is now read-only.

Unable to import pychef 0.3.0 on Python 2.7.13 #74

Open
isuftin opened this issue May 23, 2017 · 0 comments
Open

Unable to import pychef 0.3.0 on Python 2.7.13 #74

isuftin opened this issue May 23, 2017 · 0 comments

Comments

@isuftin
Copy link

isuftin commented May 23, 2017

Running on MacOS 10.10.5

Installed pychef via pip

Python 2.7.13:

$ python
Python 2.7.13 (default, Dec 18 2016, 07:03:34)
[GCC 4.2.1 Compatible Apple LLVM 7.0.2 (clang-700.1.81)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import chef
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.7/site-packages/chef/__init__.py", line 5, in <module>
    from chef.api import ChefAPI, autoconfigure
  File "/usr/local/lib/python2.7/site-packages/chef/api.py", line 11, in <module>
    import pkg_resources
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 74, in <module>
    __import__('pkg_resources.extern.packaging.requirements')
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/extern/__init__.py", line 61, in load_module
    "distribution.".format(**locals())
ImportError: The 'packaging.requirements' package is required; normally this is bundled with this package so if you get this warning, consult the packager of your distribution.
@isuftin isuftin changed the title Unable to import pychef 0.3.0 on both Python 2.7.13 and Unable to import pychef 0.3.0 on Python 2.7.13 May 23, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant