Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bryan-nice opened this issue Oct 11, 2016 · 2 comments

Comments

@bryan-nice
Copy link

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

----------------------------------------
@dhar24
Copy link

dhar24 commented Oct 21, 2016

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.

@jukou
Copy link

jukou commented Jun 19, 2018

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants