<div dir="ltr"><div><div>Looks like you have a a list of 2.7 dependencies in the path<br></div> args.<br><br></div>The first you seem to have 3.3 args, and the second a longer list of 2.7 args....I would assume the second is the full list...correct?<br>
<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jan 2, 2014 at 1:07 PM, David Hutto <span dir="ltr"><<a href="mailto:dwightdhutto@gmail.com" target="_blank">dwightdhutto@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I think, but haven't tried, and this would be 2-3  from __future__ import<br></div><div class="gmail_extra">
<div><div class="h5"><br><br><div class="gmail_quote">On Thu, Jan 2, 2014 at 12:46 PM, Rustom Mody <span dir="ltr"><<a href="mailto:rustompmody@gmail.com" target="_blank">rustompmody@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On Thu, Jan 2, 2014 at 11:06 PM, Ned Batchelder <<a href="mailto:ned@nedbatchelder.com" target="_blank">ned@nedbatchelder.com</a>> wrote:<br>


> On 1/2/14 12:05 PM, Rustom Mody wrote:<br>
><br>
>><br>
>> i'm not sure about this but isnt it normally the case that different<br>
>> version modules dont get mixed up like that?<br>
>> IOW if pytesser was a properly packaged 2.7 module would python 3 be<br>
>> able to get at it ??<br>
>><br>
><br>
> If you use a Python 3 installer it can succeed at installing a Python 2<br>
> package. Then you won't find out until you try to run the package that it is<br>
> incompatible.  A mechanism to prevent this seems like a good idea, but since<br>
> it wasn't in place at the dawn of Python 3, it would be difficult to put in<br>
> place now.<br>
<br>
</div>$ python3<br>
Python 3.3.3 (default, Dec  8 2013, 16:34:29)<br>
[GCC 4.8.2] on linux<br>
Type "help", "copyright", "credits" or "license" for more information.<br>
>>> from sys import path<br>
>>> path<br>
['', '/usr/lib/python3.3', '/usr/lib/python3.3/plat-i386-linux-gnu',<br>
'/usr/lib/python3.3/lib-dynload',<br>
'/usr/local/lib/python3.3/dist-packages',<br>
'/usr/lib/python3/dist-packages']<br>
<br>
<br>
$ python<br>
Python 2.7.6 (default, Dec  6 2013, 21:56:56)<br>
[GCC 4.8.2] on linux2<br>
Type "help", "copyright", "credits" or "license" for more information.<br>
>>> from sys import path<br>
>>> path<br>
['', '/usr/local/lib/python2.7/dist-packages/pip-1.0-py2.7.egg',<br>
'/usr/lib/python2.7', '/usr/lib/python2.7/plat-i386-linux-gnu',<br>
'/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old',<br>
'/usr/lib/python2.7/lib-dynload',<br>
'/usr/local/lib/python2.7/dist-packages',<br>
'/usr/lib/python2.7/dist-packages',<br>
'/usr/lib/python2.7/dist-packages/PILcompat',<br>
'/usr/lib/python2.7/dist-packages/gst-0.10',<br>
'/usr/lib/python2.7/dist-packages/gtk-2.0',<br>
'/usr/lib/pymodules/python2.7',<br>
'/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode']<br>
<br>
<br>
So as far as I can see (on a debian linux system) the paths are<br>
clearly 2.7-prefixed or 3.3-prefixed.<br>
<br>
So apart from being stupid and/or malicious to munge sys.path to tread<br>
on the other python's toes...???<br>
<br>
Oh ok I get what you are saying: python3 will not recognize a python2<br>
package and install it seemingly correctly but actually wrongly<br>
<span><font color="#888888">--<br>
<a href="https://mail.python.org/mailman/listinfo/python-list" target="_blank">https://mail.python.org/mailman/listinfo/python-list</a><br>
</font></span></blockquote></div><br><br clear="all"><br></div></div><span class="HOEnZb"><font color="#888888">-- <br>Best Regards,<br><span style="font-family:arial,helvetica,sans-serif">David Hutto</span><br><i><b>CEO:</b></i> <u><a href="http://www.hitwebdevelopment.com" target="_blank">http://www.hitwebdevelopment.com</a></u><br>


</font></span></div>
</blockquote></div><br><br clear="all"><br>-- <br>Best Regards,<br><span style="font-family:arial,helvetica,sans-serif">David Hutto</span><br><i><b>CEO:</b></i> <u><a href="http://www.hitwebdevelopment.com" target="_blank">http://www.hitwebdevelopment.com</a></u><br>

</div>