
Hello Everybody, I hope you are fine I am writing you to see if anybody has this problem installing yt on pycharm Error occurred when installing packages. The following command was executed: packaging_tool.py install --build-dir /private/var/folders/nf/12x9821x4mq51y56wj9cr1600000gp/T/pycharm-packaging3493387491340383194.tmp --user yt The error output of the command: Downloading/unpacking yt Running setup.py egg_info for package yt Traceback (most recent call last): File "<string>", line 16, in <module> File "/private/var/folders/nf/12x9821x4mq51y56wj9cr1600000gp/T/pycharm-packaging3493387491340383194.tmp/yt/setup.py", line 11, in <module> if StrictVersion(setuptools.__version__) < StrictVersion('0.7.0'): File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/version.py", line 40, in __init__ self.parse(vstring) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/version.py", line 107, in parse raise ValueError, "invalid version number '%s'" % vstring ValueError: invalid version number '0.6c12' Complete output from command python setup.py egg_info: Traceback (most recent call last): File "<string>", line 16, in <module> File "/private/var/folders/nf/12x9821x4mq51y56wj9cr1600000gp/T/pycharm-packaging3493387491340383194.tmp/yt/setup.py", line 11, in <module> if StrictVersion(setuptools.__version__) < StrictVersion('0.7.0'): File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/version.py", line 40, in __init__ self.parse(vstring) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/version.py", line 107, in parse raise ValueError, "invalid version number '%s'" % vstring ValueError: invalid version number '0.6c12' ---------------------------------------- Cleaning up... Command python setup.py egg_info failed with error code 1 in /private/var/folders/nf/12x9821x4mq51y56wj9cr1600000gp/T/pycharm-packaging3493387491340383194.tmp/yt Storing complete log in /Users/friesco/Library/Logs/pip.log This is the latest pycharm in maverick ios. Let me know if you have any idea or suggestion how to solve it Thank you in advance

Hi Francia, It looks like pycharm comes bundled with an old version of the setuptools package. There is a hard check in yt's setup.py script to look for setuptools newer than 0.7.0. I don't know why exactly that's needed but it can almost certainly be solved by updating setuptools, if that's possible under pycharm. Nathan On Tuesday, June 10, 2014, Francia Riesco <ff2214@columbia.edu> wrote:
Hello Everybody, I hope you are fine
I am writing you to see if anybody has this problem installing yt on pycharm
Error occurred when installing packages.
The following command was executed:
packaging_tool.py install --build-dir /private/var/folders/nf/ 12x9821x4mq51y56wj9cr1600000gp/T/pycharm-packaging3493387491340383194.tmp --user yt
The error output of the command:
Downloading/unpacking yt Running setup.py egg_info for package yt Traceback (most recent call last): File "<string>", line 16, in <module> File "/private/var/folders/nf/12x9821x4mq51y56wj9cr1600000gp /T/pycharm-packaging3493387491340383194.tmp/yt/setup.py", line 11, in <module> if StrictVersion(setuptools.__version__) < StrictVersion('0.7.0'): File "/System/Library/Frameworks/Python.framework/Versions/2.7/ lib/python2.7/distutils/version.py", line 40, in __init__ self.parse(vstring) File "/System/Library/Frameworks/Python.framework/Versions/2.7/ lib/python2.7/distutils/version.py", line 107, in parse raise ValueError, "invalid version number '%s'" % vstring ValueError: invalid version number '0.6c12' Complete output from command python setup.py egg_info: Traceback (most recent call last):
File "<string>", line 16, in <module>
File "/private/var/folders/nf/12x9821x4mq51y56wj9cr1600000gp/T/pycharm- packaging3493387491340383194.tmp/yt/setup.py", line 11, in <module>
if StrictVersion(setuptools.__version__) < StrictVersion('0.7.0'):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/ lib/python2.7/distutils/version.py", line 40, in __init__
self.parse(vstring)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/ lib/python2.7/distutils/version.py", line 107, in parse
raise ValueError, "invalid version number '%s'" % vstring
ValueError: invalid version number '0.6c12'
---------------------------------------- Cleaning up... Command python setup.py egg_info failed with error code 1 in /private/var/folders/nf/12x9821x4mq51y56wj9cr1600000gp/T/pycharm- packaging3493387491340383194.tmp/yt Storing complete log in /Users/friesco/Library/Logs/pip.log
This is the latest pycharm in maverick ios. Let me know if you have any idea or suggestion how to solve it Thank you in advance
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
participants (2)
-
Francia Riesco
-
Nathan Goldbaum