python - Installing modules with pip, "failed to parse CPython sys.version" -
this first post, if i'm leaving out key information or formatting off, please let me know.
i'm reinstalling python on pc, , haven't used since getting started in enthought canopy. have since uninstalled canopy, , reinstalled python 2.7.10. i'm trying install numpy, scipy, , handful of similar science based packages, using following in cmd:
pip install numpy
i following traceback:
traceback (most recent call last): file "c:\users\chris\appdata\local\enthought\canopy\user\scripts\pip-script.py", line 8, in <module> pip import main file "c:\python27\lib\site-packages\pip\__init__.py", line 17, in <module> pip.commands import get_summaries, get_similar_commands file "c:\python27\lib\site-packages\pip\commands\__init__.py", line 6, in <module> pip.commands.completion import completioncommand file "c:\python27\lib\site-packages\pip\commands\completion.py", line 4, in <module> pip.basecommand import command file "c:\python27\lib\site-packages\pip\basecommand.py", line 20, in <module> pip.req import installrequirement, parse_requirements file "c:\python27\lib\site-packages\pip\req\__init__.py", line 3, in <module> .req_install import installrequirement file "c:\python27\lib\site-packages\pip\req\req_install.py", line 17, in <module> pip._vendor.distlib.markers import interpret markers_interpret file "c:\python27\lib\site-packages\pip\_vendor\__init__.py", line 72, in load_module __import__(name) file "c:\python27\lib\site-packages\pip\_vendor\distlib\markers.py", line 20, in <module> class evaluator(object): file "c:\python27\lib\site-packages\pip\_vendor\distlib\markers.py", line 48, in evaluator 'platform_python_implementation': python_implementation(), file "c:\python27\lib\platform.py", line 1498, in python_implementation return _sys_version()[0] file "c:\python27\lib\platform.py", line 1463, in _sys_version repr(sys_version)) valueerror: failed parse cpython sys.version: '2.7.6 |custom| (default, jun 4 2014, 16:30:34) [msc v.1500 64 bit (amd64)]'
i'm not sure why it's telling me version 2.7.6, or why says i'm running on amd64 system (i'm on x64 device). idea might going on?
i saw post of similar problem, suggested resolution (setting sys.version string manually) didn't help, whenever attempted install, reset 1 displayed above.
again, appreciated. cheers!
i went through computer , located old install of canopy. once removed previous install of python, issue resolved.
Comments
Post a Comment