Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

Not able to install in Python 3.7 #493

Closed
divyankraina opened this issue Oct 26, 2019 · 2 comments
Closed

Not able to install in Python 3.7 #493

divyankraina opened this issue Oct 26, 2019 · 2 comments

Comments

@divyankraina
Copy link

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.

@pecalleja
Copy link

this error is because the python 3 porting of this project is not ready (#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).

@jarondl
Copy link
Contributor

jarondl commented Oct 28, 2019

duplicate of #412

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

No branches or pull requests

3 participants