I found a workaround: install Sympy from the git repo. For example: pip install git+https://github.com/sympy/sympy.git@sympy-0.7.3
On Wednesday, 11 September 2013 20:04:47 UTC+10, Angus Griffith wrote: > > Is there a workaround for this? > > I have a python2 application that depends on Sympy and I'm trying to > upgrade the dependency to 0.7.3. > > I've tried a few things but nothing successful yet. (Either the package > isn't found or it tries (and consequently) fails to install the python3 > version.) > > sympy==0.7.3, sympy-py2, sympy==0.7.3-py2 > > No local packages or download links found for ... > > > sympy>=0.7.3, sympy > > Best match: sympy 0.7.3-py3.3 > ... > > ImportError: You appear to be using the Python 3 version of SymPy in > Python 2. Use Python 3 or get the Python 2 source code from > http://sympy.org. > > > On Sunday, 28 July 2013 17:33:41 UTC+10, Matthew Brett wrote: >> >> Hi, >> >> I think pip on Python 3.3 is picking up the wrong version of Sympy: >> >> >> http://nipy.bic.berkeley.edu/builders/nipy-py3.3/builds/4/steps/shell_2/logs/stdio >> >> >> Exploring, this fails with the above error: >> >> pip install sympy (for python 3.3) >> >> These succeed: >> >> pip install sympy==0.7.2 (for python 3.3) >> easy_install sympy (for python 3.3) >> pip install sympy (for python 3.2) >> >> When pip fails, it starts off like this: >> >> Downloading/unpacking sympy >> Downloading sympy-0.7.3.tar.gz (6.4MB): 6.4MB downloaded >> >> When it succeeds (e.g pip install sympy on Python 3.2): >> >> Downloading/unpacking sympy >> Downloading sympy-0.7.3-py3.2.tar.gz (6.4MB): 6.4MB downloaded >> >> or >> >> Searching for sympy >> Reading http://pypi.python.org/simple/sympy/ >> Best match: sympy 0.7.3-py3.3 >> >> I'm afraid I don't understand the algorithm that pip / easy_install >> uses to chose between sympy-0.7.3.tar.gz and sympy-0.7.3-py3.3... >> >> Cheers, >> >> Matthew >> > -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscr...@googlegroups.com. To post to this group, send email to sympy@googlegroups.com. Visit this group at http://groups.google.com/group/sympy. For more options, visit https://groups.google.com/groups/opt_out.