-
Notifications
You must be signed in to change notification settings - Fork 129
Not able to import chef on Python 3.4 #67
Description
Can you please help me on this error
Python 3.4.3 (default, Feb 23 2017, 16:35:53)
[GCC 4.2.1 Compatible Apple LLVM 7.3.0 (clang-703.0.31)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
import chef
Traceback (most recent call last):
File "", line 1, in
File "/Users/svellore/workspace/python/flask-code/virtualenvs/py3.4/lib/python3.4/site-packages/PyChef-0.3.0-py3.4.egg/chef/init.py", line 6, in
from chef.client import Client
File "/Users/svellore/workspace/python/flask-code/virtualenvs/py3.4/lib/python3.4/site-packages/PyChef-0.3.0-py3.4.egg/chef/client.py", line 2, in
from chef.base import ChefObject
File "/Users/svellore/workspace/python/flask-code/virtualenvs/py3.4/lib/python3.4/site-packages/PyChef-0.3.0-py3.4.egg/chef/base.py", line 39, in
class ChefObject(six.with_metaclass(ChefObjectMeta, object)):
File "/Users/svellore/workspace/python/flask-code/virtualenvs/py3.4/lib/python3.4/site-packages/six-1.6.0-py3.4.egg/six.py", line 627, in with_metaclass
return meta("NewBase", bases, {})
File "/Users/svellore/workspace/python/flask-code/virtualenvs/py3.4/lib/python3.4/site-packages/PyChef-0.3.0-py3.4.egg/chef/base.py", line 35, in init
ChefObject.types[name.lower()] = cls
NameError: name 'ChefObject' is not defined