dmeranda / demjson

Python module for JSON data encoding, including jsonlint. See the project Wiki here on Github. Also read the README at the bottom of this page, or the project homepage at
http://deron.meranda.us/python/demjson/
Other
302 stars 76 forks source link

demjson pip install fails with python3.7 and 3.7 but not 3.6. #41

Closed eorojas closed 2 years ago

eorojas commented 2 years ago

Linux 5.4.0-1037-aws x86_64 Python 3.7.5 _python3.7 -m pip install demjson Collecting demjson Using cached https://zainar-595572147606.d.codeartifact.us-east-1.amazonaws.com/pypi/dev/simple/demjson/2.2.4/demjson-2.2.4.tar.gz Complete output from command python setup.py egg_info: error in demjson setup command: use2to3 is invalid.

python3.6 -m pip install demjson Defaulting to user installation because normal site-packages is not writeable Looking in indexes: https://aws:****@zainar-595572147606.d.codeartifact.us-east-1.amazonaws.com/pypi/dev/simple/ Requirement already satisfied: demjson in /home/emilio/.local/lib/python3.6/site-packages (2.2.4)

----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /home/emilio/tmp/pip-build-7zn14mkv/demjson/

This issue, https://github.com/dmeranda/demjson/issues/29, was closed but did not indicate any resolution.

eorojas commented 2 years ago

After, much exploration, I found that it is the CSV module that used demjson and that is I imported python-csv into 3.7 it successfully (with complaints) imported demjson as well.