Open gzambran opened 7 years ago
I was able to install correctly on a fresh Linux machine using "sudo pip install transitfeed". I've seen similar errors before especially if there are multiple installs of Python on a computer: a common problem for those using ESRI. Check with "pip list" that the module isn't installed somewhere else.
Some Similar Problems: https://stackoverflow.com/questions/17886647/cant-install-via-pip-because-of-egg-info-error
https://github.com/donnemartin/gitsome/issues/4
On Mon, Aug 21, 2017 at 8:50 AM, gzambran notifications@github.com wrote:
Collecting transitfeed Downloading transitfeed-1.2.14.tar.gz (347kB) 100% |████████████████████████████████| 348kB 1.7MB/s Complete output from command python setup.py egg_info: Traceback (most recent call last): File "", line 1, in File "/private/tmp/pip-build-nenm9v/transitfeed/setup.py", line 34 except ImportError, e: ^ SyntaxError: invalid syntax
Command "python setup.py egg_info" failed with error code 1 in /private/tmp/pip-build-nenm9v/transitfeed/
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/google/transitfeed/issues/434, or mute the thread https://github.com/notifications/unsubscribe-auth/AZs6oXWgGwXNhG7fbWtxd78MEO38ffnjks5saac5gaJpZM4O9hrV .
I definitely have 2 installs of Python on my computer but that hasn't caused issues with any other installs. I even aliased python to python3.6 but still have the same issue.
I see my silly mistake. Didn't realize this isn't supported for Python 3
Issue is caused by incompatibility with python 3, tracked in #412 . This can be marked as duplicate and closed.
Collecting transitfeed Downloading transitfeed-1.2.14.tar.gz (347kB) 100% |████████████████████████████████| 348kB 1.7MB/s Complete output from command python setup.py egg_info: Traceback (most recent call last): File "", line 1, in
File "/private/tmp/pip-build-nenm9v/transitfeed/setup.py", line 34
except ImportError, e:
^
SyntaxError: invalid syntax
Command "python setup.py egg_info" failed with error code 1 in /private/tmp/pip-build-nenm9v/transitfeed/