Page 1 of 2
[SOLVED] Problem between Pyscripter 4 and the Python engine
Published: May 17, 2021 - 2:05 PM
by olaplanche
Hello,
since updating PyScripter to v4, it can no longer find the Python path in the Wapt installation folder. See the screenshot below:
Do you have any suggestions?
Thank you
Re: Problem with Pyscripter 4 and the Python engine
Published: May 17, 2021 - 2:45 PM
by sfonteneau
32-bit PyScripter? (Wapt is 32-bit, so it needs 32-bit PyScripter, not 64-bit)
Re: Problem with Pyscripter 4 and the Python engine
Published: May 17, 2021 - 3:43 PM
by olaplanche
yes version 4.0.0.5 x86, I used the pyscripter package from the wapt store.
Re: Problem with Pyscripter 4 and the Python engine
Published: May 17, 2021 - 3:55 PM
by sfonteneau
The package has a problem; it's installing the x64 version.
I'll look into it.
Re: Problem with Pyscripter 4 and the Python engine
Published: May 17, 2021 - 3:59 PM
by olaplanche
Ah, that's reassuring.
I'll wait for your reply to do the update.
Thanks.
Re: Problem with Pyscripter 4 and the Python engine
Published: May 17, 2021 - 6:13 PM
by jpele
Hello,
I've tested again on several environments and the PyScripter package installs correctly on x86.
Could you completely remove PyScripter and install it from the package, then test again?
Regards,
Jimmy
Re: Problem with Pyscripter 4 and the Python engine
Published: May 18, 2021 - 11:29
by olaplanche
Hello,
I'm having the same problem after reinstalling v4, and the same after reinstalling v3 (and removing v4 from my local store).
v4 is no longer available on the Wapt store, so I can't reinstall it from there.
Thanks
Re: Problem with Pyscripter 4 and the Python engine
Published: May 19, 2021 - 2:14 PM
by olaplanche
OK, I just solved my problem!
After analyzing the pyscripter v3 package (v4 is "broken") available on the store, it seems that the modifications made to the pyscripter.local.ini file are not taken into account during installation (at least not on my system).
I copied the following Python version modifications to the end of the pyscripter.local.ini file in my machine's local administrator profile:
Code: Select all
[PythonVersions-x86]
InstallPath=C:\Program Files (x86)\wapt
[PythonVersions-x86\Custom Versions]
Path0=C:\Program Files (x86)\wapt
Count=0
After this modification, pyscripter is working properly again (I just updated a package)
Re: [SOLVED] Pyscripter 4 and Python engine problem
Published: May 19, 2021 - 2:23 PM
by olaplanche
After using PyScripter, the pyscripter.local.ini file changed as shown below:
Code: Select all
[PythonVersions-x86\Custom Versions]
Path0=Python 2.7 (32bit)=C:\Program Files (x86)\wapt
Count=1
[PythonVersions-x86]
InstallPath=C:\Program Files (x86)\wapt
Re: [SOLVED] Pyscripter 4 and Python engine problem
Published: May 20, 2021 - 09:47
by sfonteneau
Actually, it's quite simple:
pyscripter4 is no longer compatible with Python 2.7.
Therefore, you'll have to wait for the discovery to use pyscripter4.