axa-group / Parsr

Transforms PDF, Documents and Images into Enriched Structured Data
Apache License 2.0
5.86k stars 311 forks source link

weakref module error #581

Closed NilesRath closed 2 years ago

NilesRath commented 2 years ago

$ 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

BinaryBrain commented 2 years ago

Please use Python 3.