Traceback (most recent call last):

 "test.py", line 1, in <module>
import plotly.plotly as py

 "/usr/local/lib/python2.7/dist-packages/plotly/__init__.py", line 31, in <module>
from plotly import plotly, graph_objs, tools, utils

 "/usr/local/lib/python2.7/dist-packages/plotly/plotly/__init__.py", line 12, in <module>
from plotly.plotly.plotly import *

 "/usr/local/lib/python2.7/dist-packages/plotly/plotly/plotly.py", line 29, in <module>
from plotly import tools

 "/usr/local/lib/python2.7/dist-packages/plotly/tools.py", line 20, in <module>
from . graph_objs import graph_objs

 "/usr/local/lib/python2.7/dist-packages/plotly/graph_objs/__init__.py", line 12, in <module>
from plotly.graph_objs.graph_objs import *

 "/usr/local/lib/python2.7/dist-packages/plotly/graph_objs/graph_objs.py", line 281, in <module>
@six.add_metaclass(ListMeta)AttributeError: 'module' object has no attribute 'add_metaclass'
Traceback (most recent call last):


 "/home/ionasal/.local/bin/pipenv", line 11, in <module>

sys.exit(cli())


 "/home/ionasal/.local/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 722, in __call__

return self.main(*args, **kwargs)


 "/home/ionasal/.local/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 697, in main

rv = self.invoke(ctx)


 "/home/ionasal/.local/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 1066, in invoke

return _process_result(sub_ctx.command.invoke(sub_ctx))


 "/home/ionasal/.local/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 895, in invoke

return ctx.invoke(self.callback, **ctx.params)


 "/home/ionasal/.local/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 535, in invoke

return callback(*args, **kwargs)


 "/home/ionasal/.local/lib/python3.6/site-packages/pipenv/cli.py", line 1852, in install

do_lock(system=system, pre=pre)


 "/home/ionasal/.local/lib/python3.6/site-packages/pipenv/cli.py", line 1027, in do_lock

pre=pre


 "/home/ionasal/.local/lib/python3.6/site-packages/pipenv/utils.py", line 386, in resolve_deps

constraint = [c for c in pip.req.parse_requirements(t, session=pip._vendor.requests)][0]


 "/home/ionasal/.local/lib/python3.6/site-packages/pipenv/utils.py", line 386, in <listcomp>

constraint = [c for c in pip.req.parse_requirements(t, session=pip._vendor.requests)][0]


 "/home/ionasal/.local/lib/python3.6/site-packages/pipenv/patched/pip/req/req_file.py", line 93, in parse_requirements

for req in req_iter:


 "/home/ionasal/.local/lib/python3.6/site-packages/pipenv/patched/pip/req/req_file.py", line 158, in process_line

isolated=isolated, options=req_options, wheel_cache=wheel_cache


 "/home/ionasal/.local/lib/python3.6/site-packages/pipenv/patched/pip/req/req_install.py", line 234, in from_line

wheel_cache=wheel_cache, constraint=constraint)


 "/home/ionasal/.local/lib/python3.6/site-packages/pipenv/patched/pip/req/req_install.py", line 90, in __init__

"Invalid requirement: '%s'\n%s" % (req, add_msg))
pip.exceptions.InstallationError: Invalid requirement: 'pytest=3.2'
