Closed divyankraina closed 4 years ago
this error is because the python 3 porting of this project is not ready (https://github.com/google/transitfeed/pull/491). there is a fork with python 3 branch. you could try clone the fork (https://github.com/pecalleja/transitfeed), change to python3
branch and try to install (no tested in windows).
duplicate of #412
Here's the error received while trying a fresh install:
Running command git clone -q https://github.com/google/transitfeed.git 'C:\Users\divya\AppData\Local\Temp\pip-req-build-gzltgzss' ERROR: Command errored out with exit status 1: command: 'C:\Users\divya\Anaconda3\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\divya\AppData\Local\Temp\pip-req-build-gzltgzss\setup.py'"'"'; file='"'"'C:\Users\divya\AppData\Local\Temp\pip-req-build-gzltgzss\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\divya\AppData\Local\Temp\pip-req-build-gzltgzss\pip-egg-info' cwd: C:\Users\divya\AppData\Local\Temp\pip-req-build-gzltgzss\ Complete output (9 lines): Traceback (most recent call last): File "", line 1, in
File "C:\Users\divya\AppData\Local\Temp\pip-req-build-gzltgzss\setup.py", line 29, in
from transitfeed import version as VERSION
File "C:\Users\divya\AppData\Local\Temp\pip-req-build-gzltgzss\transitfeed__init__.py", line 67, in
from .util import *
File "C:\Users\divya\AppData\Local\Temp\pip-req-build-gzltgzss\transitfeed\util.py", line 29, in
import urllib2
ModuleNotFoundError: No module named 'urllib2'
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.