|
On 9/30/16 03:03, Steve Barnes wrote:
On 30/09/2016 09:45, Hartmut Goebel wrote:Hi, Am 30.09.2016 um 07:12 schrieb Steve Barnes:File: c:\python27\lib\queue.py […] File: c:\python27\lib\site-packages\queue\__init__.pyThanks Steve, for tracking this down. @Coyote: This sounds like you mixed your Python 2.7 and your Python 3.4 environment. Since Windows file-system ignores case when searching for files, you'll end up with this kind of errors. I strongly suggest to use a virtual environment when freezing your software with PyInstaller.I think that one of six, __future__, backports or some other package might be responsible for this. However, setting up a virtualenv for builds is ALWAYS a good idea so that you know what your dependencies are and so that upgrading a package in your main environment doesn't break something that build before. For the record, there is no Python 3 on our systems. Here's another interesting experiment. If I launch a python shell on Windows and do: >>> import Queue >>> import queue I do not get an error. But if I do this on Mac, I get: Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named queue because the UNIX in MacOS recognizes case. Best, coyot -- |
- [PyInstaller] Trouble getting pyinstaller to i... Coyot Linden (Glenn Glazer)
- [PyInstaller] Re: Trouble getting pyinsta... Coyot Linden (Glenn Glazer)
- [PyInstaller] Re: Trouble getting pyi... Coyot Linden (Glenn Glazer)
- Re: [PyInstaller] Re: Trouble getting... Steve Barnes
- Re: [PyInstaller] Re: Trouble get... Hartmut Goebel
- Re: [PyInstaller] Re: Trouble... Steve Barnes
- Re: [PyInstaller] Re: Tr... Coyot Linden (Glenn Glazer)
- Re: [PyInstaller] Re... Steve Barnes
- Re: [PyInstaller... Coyot Linden (Glenn Glazer)
- Re: [PyInstaller... Steve Barnes
- Re: [PyInstaller... Coyot Linden (Glenn Glazer)
- Re: [PyInstaller... Coyot Linden (Glenn Glazer)
- Re: [PyInstaller... Coyot Linden (Glenn Glazer)
- Re: [PyInstaller] Re: Trouble get... Coyot Linden (Glenn Glazer)
