Cadene / pretrained-models.pytorch

Pretrained ConvNets for pytorch: NASNet, ResNeXt, ResNet, InceptionV4, InceptionResnetV2, Xception, DPN, etc.
BSD 3-Clause "New" or "Revised" License
9.04k stars 1.83k forks source link

Installation Failure with EOFError #121

Open fengluxu opened 5 years ago

fengluxu commented 5 years ago

I tried to install this package from repo but got EOF error from runing python setup.py install

Could you help me to figure it out?

ERROR: Traceback (most recent call last): File "setup.py", line 10, in from setuptools import setup, find_packages File "/home/feng/anaconda3/envs/ECO/lib/python3.5/site-packages/setuptools/init.py", line 14, in import setuptools.version File "/home/feng/anaconda3/envs/ECO/lib/python3.5/site-packages/setuptools/version.py", line 1, in import pkg_resources File "/home/feng/anaconda3/envs/ECO/lib/python3.5/site-packages/pkg_resources/init.py", line 82, in import('pkg_resources.extern.packaging.requirements') File "/home/feng/anaconda3/envs/ECO/lib/python3.5/site-packages/pkg_resources/_vendor/packaging/requirements.py", line 9, in from pkg_resources.extern.pyparsing import stringStart, stringEnd, originalTextFor, ParseException File "", line 969, in _find_and_load File "", line 958, in _find_and_load_unlocked File "", line 664, in _load_unlocked File "", line 634, in _load_backward_compatible File "/home/fengluxu/anaconda3/envs/ECO/lib/python3.5/site-packages/pkg_resources/extern/init.py", line 43, in load_module import(extant) File "", line 969, in _find_and_load File "", line 958, in _find_and_load_unlocked File "", line 673, in _load_unlocked File "", line 661, in exec_module File "", line 765, in get_code File "", line 476, in _compile_bytecode EOFError: marshal data too short

sherrylzy commented 5 years ago

Hi, I meet the same problem. Do you solve this problem?