axa-group/Parsr

weakref module error

NilesRath opened this issue · 1 comments

$ pwd
/opt/app-root/src/demo/parsr-jupyter-demo
$ pipenv install
Traceback (most recent call last):
File "/opt/app-root/src/.local/bin/pipenv", line 6, in
from pipenv import cli
File "/opt/app-root/src/.local/lib/python2.7/site-packages/pipenv/init.py", line 22, in
from pipenv.vendor.vistir.compat import ResourceWarning, fs_str
File "/opt/app-root/src/.local/lib/python2.7/site-packages/pipenv/vendor/vistir/init.py", line 4, in
from .compat import (
File "/opt/app-root/src/.local/lib/python2.7/site-packages/pipenv/vendor/vistir/compat.py", line 13, in
from .backports.tempfile import NamedTemporaryFile as _NamedTemporaryFile
File "/opt/app-root/src/.local/lib/python2.7/site-packages/pipenv/vendor/vistir/backports/init.py", line 6, in
from .tempfile import NamedTemporaryFile
File "/opt/app-root/src/.local/lib/python2.7/site-packages/pipenv/vendor/vistir/backports/tempfile.py", line 15, in
from backports.weakref import finalize
ImportError: No module named weakref

Please use Python 3.