I want to develop a plugin gor QGIS3. I downloaded Osgeo4w network installer 64Bit. I created a bat file as following for set my environment variables;
@echo off call "%~dp0\o4w_env.bat" call qt5_env.bat call py3_env.bat @echo off path %OSGEO4W_ROOT%\apps\qgis\bin;%PATH% set QGIS_PREFIX_PATH=%OSGEO4W_ROOT:\=/%/apps/qgis set GDAL_FILENAME_IS_UTF8=YES rem Set VSI cache to be used as buffer, see #6448 set VSI_CACHE=TRUE set VSI_CACHE_SIZE=1000000 set QT_PLUGIN_PATH=%OSGEO4W_ROOT%\apps\qgis\qtplugins;%OSGEO4W_ROOT%\apps\qt5\plugins start "QGIS" /B "%OSGEO4W_ROOT%\bin\qgis-bin.exe" %* SET PYCHARM="C:\Program Files\JetBrains\PyCharm Community Edition 2018.2.5\bin\pycharm.exe" start "PyCharm aware of QGIS" /B %PYCHARM% %*
But when I try to add interpreter to my project in pycharm it gives the following error:
What am I doing wrong? When I try sys.path from QGIS3 console it gives the path like this :
I read about this situation from other posts but they did not solve my problem.