nasa / RHEAS

Regional Hydrologic Extremes Assessment System
MIT License
73 stars 54 forks source link

bootstrap.py script errors (setuptools issue) #42

Closed kashingtonDC closed 8 years ago

kashingtonDC commented 8 years ago

Hi, I'm trying to install RHEAS and I'm getting an error with the buildout script. I've tried using python 2 on MacOSX as well as Ubuntu. I'm greeted with the same error:

`Downloading https://pypi.python.org/packages/source/s/setuptools/setuptools-20.10.1.zip Extracting in /tmp/tmpbavxw72p Traceback (most recent call last): File "bootstrap.py", line 98, in ez'use_setuptools' File "", line 173, in use_setuptools File "", line 124, in _do_download File "", line 64, in _build_egg File "/usr/lib/python3.4/contextlib.py", line 59, in enter return next(self.gen) File "", line 103, in archive_context File "", line 87, in new File "/usr/lib/python3.4/zipfile.py", line 937, in init self._RealGetContents() File "/usr/lib/python3.4/zipfile.py", line 978, in _RealGetContents raise BadZipFile("File is not a zip file") zipfile.BadZipFile: File is not a zip file Error in sys.excepthook: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 63, in apport_excepthook from apport.fileutils import likely_packaged, get_recent_crashes ImportError: No module named 'apport'

Original exception was: Traceback (most recent call last): File "bootstrap.py", line 98, in ez'use_setuptools' File "", line 173, in use_setuptools File "", line 124, in _do_download File "", line 64, in _build_egg File "/usr/lib/python3.4/contextlib.py", line 59, in enter return next(self.gen) File "", line 103, in archive_context File "", line 87, in new File "/usr/lib/python3.4/zipfile.py", line 937, in init self._RealGetContents() File "/usr/lib/python3.4/zipfile.py", line 978, in _RealGetContents raise BadZipFile("File is not a zip file") zipfile.BadZipFile: File is not a zip file`

It looks like there is no file located at https://pypi.python.org/packages/source/s/setuptools/setuptools-20.10.1.zip

I'm not sure how to jump around this issue. Advice on bootstrapping and building is most appreciated!

AdamJDuncan commented 8 years ago

When you type "python -V" (note the uppercase V) what does it return?

kashingtonDC commented 8 years ago

Mac OSX: Python 2.7.10 Ubuntu 14.04: Python 2.7.6

buryat commented 8 years ago

It's related to https://github.com/pypa/setuptools/issues/557

kashingtonDC commented 8 years ago

Solved! Many thanks