jaybatavia / pyscripter

Automatically exported from code.google.com/p/pyscripter
0 stars 0 forks source link

Unable to use pyScripter with stackless python #180

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Install stackless: http://www.stackless.com (stackless implementation 
of python)

2. Regular python prompt will look like
Python 2.5.1 Stackless 3.1b3 060516 (release25-maint:55039:55048, May  1 
2007, 14:13:4) [MSC v.1310 32 bit (Intel)] on win32

3. import stackless - works in command line

4. pyScripter shows after start
*** Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit 
(Intel)] on win32. ***

5. import stackless - produced error:
Traceback (most recent call last):
  File "<interactive input>", line 1, in <module>
ImportError: No module named stackless

What is the expected output? What do you see instead?

Expected: Stackless, import stackless
Instead: regular python, import stackless failed

What version of the product are you using? On what operating system?
Python Scripter 1.9.5.0 on Windows XP SP2, Stackless python 3.1b3 

Please provide any additional information below.
Why pyScripter uses different version of python? Does python.dll built-in 
into pyScripter? I have no other python2.5 install on my computer.

Original issue reported on code.google.com by gur...@gmail.com on 21 Dec 2007 at 2:21

GoogleCodeExporter commented 9 years ago
I have no idea whether PyScripter works with stackless Python nor I plan to 
support
it.  In any case I would be interested to know whether it works.

Regarding the issue you report, PyScripter does not include or install 
Python25.dll.
 So the DLL PyScripter loads is definitely somewhere in the system path, possible
under C:\Windows\System32. See also the help file for the command line option
--PYTHONDLLPATH that allows you to use a specific DLL. See also
http://pyscripter.googlepages.com/portablepython for configuring PyScripter to 
use a
specific version of Python that does not include registry information.

The standard Python distribution also places information in the Registry and 
also
uses the PYTHONHOME and PYTHONPATH environment variables.  Please check whether 
there
is some conflict. 

Original comment by pyscripter on 21 Dec 2007 at 3:14