[Tutor] 2.6 vs 2.7: package compatibility?

Alex Hall mehgcap at gmail.com
Mon Oct 25 14:13:07 CEST 2010

On 10/25/10, Tim Golden <mail at timgolden.me.uk> wrote:
> On 25/10/2010 02:20, Alex Hall wrote:
>> Hi all,
>> I want to run a certain program from source. One dependency, Durus,
>> keeps giving me an error that no one can figure out. Someone said that
>> it will work if I use 2.7 instead of 2.6, but a lot of packages I have
>> installed work only on 2.6. I know I can install both, but here is the
>> question: all these packages that say they need 2.6... would they work
>> on 2.7?
> I'm going to assume that you're running on Windows -- because
> you usually are :) The answer, then, is that pure python modules
> would need to be reinstalled into (or at least made visible to)
> the newer Python version, but that extension modules would need
> to be recompiled against the newer version -- possibly making use
> of a precompiled binary.
When I ran the source of the program (http://www.qwitter-client.net)
on 2.7 it worked, but it mentioned adding
c:\python26\lib\site-packages to sys.path. I am not sure if this means
it is accessing packages from 2.6...
> Just to try, I've compiled Durus without issue on Python 2.6
> from the tarball on their website:
>    http://www.mems-exchange.org/software/durus/Durus-3.9.tar.gz
> but it's not clear from your message above whether it's the
> build which is the issue or some aspect of using it. Can
> you clarify? I'm quite happy to post up an .msi or something
> for you to use if that'll help.
It tells me that persistent_dict does not exist, when it clearly does.
Another user had the exact same problem when running the source on
2.6, but he had no problem when running 2.7. If you had an msi to
install Durus for 2.6 specifically, it would be interesting to see if
the persistent_dict error went away...
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor

Have a great day,
Alex (msg sent from GMail website)
mehgcap at gmail.com; http://www.facebook.com/mehgcap

More information about the Tutor mailing list