PyCharm 2019 is not working with QGIS anymoreUsing QGIS modules in standalone application with PySide?How to fix Quickfinder OperationalError: table quickfinder_info already exists?How to define pycharm to understand PYQGIS and GDALPycharm Couldn't recognise QGIS 2.8.11's python 2.7.5 packaging tools. win 7Understanding qgis.core import error: no module named qgis.core?QGIS, Python and GniPlannerFTTH ErrorHow to add a QGIS-specific Python interpreter to PyCharm on Windows?Python not installed in windows based QGIS on a Mac running ParallelsRunning PyQGIS in FME PythonCaller transformer?arcpy SelectLayerByAttribute_management runs in the Python window in ArcGIS Pro, but fails to run from Spyder or PyCharm
Is it inappropriate for a student to attend their mentor's dissertation defense?
Short story with a alien planet, government officials must wear exploding medallions
Detention in 1997
Why is it a bad idea to hire a hitman to eliminate most corrupt politicians?
In 'Revenger,' what does 'cove' come from?
Should I cover my bicycle overnight while bikepacking?
How to tell a function to use the default argument values?
What method can I use to design a dungeon difficult enough that the PCs can't make it through without killing them?
Plagiarism or not?
Personal Teleportation: From Rags to Riches
Im going to France and my passport expires June 19th
How would I stat a creature to be immune to everything but the Magic Missile spell? (just for fun)
What does “the session was packed” mean in this context?
Avoiding direct proof while writing proof by induction
What mechanic is there to disable a threat instead of killing it?
Is it possible to create a QR code using text?
How badly should I try to prevent a user from XSSing themselves?
How seriously should I take size and weight limits of hand luggage?
Gatling : Performance testing tool
How do conventional missiles fly?
How to prevent "they're falling in love" trope
Why is consensus so controversial in Britain?
How can I determine if the org that I'm currently connected to is a scratch org?
What is a romance in Latin?
PyCharm 2019 is not working with QGIS anymore
Using QGIS modules in standalone application with PySide?How to fix Quickfinder OperationalError: table quickfinder_info already exists?How to define pycharm to understand PYQGIS and GDALPycharm Couldn't recognise QGIS 2.8.11's python 2.7.5 packaging tools. win 7Understanding qgis.core import error: no module named qgis.core?QGIS, Python and GniPlannerFTTH ErrorHow to add a QGIS-specific Python interpreter to PyCharm on Windows?Python not installed in windows based QGIS on a Mac running ParallelsRunning PyQGIS in FME PythonCaller transformer?arcpy SelectLayerByAttribute_management runs in the Python window in ArcGIS Pro, but fails to run from Spyder or PyCharm
Since the update to PyCharm 2019 I am unable to load the QGIS Python modules.
I can not use auto completion either.
I already deleted the cache (by invalidating the cache in PyCharm and also by deleting the "system" folder in the user settings directory), nothing seems to work.
When starting the Python console inside of PyCharm and typing "import qgis.core", I get the following error:
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "C:Program FilesJetBrainsPyCharm Community Edition 2018.2.2helperspydev_pydev_bundlepydev_import_hook.py", line 21, in do_import
module = self._system_import(name, *args, **kwargs)
File "C:OSGEO4~1appsqgis-ltrpythonqgiscore__init__.py", line 27, in <module>
from qgis._core import *
File "C:Program FilesJetBrainsPyCharm Community Edition 2018.2.2helperspydev_pydev_bundlepydev_import_hook.py", line 21, in do_import
module = self._system_import(name, *args, **kwargs)
ImportError: DLL load failed: Das angegebene Modul wurde nicht gefunden.
Something seems to be broken, in PyCharm 2018.3 everything was ok. The sys.path environments and interpreter settings seem to be correct:
['C:\Program Files\JetBrains\PyCharm Community Edition '
'2018.2.2\helpers\pydev',
'C:\OSGEO4~1\apps\qgis-ltr\python',
'C:\OSGEO4~1\apps\qgis-ltr\python\plugins',
'C:\Program Files\JetBrains\PyCharm Community Edition '
'2018.2.2\helpers\third_party\thriftpy',
'C:\Program Files\JetBrains\PyCharm Community Edition '
'2018.2.2\helpers\pydev',
'C:\OSGeo4W64\apps\Python37\python37.zip',
'C:\OSGEO4~1\apps\Python37\DLLs',
'C:\OSGEO4~1\apps\Python37\lib',
'C:\OSGeo4W64\apps\Python37',
'C:\OSGEO4~1\apps\Python37',
'C:\OSGEO4~1\apps\Python37\lib\site-packages',
'C:\OSGEO4~1\apps\Python37\lib\site-packages\win32',
'C:\OSGEO4~1\apps\Python37\lib\site-packages\win32\lib',
'C:\OSGEO4~1\apps\Python37\lib\site-packages\Pythonwin']
Has anyone updated PyCharm to 2019 and can confirm this?
I also reinstalled the whole QGIS installation, but nothing seems to work.
It looks like the DLLs containing the stubs are incompatible now?
My bat for starting PyCharm looks like this:
@echo off
SET OSGEO4W_ROOT=C:OSGeo4W64
call "%OSGEO4W_ROOT%"bino4w_env.bat
call "%OSGEO4W_ROOT%"appsgrassgrass-7.4.2etcenv.bat
@echo off
path %PATH%;%OSGEO4W_ROOT%appsqgisbin
path %PATH%;%OSGEO4W_ROOT%appsgrassgrass-7.4.2lib
path %PATH%;%OSGEO4W_ROOT%appsQt5bin
path %PATH%;%OSGEO4W_ROOT%appsPython37Scripts
path %PATH%;C:Program FilesDockerDockerResourcesbin
path %PATH%;C:Program Files7-Zip
set QT_PLUGIN_PATH=C:OSGeo4W64appsQt5plugins
set PYTHONPATH=%PYTHONPATH%;%OSGEO4W_ROOT%appsqgis-ltrpython
set PYTHONPATH=%PYTHONPATH%;%OSGEO4W_ROOT%appsqgis-ltrpythonplugins
set PYTHONHOME=%OSGEO4W_ROOT%appsPython37
start "PyCharm aware of Quantum GIS" /B "C:Program FilesJetBrainsPyCharm Community Edition 2018.2.2binpycharm64.exe" %*
pyqgis pyqgis-3 windows-10 pycharm
|
show 1 more comment
Since the update to PyCharm 2019 I am unable to load the QGIS Python modules.
I can not use auto completion either.
I already deleted the cache (by invalidating the cache in PyCharm and also by deleting the "system" folder in the user settings directory), nothing seems to work.
When starting the Python console inside of PyCharm and typing "import qgis.core", I get the following error:
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "C:Program FilesJetBrainsPyCharm Community Edition 2018.2.2helperspydev_pydev_bundlepydev_import_hook.py", line 21, in do_import
module = self._system_import(name, *args, **kwargs)
File "C:OSGEO4~1appsqgis-ltrpythonqgiscore__init__.py", line 27, in <module>
from qgis._core import *
File "C:Program FilesJetBrainsPyCharm Community Edition 2018.2.2helperspydev_pydev_bundlepydev_import_hook.py", line 21, in do_import
module = self._system_import(name, *args, **kwargs)
ImportError: DLL load failed: Das angegebene Modul wurde nicht gefunden.
Something seems to be broken, in PyCharm 2018.3 everything was ok. The sys.path environments and interpreter settings seem to be correct:
['C:\Program Files\JetBrains\PyCharm Community Edition '
'2018.2.2\helpers\pydev',
'C:\OSGEO4~1\apps\qgis-ltr\python',
'C:\OSGEO4~1\apps\qgis-ltr\python\plugins',
'C:\Program Files\JetBrains\PyCharm Community Edition '
'2018.2.2\helpers\third_party\thriftpy',
'C:\Program Files\JetBrains\PyCharm Community Edition '
'2018.2.2\helpers\pydev',
'C:\OSGeo4W64\apps\Python37\python37.zip',
'C:\OSGEO4~1\apps\Python37\DLLs',
'C:\OSGEO4~1\apps\Python37\lib',
'C:\OSGeo4W64\apps\Python37',
'C:\OSGEO4~1\apps\Python37',
'C:\OSGEO4~1\apps\Python37\lib\site-packages',
'C:\OSGEO4~1\apps\Python37\lib\site-packages\win32',
'C:\OSGEO4~1\apps\Python37\lib\site-packages\win32\lib',
'C:\OSGEO4~1\apps\Python37\lib\site-packages\Pythonwin']
Has anyone updated PyCharm to 2019 and can confirm this?
I also reinstalled the whole QGIS installation, but nothing seems to work.
It looks like the DLLs containing the stubs are incompatible now?
My bat for starting PyCharm looks like this:
@echo off
SET OSGEO4W_ROOT=C:OSGeo4W64
call "%OSGEO4W_ROOT%"bino4w_env.bat
call "%OSGEO4W_ROOT%"appsgrassgrass-7.4.2etcenv.bat
@echo off
path %PATH%;%OSGEO4W_ROOT%appsqgisbin
path %PATH%;%OSGEO4W_ROOT%appsgrassgrass-7.4.2lib
path %PATH%;%OSGEO4W_ROOT%appsQt5bin
path %PATH%;%OSGEO4W_ROOT%appsPython37Scripts
path %PATH%;C:Program FilesDockerDockerResourcesbin
path %PATH%;C:Program Files7-Zip
set QT_PLUGIN_PATH=C:OSGeo4W64appsQt5plugins
set PYTHONPATH=%PYTHONPATH%;%OSGEO4W_ROOT%appsqgis-ltrpython
set PYTHONPATH=%PYTHONPATH%;%OSGEO4W_ROOT%appsqgis-ltrpythonplugins
set PYTHONHOME=%OSGEO4W_ROOT%appsPython37
start "PyCharm aware of Quantum GIS" /B "C:Program FilesJetBrainsPyCharm Community Edition 2018.2.2binpycharm64.exe" %*
pyqgis pyqgis-3 windows-10 pycharm
Show me your*.bat
file that you use to run PyCharm, compatible with QGIS.
– Mr. Che
2 days ago
C:Program FilesJetBrainsPyCharm Community Edition 2018.2.2binpycharm64.exe
points to your new PyCharm 2019?
– Mr. Che
2 days ago
yes it does.. PyCharm is starting, but it seems to be unable to load the qgis DLLs
– TheGrudge
2 days ago
I tried to set the PYTHONHOME in C:OSGeo4W64etcinipython-core.bat to C:OSGeo4W64appsPython37 as well, but nothing seems to work.
– TheGrudge
2 days ago
I used to have such problems with DLLs, but with additionalasyncio
libraries. I found that I installed double identical libraries in the root directoryC:OSGeo4W64lib
and the side directory libC:OSGeo4W64appsPython37lib
. After removing the side lib installation (using PyCharm), the problem was resolved. But your problem is not identical.
– Mr. Che
2 days ago
|
show 1 more comment
Since the update to PyCharm 2019 I am unable to load the QGIS Python modules.
I can not use auto completion either.
I already deleted the cache (by invalidating the cache in PyCharm and also by deleting the "system" folder in the user settings directory), nothing seems to work.
When starting the Python console inside of PyCharm and typing "import qgis.core", I get the following error:
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "C:Program FilesJetBrainsPyCharm Community Edition 2018.2.2helperspydev_pydev_bundlepydev_import_hook.py", line 21, in do_import
module = self._system_import(name, *args, **kwargs)
File "C:OSGEO4~1appsqgis-ltrpythonqgiscore__init__.py", line 27, in <module>
from qgis._core import *
File "C:Program FilesJetBrainsPyCharm Community Edition 2018.2.2helperspydev_pydev_bundlepydev_import_hook.py", line 21, in do_import
module = self._system_import(name, *args, **kwargs)
ImportError: DLL load failed: Das angegebene Modul wurde nicht gefunden.
Something seems to be broken, in PyCharm 2018.3 everything was ok. The sys.path environments and interpreter settings seem to be correct:
['C:\Program Files\JetBrains\PyCharm Community Edition '
'2018.2.2\helpers\pydev',
'C:\OSGEO4~1\apps\qgis-ltr\python',
'C:\OSGEO4~1\apps\qgis-ltr\python\plugins',
'C:\Program Files\JetBrains\PyCharm Community Edition '
'2018.2.2\helpers\third_party\thriftpy',
'C:\Program Files\JetBrains\PyCharm Community Edition '
'2018.2.2\helpers\pydev',
'C:\OSGeo4W64\apps\Python37\python37.zip',
'C:\OSGEO4~1\apps\Python37\DLLs',
'C:\OSGEO4~1\apps\Python37\lib',
'C:\OSGeo4W64\apps\Python37',
'C:\OSGEO4~1\apps\Python37',
'C:\OSGEO4~1\apps\Python37\lib\site-packages',
'C:\OSGEO4~1\apps\Python37\lib\site-packages\win32',
'C:\OSGEO4~1\apps\Python37\lib\site-packages\win32\lib',
'C:\OSGEO4~1\apps\Python37\lib\site-packages\Pythonwin']
Has anyone updated PyCharm to 2019 and can confirm this?
I also reinstalled the whole QGIS installation, but nothing seems to work.
It looks like the DLLs containing the stubs are incompatible now?
My bat for starting PyCharm looks like this:
@echo off
SET OSGEO4W_ROOT=C:OSGeo4W64
call "%OSGEO4W_ROOT%"bino4w_env.bat
call "%OSGEO4W_ROOT%"appsgrassgrass-7.4.2etcenv.bat
@echo off
path %PATH%;%OSGEO4W_ROOT%appsqgisbin
path %PATH%;%OSGEO4W_ROOT%appsgrassgrass-7.4.2lib
path %PATH%;%OSGEO4W_ROOT%appsQt5bin
path %PATH%;%OSGEO4W_ROOT%appsPython37Scripts
path %PATH%;C:Program FilesDockerDockerResourcesbin
path %PATH%;C:Program Files7-Zip
set QT_PLUGIN_PATH=C:OSGeo4W64appsQt5plugins
set PYTHONPATH=%PYTHONPATH%;%OSGEO4W_ROOT%appsqgis-ltrpython
set PYTHONPATH=%PYTHONPATH%;%OSGEO4W_ROOT%appsqgis-ltrpythonplugins
set PYTHONHOME=%OSGEO4W_ROOT%appsPython37
start "PyCharm aware of Quantum GIS" /B "C:Program FilesJetBrainsPyCharm Community Edition 2018.2.2binpycharm64.exe" %*
pyqgis pyqgis-3 windows-10 pycharm
Since the update to PyCharm 2019 I am unable to load the QGIS Python modules.
I can not use auto completion either.
I already deleted the cache (by invalidating the cache in PyCharm and also by deleting the "system" folder in the user settings directory), nothing seems to work.
When starting the Python console inside of PyCharm and typing "import qgis.core", I get the following error:
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "C:Program FilesJetBrainsPyCharm Community Edition 2018.2.2helperspydev_pydev_bundlepydev_import_hook.py", line 21, in do_import
module = self._system_import(name, *args, **kwargs)
File "C:OSGEO4~1appsqgis-ltrpythonqgiscore__init__.py", line 27, in <module>
from qgis._core import *
File "C:Program FilesJetBrainsPyCharm Community Edition 2018.2.2helperspydev_pydev_bundlepydev_import_hook.py", line 21, in do_import
module = self._system_import(name, *args, **kwargs)
ImportError: DLL load failed: Das angegebene Modul wurde nicht gefunden.
Something seems to be broken, in PyCharm 2018.3 everything was ok. The sys.path environments and interpreter settings seem to be correct:
['C:\Program Files\JetBrains\PyCharm Community Edition '
'2018.2.2\helpers\pydev',
'C:\OSGEO4~1\apps\qgis-ltr\python',
'C:\OSGEO4~1\apps\qgis-ltr\python\plugins',
'C:\Program Files\JetBrains\PyCharm Community Edition '
'2018.2.2\helpers\third_party\thriftpy',
'C:\Program Files\JetBrains\PyCharm Community Edition '
'2018.2.2\helpers\pydev',
'C:\OSGeo4W64\apps\Python37\python37.zip',
'C:\OSGEO4~1\apps\Python37\DLLs',
'C:\OSGEO4~1\apps\Python37\lib',
'C:\OSGeo4W64\apps\Python37',
'C:\OSGEO4~1\apps\Python37',
'C:\OSGEO4~1\apps\Python37\lib\site-packages',
'C:\OSGEO4~1\apps\Python37\lib\site-packages\win32',
'C:\OSGEO4~1\apps\Python37\lib\site-packages\win32\lib',
'C:\OSGEO4~1\apps\Python37\lib\site-packages\Pythonwin']
Has anyone updated PyCharm to 2019 and can confirm this?
I also reinstalled the whole QGIS installation, but nothing seems to work.
It looks like the DLLs containing the stubs are incompatible now?
My bat for starting PyCharm looks like this:
@echo off
SET OSGEO4W_ROOT=C:OSGeo4W64
call "%OSGEO4W_ROOT%"bino4w_env.bat
call "%OSGEO4W_ROOT%"appsgrassgrass-7.4.2etcenv.bat
@echo off
path %PATH%;%OSGEO4W_ROOT%appsqgisbin
path %PATH%;%OSGEO4W_ROOT%appsgrassgrass-7.4.2lib
path %PATH%;%OSGEO4W_ROOT%appsQt5bin
path %PATH%;%OSGEO4W_ROOT%appsPython37Scripts
path %PATH%;C:Program FilesDockerDockerResourcesbin
path %PATH%;C:Program Files7-Zip
set QT_PLUGIN_PATH=C:OSGeo4W64appsQt5plugins
set PYTHONPATH=%PYTHONPATH%;%OSGEO4W_ROOT%appsqgis-ltrpython
set PYTHONPATH=%PYTHONPATH%;%OSGEO4W_ROOT%appsqgis-ltrpythonplugins
set PYTHONHOME=%OSGEO4W_ROOT%appsPython37
start "PyCharm aware of Quantum GIS" /B "C:Program FilesJetBrainsPyCharm Community Edition 2018.2.2binpycharm64.exe" %*
pyqgis pyqgis-3 windows-10 pycharm
pyqgis pyqgis-3 windows-10 pycharm
edited 2 days ago
Vince
14.8k32849
14.8k32849
asked 2 days ago
TheGrudgeTheGrudge
584
584
Show me your*.bat
file that you use to run PyCharm, compatible with QGIS.
– Mr. Che
2 days ago
C:Program FilesJetBrainsPyCharm Community Edition 2018.2.2binpycharm64.exe
points to your new PyCharm 2019?
– Mr. Che
2 days ago
yes it does.. PyCharm is starting, but it seems to be unable to load the qgis DLLs
– TheGrudge
2 days ago
I tried to set the PYTHONHOME in C:OSGeo4W64etcinipython-core.bat to C:OSGeo4W64appsPython37 as well, but nothing seems to work.
– TheGrudge
2 days ago
I used to have such problems with DLLs, but with additionalasyncio
libraries. I found that I installed double identical libraries in the root directoryC:OSGeo4W64lib
and the side directory libC:OSGeo4W64appsPython37lib
. After removing the side lib installation (using PyCharm), the problem was resolved. But your problem is not identical.
– Mr. Che
2 days ago
|
show 1 more comment
Show me your*.bat
file that you use to run PyCharm, compatible with QGIS.
– Mr. Che
2 days ago
C:Program FilesJetBrainsPyCharm Community Edition 2018.2.2binpycharm64.exe
points to your new PyCharm 2019?
– Mr. Che
2 days ago
yes it does.. PyCharm is starting, but it seems to be unable to load the qgis DLLs
– TheGrudge
2 days ago
I tried to set the PYTHONHOME in C:OSGeo4W64etcinipython-core.bat to C:OSGeo4W64appsPython37 as well, but nothing seems to work.
– TheGrudge
2 days ago
I used to have such problems with DLLs, but with additionalasyncio
libraries. I found that I installed double identical libraries in the root directoryC:OSGeo4W64lib
and the side directory libC:OSGeo4W64appsPython37lib
. After removing the side lib installation (using PyCharm), the problem was resolved. But your problem is not identical.
– Mr. Che
2 days ago
Show me your
*.bat
file that you use to run PyCharm, compatible with QGIS.– Mr. Che
2 days ago
Show me your
*.bat
file that you use to run PyCharm, compatible with QGIS.– Mr. Che
2 days ago
C:Program FilesJetBrainsPyCharm Community Edition 2018.2.2binpycharm64.exe
points to your new PyCharm 2019?– Mr. Che
2 days ago
C:Program FilesJetBrainsPyCharm Community Edition 2018.2.2binpycharm64.exe
points to your new PyCharm 2019?– Mr. Che
2 days ago
yes it does.. PyCharm is starting, but it seems to be unable to load the qgis DLLs
– TheGrudge
2 days ago
yes it does.. PyCharm is starting, but it seems to be unable to load the qgis DLLs
– TheGrudge
2 days ago
I tried to set the PYTHONHOME in C:OSGeo4W64etcinipython-core.bat to C:OSGeo4W64appsPython37 as well, but nothing seems to work.
– TheGrudge
2 days ago
I tried to set the PYTHONHOME in C:OSGeo4W64etcinipython-core.bat to C:OSGeo4W64appsPython37 as well, but nothing seems to work.
– TheGrudge
2 days ago
I used to have such problems with DLLs, but with additional
asyncio
libraries. I found that I installed double identical libraries in the root directory C:OSGeo4W64lib
and the side directory lib C:OSGeo4W64appsPython37lib
. After removing the side lib installation (using PyCharm), the problem was resolved. But your problem is not identical.– Mr. Che
2 days ago
I used to have such problems with DLLs, but with additional
asyncio
libraries. I found that I installed double identical libraries in the root directory C:OSGeo4W64lib
and the side directory lib C:OSGeo4W64appsPython37lib
. After removing the side lib installation (using PyCharm), the problem was resolved. But your problem is not identical.– Mr. Che
2 days ago
|
show 1 more comment
2 Answers
2
active
oldest
votes
I use such *.cmd file (different than yours) to start PyCharm. Try to use it.
@ECHO off
set OSGEO4W_ROOT=C:OSGeo4W64
call "%OSGEO4W_ROOT%bino4w_env.bat"
call "%OSGEO4W_ROOT%binqt5_env.bat"
call "%OSGEO4W_ROOT%binpy3_env.bat"
path %OSGEO4W_ROOT%appsqgisbin;%PATH%
set QGIS_PREFIX_PATH=%OSGEO4W_ROOT%appsqgis
set GDAL_FILENAME_IS_UTF8=YES
set VSI_CACHE=TRUE
set VSI_CACHE_SIZE=1000000
set QT_PLUGIN_PATH=%OSGEO4W_ROOT%appsqgisqtplugins;%OSGEO4W_ROOT%appsqt5plugins
SET PYCHARM="C:Program FilesJetBrainsPyCharm Community Edition 2018.3binpycharm64.exe"
set PYTHONPATH=%OSGEO4W_ROOT%appsqgispython
set PYTHONHOME=%OSGEO4W_ROOT%appsPython37
set PYTHONPATH=%OSGEO4W_ROOT%appsPython37libsite-packages;%PYTHONPATH%
set QT_QPA_PLATFORM_PLUGIN_PATH=%OSGEO4W_ROOT%appsQt5pluginsplatforms
set QGIS_PREFIX_PATH=%OSGEO4W_ROOT%appsqgis
start "PyCharm aware of QGIS" /B %PYCHARM% %*
I took your bat file and only changed the path to pycharm, but unfortunately it is not working. I invalidated the cache again and re-indexed the project, but the QGIS imports are not working (the same DLL load error)
– TheGrudge
2 days ago
could this be a problem: PyDev console: starting. Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)] on win32 sys.platform 'win32' I've just seen that the python console seems to think it is running on win32
– TheGrudge
2 days ago
@user782457 Here is my python startup message (same as yours):PyDev console: starting. Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)] on win32
– Mr. Che
2 days ago
yeah I guess Python under Windows is not telling you the correct architecture, there seems to be other modules that can print the correct information. Anyway I installed QGIS 3.4.6 with the netinstaller and PyCharm 2019 on a new machine, and I'm still unable to load the DLLs. So it doesn't seem to be a problem with my installation.
– TheGrudge
yesterday
add a comment |
I have the same issue :
from PyQt5 import QtGui, QtWidgets, uic
ImportError: DLL load failed: Le module spécifié est introuvable.
from qgis.core import QgsVectorLayer
ImportError: DLL load failed: Le module spécifié est introuvable.
My configuration :
QGIS version 3.4.6-Madeira
PyCharm Community 2018.3
My .bat to run PyCharm :
@echo off
SET OSGEO4W_ROOT=C:Program FilesQGIS 3.4
SET PYCHARM="C:Program FilesJetBrainsPyCharm Community Edition 2018.2.6binpycharm.exe"
CALL %OSGEO4W_ROOT%bino4w_env.bat
CALL %OSGEO4W_ROOT%appsgrassgrass-7.0.5etcenv.bat
path %PATH%;%OSGEO4W_ROOT%appsqgisbin
path %PATH%;%OSGEO4W_ROOT%appsgrassgrass-7.0.5lib
SET PYTHONPATH=%PYTHONPATH%;%OSGEO4W_ROOT%appsbin
SET PYTHONPATH=%PYTHONPATH%;%OSGEO4W_ROOT%appsqgis
SET PYTHONPATH=%PYTHONPATH%;%OSGEO4W_ROOT%appsqgispython
SET PYTHONPATH=%PYTHONPATH%;%OSGEO4W_ROOT%appsPython37
SET PYTHONPATH=%PYTHONPATH%;%OSGEO4W_ROOT%appsPython37Scripts
SET PYTHONPATH=%PYTHONPATH%;%OSGEO4W_ROOT%appsPython37Lib
SET PYTHONPATH=%PYTHONPATH%;%OSGEO4W_ROOT%appsPython37Libsite-packages
SET PYTHONPATH=%PYTHONPATH%;%OSGEO4W_ROOT%appsPython37DLLs
SET PYTHONPATH=%PYTHONPATH%;%OSGEO4W_ROOT%appsqgis-ltrpython
SET QGIS_PREFIX_PATH=%OSGEO4W_ROOT%appsqgis
start "PyCharm aware of QGIS" /B %PYCHARM% %*
Any idea ?
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "79"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f317332%2fpycharm-2019-is-not-working-with-qgis-anymore%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
I use such *.cmd file (different than yours) to start PyCharm. Try to use it.
@ECHO off
set OSGEO4W_ROOT=C:OSGeo4W64
call "%OSGEO4W_ROOT%bino4w_env.bat"
call "%OSGEO4W_ROOT%binqt5_env.bat"
call "%OSGEO4W_ROOT%binpy3_env.bat"
path %OSGEO4W_ROOT%appsqgisbin;%PATH%
set QGIS_PREFIX_PATH=%OSGEO4W_ROOT%appsqgis
set GDAL_FILENAME_IS_UTF8=YES
set VSI_CACHE=TRUE
set VSI_CACHE_SIZE=1000000
set QT_PLUGIN_PATH=%OSGEO4W_ROOT%appsqgisqtplugins;%OSGEO4W_ROOT%appsqt5plugins
SET PYCHARM="C:Program FilesJetBrainsPyCharm Community Edition 2018.3binpycharm64.exe"
set PYTHONPATH=%OSGEO4W_ROOT%appsqgispython
set PYTHONHOME=%OSGEO4W_ROOT%appsPython37
set PYTHONPATH=%OSGEO4W_ROOT%appsPython37libsite-packages;%PYTHONPATH%
set QT_QPA_PLATFORM_PLUGIN_PATH=%OSGEO4W_ROOT%appsQt5pluginsplatforms
set QGIS_PREFIX_PATH=%OSGEO4W_ROOT%appsqgis
start "PyCharm aware of QGIS" /B %PYCHARM% %*
I took your bat file and only changed the path to pycharm, but unfortunately it is not working. I invalidated the cache again and re-indexed the project, but the QGIS imports are not working (the same DLL load error)
– TheGrudge
2 days ago
could this be a problem: PyDev console: starting. Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)] on win32 sys.platform 'win32' I've just seen that the python console seems to think it is running on win32
– TheGrudge
2 days ago
@user782457 Here is my python startup message (same as yours):PyDev console: starting. Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)] on win32
– Mr. Che
2 days ago
yeah I guess Python under Windows is not telling you the correct architecture, there seems to be other modules that can print the correct information. Anyway I installed QGIS 3.4.6 with the netinstaller and PyCharm 2019 on a new machine, and I'm still unable to load the DLLs. So it doesn't seem to be a problem with my installation.
– TheGrudge
yesterday
add a comment |
I use such *.cmd file (different than yours) to start PyCharm. Try to use it.
@ECHO off
set OSGEO4W_ROOT=C:OSGeo4W64
call "%OSGEO4W_ROOT%bino4w_env.bat"
call "%OSGEO4W_ROOT%binqt5_env.bat"
call "%OSGEO4W_ROOT%binpy3_env.bat"
path %OSGEO4W_ROOT%appsqgisbin;%PATH%
set QGIS_PREFIX_PATH=%OSGEO4W_ROOT%appsqgis
set GDAL_FILENAME_IS_UTF8=YES
set VSI_CACHE=TRUE
set VSI_CACHE_SIZE=1000000
set QT_PLUGIN_PATH=%OSGEO4W_ROOT%appsqgisqtplugins;%OSGEO4W_ROOT%appsqt5plugins
SET PYCHARM="C:Program FilesJetBrainsPyCharm Community Edition 2018.3binpycharm64.exe"
set PYTHONPATH=%OSGEO4W_ROOT%appsqgispython
set PYTHONHOME=%OSGEO4W_ROOT%appsPython37
set PYTHONPATH=%OSGEO4W_ROOT%appsPython37libsite-packages;%PYTHONPATH%
set QT_QPA_PLATFORM_PLUGIN_PATH=%OSGEO4W_ROOT%appsQt5pluginsplatforms
set QGIS_PREFIX_PATH=%OSGEO4W_ROOT%appsqgis
start "PyCharm aware of QGIS" /B %PYCHARM% %*
I took your bat file and only changed the path to pycharm, but unfortunately it is not working. I invalidated the cache again and re-indexed the project, but the QGIS imports are not working (the same DLL load error)
– TheGrudge
2 days ago
could this be a problem: PyDev console: starting. Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)] on win32 sys.platform 'win32' I've just seen that the python console seems to think it is running on win32
– TheGrudge
2 days ago
@user782457 Here is my python startup message (same as yours):PyDev console: starting. Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)] on win32
– Mr. Che
2 days ago
yeah I guess Python under Windows is not telling you the correct architecture, there seems to be other modules that can print the correct information. Anyway I installed QGIS 3.4.6 with the netinstaller and PyCharm 2019 on a new machine, and I'm still unable to load the DLLs. So it doesn't seem to be a problem with my installation.
– TheGrudge
yesterday
add a comment |
I use such *.cmd file (different than yours) to start PyCharm. Try to use it.
@ECHO off
set OSGEO4W_ROOT=C:OSGeo4W64
call "%OSGEO4W_ROOT%bino4w_env.bat"
call "%OSGEO4W_ROOT%binqt5_env.bat"
call "%OSGEO4W_ROOT%binpy3_env.bat"
path %OSGEO4W_ROOT%appsqgisbin;%PATH%
set QGIS_PREFIX_PATH=%OSGEO4W_ROOT%appsqgis
set GDAL_FILENAME_IS_UTF8=YES
set VSI_CACHE=TRUE
set VSI_CACHE_SIZE=1000000
set QT_PLUGIN_PATH=%OSGEO4W_ROOT%appsqgisqtplugins;%OSGEO4W_ROOT%appsqt5plugins
SET PYCHARM="C:Program FilesJetBrainsPyCharm Community Edition 2018.3binpycharm64.exe"
set PYTHONPATH=%OSGEO4W_ROOT%appsqgispython
set PYTHONHOME=%OSGEO4W_ROOT%appsPython37
set PYTHONPATH=%OSGEO4W_ROOT%appsPython37libsite-packages;%PYTHONPATH%
set QT_QPA_PLATFORM_PLUGIN_PATH=%OSGEO4W_ROOT%appsQt5pluginsplatforms
set QGIS_PREFIX_PATH=%OSGEO4W_ROOT%appsqgis
start "PyCharm aware of QGIS" /B %PYCHARM% %*
I use such *.cmd file (different than yours) to start PyCharm. Try to use it.
@ECHO off
set OSGEO4W_ROOT=C:OSGeo4W64
call "%OSGEO4W_ROOT%bino4w_env.bat"
call "%OSGEO4W_ROOT%binqt5_env.bat"
call "%OSGEO4W_ROOT%binpy3_env.bat"
path %OSGEO4W_ROOT%appsqgisbin;%PATH%
set QGIS_PREFIX_PATH=%OSGEO4W_ROOT%appsqgis
set GDAL_FILENAME_IS_UTF8=YES
set VSI_CACHE=TRUE
set VSI_CACHE_SIZE=1000000
set QT_PLUGIN_PATH=%OSGEO4W_ROOT%appsqgisqtplugins;%OSGEO4W_ROOT%appsqt5plugins
SET PYCHARM="C:Program FilesJetBrainsPyCharm Community Edition 2018.3binpycharm64.exe"
set PYTHONPATH=%OSGEO4W_ROOT%appsqgispython
set PYTHONHOME=%OSGEO4W_ROOT%appsPython37
set PYTHONPATH=%OSGEO4W_ROOT%appsPython37libsite-packages;%PYTHONPATH%
set QT_QPA_PLATFORM_PLUGIN_PATH=%OSGEO4W_ROOT%appsQt5pluginsplatforms
set QGIS_PREFIX_PATH=%OSGEO4W_ROOT%appsqgis
start "PyCharm aware of QGIS" /B %PYCHARM% %*
answered 2 days ago
Mr. CheMr. Che
1,589528
1,589528
I took your bat file and only changed the path to pycharm, but unfortunately it is not working. I invalidated the cache again and re-indexed the project, but the QGIS imports are not working (the same DLL load error)
– TheGrudge
2 days ago
could this be a problem: PyDev console: starting. Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)] on win32 sys.platform 'win32' I've just seen that the python console seems to think it is running on win32
– TheGrudge
2 days ago
@user782457 Here is my python startup message (same as yours):PyDev console: starting. Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)] on win32
– Mr. Che
2 days ago
yeah I guess Python under Windows is not telling you the correct architecture, there seems to be other modules that can print the correct information. Anyway I installed QGIS 3.4.6 with the netinstaller and PyCharm 2019 on a new machine, and I'm still unable to load the DLLs. So it doesn't seem to be a problem with my installation.
– TheGrudge
yesterday
add a comment |
I took your bat file and only changed the path to pycharm, but unfortunately it is not working. I invalidated the cache again and re-indexed the project, but the QGIS imports are not working (the same DLL load error)
– TheGrudge
2 days ago
could this be a problem: PyDev console: starting. Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)] on win32 sys.platform 'win32' I've just seen that the python console seems to think it is running on win32
– TheGrudge
2 days ago
@user782457 Here is my python startup message (same as yours):PyDev console: starting. Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)] on win32
– Mr. Che
2 days ago
yeah I guess Python under Windows is not telling you the correct architecture, there seems to be other modules that can print the correct information. Anyway I installed QGIS 3.4.6 with the netinstaller and PyCharm 2019 on a new machine, and I'm still unable to load the DLLs. So it doesn't seem to be a problem with my installation.
– TheGrudge
yesterday
I took your bat file and only changed the path to pycharm, but unfortunately it is not working. I invalidated the cache again and re-indexed the project, but the QGIS imports are not working (the same DLL load error)
– TheGrudge
2 days ago
I took your bat file and only changed the path to pycharm, but unfortunately it is not working. I invalidated the cache again and re-indexed the project, but the QGIS imports are not working (the same DLL load error)
– TheGrudge
2 days ago
could this be a problem: PyDev console: starting. Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)] on win32 sys.platform 'win32' I've just seen that the python console seems to think it is running on win32
– TheGrudge
2 days ago
could this be a problem: PyDev console: starting. Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)] on win32 sys.platform 'win32' I've just seen that the python console seems to think it is running on win32
– TheGrudge
2 days ago
@user782457 Here is my python startup message (same as yours):
PyDev console: starting. Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)] on win32
– Mr. Che
2 days ago
@user782457 Here is my python startup message (same as yours):
PyDev console: starting. Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)] on win32
– Mr. Che
2 days ago
yeah I guess Python under Windows is not telling you the correct architecture, there seems to be other modules that can print the correct information. Anyway I installed QGIS 3.4.6 with the netinstaller and PyCharm 2019 on a new machine, and I'm still unable to load the DLLs. So it doesn't seem to be a problem with my installation.
– TheGrudge
yesterday
yeah I guess Python under Windows is not telling you the correct architecture, there seems to be other modules that can print the correct information. Anyway I installed QGIS 3.4.6 with the netinstaller and PyCharm 2019 on a new machine, and I'm still unable to load the DLLs. So it doesn't seem to be a problem with my installation.
– TheGrudge
yesterday
add a comment |
I have the same issue :
from PyQt5 import QtGui, QtWidgets, uic
ImportError: DLL load failed: Le module spécifié est introuvable.
from qgis.core import QgsVectorLayer
ImportError: DLL load failed: Le module spécifié est introuvable.
My configuration :
QGIS version 3.4.6-Madeira
PyCharm Community 2018.3
My .bat to run PyCharm :
@echo off
SET OSGEO4W_ROOT=C:Program FilesQGIS 3.4
SET PYCHARM="C:Program FilesJetBrainsPyCharm Community Edition 2018.2.6binpycharm.exe"
CALL %OSGEO4W_ROOT%bino4w_env.bat
CALL %OSGEO4W_ROOT%appsgrassgrass-7.0.5etcenv.bat
path %PATH%;%OSGEO4W_ROOT%appsqgisbin
path %PATH%;%OSGEO4W_ROOT%appsgrassgrass-7.0.5lib
SET PYTHONPATH=%PYTHONPATH%;%OSGEO4W_ROOT%appsbin
SET PYTHONPATH=%PYTHONPATH%;%OSGEO4W_ROOT%appsqgis
SET PYTHONPATH=%PYTHONPATH%;%OSGEO4W_ROOT%appsqgispython
SET PYTHONPATH=%PYTHONPATH%;%OSGEO4W_ROOT%appsPython37
SET PYTHONPATH=%PYTHONPATH%;%OSGEO4W_ROOT%appsPython37Scripts
SET PYTHONPATH=%PYTHONPATH%;%OSGEO4W_ROOT%appsPython37Lib
SET PYTHONPATH=%PYTHONPATH%;%OSGEO4W_ROOT%appsPython37Libsite-packages
SET PYTHONPATH=%PYTHONPATH%;%OSGEO4W_ROOT%appsPython37DLLs
SET PYTHONPATH=%PYTHONPATH%;%OSGEO4W_ROOT%appsqgis-ltrpython
SET QGIS_PREFIX_PATH=%OSGEO4W_ROOT%appsqgis
start "PyCharm aware of QGIS" /B %PYCHARM% %*
Any idea ?
add a comment |
I have the same issue :
from PyQt5 import QtGui, QtWidgets, uic
ImportError: DLL load failed: Le module spécifié est introuvable.
from qgis.core import QgsVectorLayer
ImportError: DLL load failed: Le module spécifié est introuvable.
My configuration :
QGIS version 3.4.6-Madeira
PyCharm Community 2018.3
My .bat to run PyCharm :
@echo off
SET OSGEO4W_ROOT=C:Program FilesQGIS 3.4
SET PYCHARM="C:Program FilesJetBrainsPyCharm Community Edition 2018.2.6binpycharm.exe"
CALL %OSGEO4W_ROOT%bino4w_env.bat
CALL %OSGEO4W_ROOT%appsgrassgrass-7.0.5etcenv.bat
path %PATH%;%OSGEO4W_ROOT%appsqgisbin
path %PATH%;%OSGEO4W_ROOT%appsgrassgrass-7.0.5lib
SET PYTHONPATH=%PYTHONPATH%;%OSGEO4W_ROOT%appsbin
SET PYTHONPATH=%PYTHONPATH%;%OSGEO4W_ROOT%appsqgis
SET PYTHONPATH=%PYTHONPATH%;%OSGEO4W_ROOT%appsqgispython
SET PYTHONPATH=%PYTHONPATH%;%OSGEO4W_ROOT%appsPython37
SET PYTHONPATH=%PYTHONPATH%;%OSGEO4W_ROOT%appsPython37Scripts
SET PYTHONPATH=%PYTHONPATH%;%OSGEO4W_ROOT%appsPython37Lib
SET PYTHONPATH=%PYTHONPATH%;%OSGEO4W_ROOT%appsPython37Libsite-packages
SET PYTHONPATH=%PYTHONPATH%;%OSGEO4W_ROOT%appsPython37DLLs
SET PYTHONPATH=%PYTHONPATH%;%OSGEO4W_ROOT%appsqgis-ltrpython
SET QGIS_PREFIX_PATH=%OSGEO4W_ROOT%appsqgis
start "PyCharm aware of QGIS" /B %PYCHARM% %*
Any idea ?
add a comment |
I have the same issue :
from PyQt5 import QtGui, QtWidgets, uic
ImportError: DLL load failed: Le module spécifié est introuvable.
from qgis.core import QgsVectorLayer
ImportError: DLL load failed: Le module spécifié est introuvable.
My configuration :
QGIS version 3.4.6-Madeira
PyCharm Community 2018.3
My .bat to run PyCharm :
@echo off
SET OSGEO4W_ROOT=C:Program FilesQGIS 3.4
SET PYCHARM="C:Program FilesJetBrainsPyCharm Community Edition 2018.2.6binpycharm.exe"
CALL %OSGEO4W_ROOT%bino4w_env.bat
CALL %OSGEO4W_ROOT%appsgrassgrass-7.0.5etcenv.bat
path %PATH%;%OSGEO4W_ROOT%appsqgisbin
path %PATH%;%OSGEO4W_ROOT%appsgrassgrass-7.0.5lib
SET PYTHONPATH=%PYTHONPATH%;%OSGEO4W_ROOT%appsbin
SET PYTHONPATH=%PYTHONPATH%;%OSGEO4W_ROOT%appsqgis
SET PYTHONPATH=%PYTHONPATH%;%OSGEO4W_ROOT%appsqgispython
SET PYTHONPATH=%PYTHONPATH%;%OSGEO4W_ROOT%appsPython37
SET PYTHONPATH=%PYTHONPATH%;%OSGEO4W_ROOT%appsPython37Scripts
SET PYTHONPATH=%PYTHONPATH%;%OSGEO4W_ROOT%appsPython37Lib
SET PYTHONPATH=%PYTHONPATH%;%OSGEO4W_ROOT%appsPython37Libsite-packages
SET PYTHONPATH=%PYTHONPATH%;%OSGEO4W_ROOT%appsPython37DLLs
SET PYTHONPATH=%PYTHONPATH%;%OSGEO4W_ROOT%appsqgis-ltrpython
SET QGIS_PREFIX_PATH=%OSGEO4W_ROOT%appsqgis
start "PyCharm aware of QGIS" /B %PYCHARM% %*
Any idea ?
I have the same issue :
from PyQt5 import QtGui, QtWidgets, uic
ImportError: DLL load failed: Le module spécifié est introuvable.
from qgis.core import QgsVectorLayer
ImportError: DLL load failed: Le module spécifié est introuvable.
My configuration :
QGIS version 3.4.6-Madeira
PyCharm Community 2018.3
My .bat to run PyCharm :
@echo off
SET OSGEO4W_ROOT=C:Program FilesQGIS 3.4
SET PYCHARM="C:Program FilesJetBrainsPyCharm Community Edition 2018.2.6binpycharm.exe"
CALL %OSGEO4W_ROOT%bino4w_env.bat
CALL %OSGEO4W_ROOT%appsgrassgrass-7.0.5etcenv.bat
path %PATH%;%OSGEO4W_ROOT%appsqgisbin
path %PATH%;%OSGEO4W_ROOT%appsgrassgrass-7.0.5lib
SET PYTHONPATH=%PYTHONPATH%;%OSGEO4W_ROOT%appsbin
SET PYTHONPATH=%PYTHONPATH%;%OSGEO4W_ROOT%appsqgis
SET PYTHONPATH=%PYTHONPATH%;%OSGEO4W_ROOT%appsqgispython
SET PYTHONPATH=%PYTHONPATH%;%OSGEO4W_ROOT%appsPython37
SET PYTHONPATH=%PYTHONPATH%;%OSGEO4W_ROOT%appsPython37Scripts
SET PYTHONPATH=%PYTHONPATH%;%OSGEO4W_ROOT%appsPython37Lib
SET PYTHONPATH=%PYTHONPATH%;%OSGEO4W_ROOT%appsPython37Libsite-packages
SET PYTHONPATH=%PYTHONPATH%;%OSGEO4W_ROOT%appsPython37DLLs
SET PYTHONPATH=%PYTHONPATH%;%OSGEO4W_ROOT%appsqgis-ltrpython
SET QGIS_PREFIX_PATH=%OSGEO4W_ROOT%appsqgis
start "PyCharm aware of QGIS" /B %PYCHARM% %*
Any idea ?
answered yesterday
QuentinRQuentinR
242
242
add a comment |
add a comment |
Thanks for contributing an answer to Geographic Information Systems Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f317332%2fpycharm-2019-is-not-working-with-qgis-anymore%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Show me your
*.bat
file that you use to run PyCharm, compatible with QGIS.– Mr. Che
2 days ago
C:Program FilesJetBrainsPyCharm Community Edition 2018.2.2binpycharm64.exe
points to your new PyCharm 2019?– Mr. Che
2 days ago
yes it does.. PyCharm is starting, but it seems to be unable to load the qgis DLLs
– TheGrudge
2 days ago
I tried to set the PYTHONHOME in C:OSGeo4W64etcinipython-core.bat to C:OSGeo4W64appsPython37 as well, but nothing seems to work.
– TheGrudge
2 days ago
I used to have such problems with DLLs, but with additional
asyncio
libraries. I found that I installed double identical libraries in the root directoryC:OSGeo4W64lib
and the side directory libC:OSGeo4W64appsPython37lib
. After removing the side lib installation (using PyCharm), the problem was resolved. But your problem is not identical.– Mr. Che
2 days ago