Trying to create a spec file with the following command:
E:Python25\Python Makespec.py -F, -K, -X, E:\Python programs\Rubrica\rubrica.py
I got the error message “Impossible to find the specified path”.
Up to -F, -K, -X, the command executed regularly.
The path E:\Python programs\Rubrica\rubrica.py exists and has been written correctly.
Anybody can tell me what is my mistake? Thanks.
Thank you for your kindness, Marc, but it did not work. I tried even copying \Rubrica in the first branch of the tree (i.e. “E:\Rubrica\Rubrica.py”), and the result was the same. Can you give me a copy of the command you use?
···
2008/4/12, Marc Tompkins marc.tompkins@gmail.com:
On Fri, Apr 11, 2008 at 11:58 PM, raffaello barbarossa.platz@gmail.com wrote:
Trying to create a spec file with the following command:
E:Python25\Python Makespec.py -F, -K, -X, E:\Python programs\Rubrica\rubrica.py
I got the error message “Impossible to find the specified path”.
Up to -F, -K, -X, the command executed regularly.
The path E:\Python programs\Rubrica\rubrica.py exists and has been written correctly.
Anybody can tell me what is my mistake? Thanks.
Long filenames with internal spaces in Windows, maybe? Try either:
E:Python25\Python Makespec.py -F, -K, -X, “E:\Python programs\Rubrica\rubrica.py”
or
E:Python25\Python Makespec.py -F, -K, -X, E:\Python~1\Rubrica\rubrica.py
note: in the second example, I’m only guessing what the “mangled” short filename would be; Windows may have assigned “python~2” or “python~3” instead.
–
www.fsrtechnologies.com
wxpython-users mailing list
wxpython-users@lists.wxwidgets.org
http://lists.wxwidgets.org/mailman/listinfo/wxpython-users
Rafaello - sorry if I gave the wrong impression. I’ve never used PyInstaller, so I can’t really help you there. I HAVE had a lot of experience with unquoted long filenames with spaces causing path errors, so I’m afraid I jumped to conclusions. I still think you’ll need to watch out for internal spaces, even after you find the real problem.
···
On Sat, Apr 12, 2008 at 1:16 AM, raffaello barbarossa.platz@gmail.com wrote:
Thank you for your kindness, Marc, but it did not work. I tried even copying \Rubrica in the first branch of the tree (i.e. “E:\Rubrica\Rubrica.py”), and the result was the same. Can you give me a copy of the command you use?
–
www.fsrtechnologies.com
Even if your .py filename, or the path to it, contains spaces? Just curious for when I start using PyInstaller myself.
Thanks for letting us know the end of the story!
···
On Wed, Apr 16, 2008 at 12:57 PM, raffaello barbarossa.platz@gmail.com wrote:
It is indifferent to use or not quotation marks (“”) for your .py file name.
–
www.fsrtechnologies.com