views:

656

answers:

2

I installed PyScript to try it out but it just wont start. It only gives me the error: "Error126: Could not open Dll "python26.dll" followed by: "Python could not be properly initialized. We must quit."

I think this may have something to do with the PYTHONPATH but since I'm a newbie and dont know what it is or exactly what to put in the PYTHONPATH, after some googling, I ask here.

Also, when I tried to install wxPython it was impossible becouse the PYTHONPATH could not be found.(Just a side note)

A: 

Install python. should solve all your problems..

dartdog
Installed python 2.6 from python.org instead but pyscripter still doesn't work.
Alex
+2  A: 

Edit: PyScripter don't need wxPython to run that.

and Looks like you have 64bit python, according to your comment.

but pyscripter site says, you need 32 bit version of python

If you are using a 64bit version of Windows note that PyScripter will only work if a 32bit version of Python is installed.

So, only the way is you need to download/install 32 bit python and run pyscripter after that.

or

You might want to try out ulipad which works with 64 bit python and wxPython 64 bit.

S.Mark
How do I kow if i have unicode or not? Is it always unicode now? This confused me a bit.
Alex
Installed 64-bit version and it worked! Thanks! Now to the pyscripter problem. It refuses to start.
Alex
The questions is about PyScript, not PyScripter. In any case PyScripter is written in Delphi and doesnt need wxPython as far as I know
joaquin
Well i ment pyscripter, sorry...Fixed the title.
Alex
@Alex, looks like pyscripter not work with 64 bit python, you need to install 32 bit version of python, answer updated.
S.Mark
Ok, the python26.dll is located in the symstem32 folder and a subdolder to python26(C:\Python26\dist). Which directory should I add.Updadet first post with my PATH.
Alex
@Alex, sorry, please read the answer again, pyscripter does not work with python 64 bit. you need to install 32 bit python.
S.Mark
Yes that has to be the problem! I wasn't realy aware of which version I had when I read that.If I could find a version for 2.6 i would try Ulipad but i cant find it.
Alex
Made it work by installing 32-bit version.
Alex