Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 3874 by [email protected]: Installing sympy as a
dependency is broken
http://code.google.com/p/sympy/issues/detail?id=3874
I have a package that declares an install_requires on "sympy>=0.7.2". Then
this happened:
Searching for sympy>=0.7.2
Reading http://pypi.python.org/simple/sympy/
Reading http://code.google.com/p/sympy
Reading http://sympy.org
Reading http://sympy.org/
Reading
http://code.google.com/p/sympy/downloads/detail?name=sympy-0.7.0.tar.gz
Best match: sympy 0.7.2-py3.3
Downloading
http://pypi.python.org/packages/source/s/sympy/sympy-0.7.2-py3.3.tar.gz#md5=4645f4bd3c50dac7486ccfaedbb29057
Processing sympy-0.7.2-py3.3.tar.gz
Writing /tmp/easy_install-GtV1Ij/sympy-0.7.2/setup.cfg
Running sympy-0.7.2/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-GtV1Ij/sympy-0.7.2/egg-dist-tmp-nb3xOa
Traceback (most recent call last):
File "setup.py", line 78, in <module>
main()
[snip]
"/var/lib/jenkins/jobs/pytential/workspace/cl_dev/amd_a10/node/master/.env/local/lib/python2.7/site-packages/setuptools/sandbox.py",
line
35, in <lambda>
{'__file__':setup_script, '__name__':'__main__'}
File "setup.py", line 36, in <module>
'License :: OSI Approved :: MIT License',
File "/tmp/easy_install-GtV1Ij/sympy-0.7.2/sympy/__init__.py", line 27,
in <module>
ImportError: It appears 2to3 has been run on the codebase. Use Python 3 or
get the original source code.
In other words, it grabbed the Python 3.3 version, even though this was
Python 2.7. I imagine this is some misconfiguration of the package index
for sympy.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy-issues?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.