On 9/29/16 22:12, Steve Barnes wrote:
An interesting little experiment that might throw some light on the
situation:
In [24]: import Queue
In [25]: Queue.__file__
Out[25]: 'c:\\python27\\lib\\Queue.pyc'
In [26]: Queue?
Type:        module
String form: <module 'Queue' from 'c:\python27\lib\Queue.pyc'>
File:        c:\python27\lib\queue.py
Docstring:   A multi-producer, multi-consumer queue.

In [27]: import queue
In [28]: queue.__file__
Out[28]: 'c:\\python27\\lib\\site-packages\\queue\\__init__.pyc'
In [29]: queue?
Type:        module
String form: <module 'queue' from
'c:\python27\lib\site-packages\queue\__init__.pyc'>
File:        c:\python27\lib\site-packages\queue\__init__.py
Docstring:   <no docstring>

https://docs.python.org/2.7/library/queue.html?highlight=queue  is worth
a look as opposed to
https://docs.python.org/3.5/library/queue.html?highlight=queue
Steven's experiment (which repros exactly for me) got me curious and I did some searching on python, {Q,q}ueue, lib and site-packages.

Here's an interesting thread where the Docker folks were having the same problem:

https://github.com/docker/compose/issues/2108

And here are two Pyinstaller bug threads describing the problem:

https://github.com/pyinstaller/pyinstaller/issues/1939
https://github.com/pyinstaller/pyinstaller/issues/1935

In the latter one, Codewarrior0 says that the problem is due to not being able to freeze two modules with the same (up to case) name and also claims he fixed it.

Did this fix get into Pyinstaller 3.2? If not, do we know when it will become available?

I do not think that a conflict with non-existent, other versions of python on the machine are the problem, but rather the bug as described in #1935.

Best,

coyot

--
You received this message because you are subscribed to the Google Groups 
"PyInstaller" 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 https://groups.google.com/group/pyinstaller.
For more options, visit https://groups.google.com/d/optout.

Reply via email to