Patiencer / pyscripter

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

Error in initialization #325

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install PyScripter
2. Start PyScripter 

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

It should start normally. Instead, I have an error message "PyScripter
cannot find the standard Python library modules..." then just after another
one saying "exceptions.AttributeError: 'module' object has no attribute 'ps1'."
After that, the programs starts normally but I get an access violation if I
try to click on "Python Path" in the "tools" menu.

I tried to uninstall then reinstall Python 2.5 but it doesn't change anything

What version of the product are you using? On what operating system?

PyScripter 1.9.9.7
Windows XP
Python 2.5

Please provide any additional information below.

- Delphi is installed
- Python for Delphi is installed

Original issue reported on code.google.com by fche...@gmail.com on 27 Jul 2009 at 6:54

GoogleCodeExporter commented 9 years ago
This error indicates that Python is not properly installed (the standard Python
module code is not found).

Please check the Windows Registry 
keyHKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.x
or
HKEY_CURRENT_USER\SOFTWARE\Python\PythonCore\2.x for a single user
installation of Python.  ("x" stands for the minor version of Python).

In a proper installation the key should exist and the "InstallPath" and 
"PythonPath"
variables defined.

Also check the PYTHONHOME and PYTHONPATH environment variables to see whether 
they
conflict with the Python version used.

If you want to use a specific non registered version please use the --PYTHONxx 
or
--PYTHONDLLPATH command line options.  See the PyScripter help file for 
information
about the command line options.

Hope this helps.

Original comment by pyscripter on 2 Jan 2010 at 1:11

GoogleCodeExporter commented 9 years ago
Issue 326 has been merged into this issue.

Original comment by pyscripter on 2 Jan 2010 at 1:13