Opened 10 months ago

Closed 10 months ago

Last modified 10 months ago

#812 closed defect (invalid)

New Python Version 3.9.18 can't be run in PyScripter

Reported by: Andreas Müller Owned by: osgeo4w-dev@…
Priority: normal Component: Package
Version: Keywords:
Cc:

Description (last modified by jef)

I'm using PyScripter for development with QGIS. After the last update of Python to version 3.9.18, PyScripter can't connect to the Python interpreter anymore. I can't get any error messages from PyScripter, so I also opened an issue on their repository (https://github.com/pyscripter/pyscripter/issues/1289).

Checking if PyScripter works with a non OSGeo4W Python 3.9.18 (https://github.com/adang1345/PythonWindows/blob/master/3.9.18/python-3.9.18-amd64-full.exe) was successful. So I think, there is something wrong/missing in the OSGeo4W-Version.

I wish I could provide any other test than running PyScripter to recreate the issue, but I did not find one yet.

Change History (10)

comment:1 by jef, 10 months ago

Is %OSGEO4W_ROOT% in PyScripter's PATH?

Version 0, edited 10 months ago by jef (next)

comment:2 by jef, 10 months ago

Description: modified (diff)

comment:3 by jef, 10 months ago

Description: modified (diff)

comment:4 by jef, 10 months ago

Description: modified (diff)

comment:5 by Andreas Müller, 10 months ago

I call Pyscripter with a batch-file, including all variables needed for plugin development and the path. The only thing, that changed, was Python switched to 3.9.18.

in reply to:  5 comment:6 by jef, 10 months ago

Replying to Andreas Müller:

I call Pyscripter with a batch-file, including all variables needed for plugin development and the path. The only thing, that changed, was Python switched to 3.9.18.

So it is in PATH?

comment:7 by Andreas Müller, 10 months ago

Sorry, yes, it is. Do You think of the redistributables?

comment:8 by jef, 10 months ago

No, it's probably zlib.dll - which should be fetched from %OSGEO4W_ROOT%\bin, but for some reason isn't. Copying it to %OSGEO4W_ROOT%\apps\Python39 seems to help.

comment:9 by jef, 10 months ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.