Yes, unfortunately, it doesn't seem to be possible to make separate Python 2/3 tarballs work with easy_install. This will be fixed in the next version because we have moved to a single codebase for the two, so there will no longer be separate tarballs.
Aaron Meurer On Wed, Sep 11, 2013 at 10:58 PM, Angus Griffith <[email protected]> wrote: > You're right. For some reason (lack of sleep?) I assumed setuptools used pip > (but actually it uses easy_install). > > The actual problem is with setuptools (maybe this is a known problem?). > I repeated the steps in the gist (virtualenv etc) with a basic setup.py and > it still happens: http://pastebin.com/9xDjp4yK > > On Thursday, 12 September 2013 02:20:36 UTC+10, Ondřej Čertík wrote: >> >> On Wed, Sep 11, 2013 at 4:04 AM, Angus Griffith <[email protected]> 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 ... >> >> >> That's weird. Here is what I do: >> >> https://gist.github.com/certik/6525973 >> >> and it seem to work. I also tried >> >> pip install sympy==0.7.3 >> >> and it worked too. >> >> Ondrej >> >> > >> > >> > 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 [email protected]. >> > To post to this group, send email to [email protected]. >> > Visit this group at http://groups.google.com/group/sympy. >> > For more options, visit https://groups.google.com/groups/opt_out. > > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/sympy. > For more options, visit https://groups.google.com/groups/opt_out. -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sympy. For more options, visit https://groups.google.com/groups/opt_out.
