Closed GoogleCodeExporter closed 9 years ago
same problem here.
I also opened a command window (DOS box) and launched the batch from there,
no errors or warnings whatsoever.
It would be great if this issue was solved, as more and more environments are
locked for installation and "portable" is the only option.
thanks, Stef
Original comment by Stef.Mientki@gmail.com
on 4 Jan 2014 at 9:42
Is the batch file in the same directory as PyScripter? If not you need to
specify the full path to PyScripter.
Original comment by pyscripter
on 23 Mar 2015 at 3:12
[deleted comment]
[deleted comment]
The batch file is in the same folder as PyScripter.exe. Nevertheless I gave the
full path. Still no message and no Pyscripter window.
My batch file looks like this:
---------------------
SET PYTHONHOME="C:\WinPython-64bit-2.7.8.3\python-2.7.8.amd64\"
C:\Users\desh752\Downloads\PyScripter-v2.6.0-x64\PyScripter\PyScripter.exe
--PYTHON27 --PYTHONDLLPATH "C:\WinPython-64bit-2.7.8.3\python-2.7.8.amd64\" %1
%2 %3 %4 %5 %6 %7
---------------------
If you accidentally mix the 32/64 bit versions, you get a message box that says
"Error 193: Could not open...". But if you use everythingn 64 bit correctly, no
message, no window.
Original comment by nikhild1...@gmail.com
on 23 Mar 2015 at 10:38
I have installed Winpython without registering at c:\WinPython
The following winpyscripter.cmd works for me.
SET PYTHONHOME=C:\WinPython\python-2.7.9.amd64
SET PYTHONPATH=C:\WinPython\python-2.7.9.amd64\Lib
SET HOME=C:\WinPython\settings
SET
PATH=C:\WinPython\python-2.7.9.amd64\Lib\site-packages\PyQt4;C:\WinPython\python
-2.7.9.amd64\;%PATH%
SET WINPYDIR=C:\WinPython\python-2.7.9.amd64
SET WINPYVER=2.7.9.3
PyScripter.exe --PYTHON27 --PYTHONDLLPATH "C:\WinPython\python-2.7.9.amd64" %1
%2 %3 %4 %5 %6 %7
Also if you run WinPython Command Prompt.exe you go to the PyScripter directory
and type:
PyScripter.exe --PYTHON27 --PYTHONDLLPATH "C:\WinPython\python-2.7.9.amd64"
You get the same result.
Original comment by pyscripter
on 24 Mar 2015 at 5:58
Thanks! The winpyscripter.cmd worked for me.
Your second suggestion to start a WinPython Command Prompt and then run
PyScripter.exe did not. It seems that at least PYTHONHOME and PYTHONPATH are
needed, even from WinPython Command Prompt.
Now, that I have PyScripter come up and run fine, I see another issue when I
close PyScripter. I get a message box that says "Runtime Error! ... This
application has requested the Runtime to terminate it in an unusual way. ..."
I would suggest adding your longer script to the FAQs. Without it, Pyscripter
would not have started for me.
Original comment by nikhild1...@gmail.com
on 24 Mar 2015 at 3:28
Here PyScripter closes without any issues. I will add the script to the FAQs.
Original comment by pyscripter
on 24 Mar 2015 at 3:33
Original issue reported on code.google.com by
nikhild1...@gmail.com
on 14 Nov 2013 at 8:57