json2csv icon indicating copy to clipboard operation
json2csv copied to clipboard

Command "python setup.py egg_info" failed with error code 1 in AppData\Local\Temp\pip-build-4vog3hcr\unicodecsv\

Open bryan-nice opened this issue 9 years ago • 2 comments

output I get from installer

Collecting unicodecsv==0.9.0 (from -r .\requirements.txt (line 1)) Using cached unicodecsv-0.9.0.tar.gz Complete output from command python setup.py egg_info: Traceback (most recent call last): File "", line 1, in File "C:\Users\Bryan\AppData\Local\Temp\pip-build-4vog3hcr\unicodecsv\setup.py", line 5, in version = import('unicodecsv').version File "c:\users\bryan\appdata\local\temp\pip-build-4vog3hcr\unicodecsv\unicodecsv__init__.py", line 48 except TypeError, e: ^ SyntaxError: invalid syntax

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

bryan-nice avatar Oct 11 '16 04:10 bryan-nice

Means you're using some obsolete library in python. This is because of invalid syntax "TypeError, e:" which doesn't support in python(3.x), can be rectified manually by replacing it by "TypeError as e".

Quick Resolution for python 3.x: Go to requirements.txt and replace the code with 'unicodecsv' or either just install it from pip.

dhar24 avatar Oct 21 '16 06:10 dhar24

Quick Resolution for python 3.x: Go to requirements.txt and replace the code with 'unicodecsv' or either just install it from pip.

requirements.txt only has 1 line in it. What am I replacing exactly?

jukou avatar Jun 19 '18 15:06 jukou