Skip to main content

Questions tagged [pycharm]

A Python Integrated Development Environment (IDE)

-1 votes
0 answers
23 views

'ImportError: attempted relative import with no known parent package' when QGIS-Plugin code running in PyCharm

I have created a 'raw' plugin with the pluginbuilder. The structure is as follows: It runs perfectly when opened in QGIS. However, when I open the plugin-folder as a pycharm project and run the ...
i.i.k.'s user avatar
  • 1,753
0 votes
1 answer
64 views

PyCharm couldn't connect to console (QGIS)

I am trying to set up PyCharm on Windows. I created a new env from C:/Program Files/QGIS 3.34.3/bin/python-qgis.bat When opening the project I get this error in the Python Console "C:\Program ...
Max's user avatar
  • 11
0 votes
0 answers
15 views

Unable to setup PyCharm Geo Viewer, enable JCEF setting unavailable

Has anyone used the geo viewer in PyCharm? I was looking for an equivalent to the VS Code geo data viewer extension and found this documentation. However, when following the steps I cannot find the ...
William Etzler's user avatar
0 votes
0 answers
35 views

Using qgis-stubs in pycharm

I downloaded and installed qgis-stubs 0.2.0 in QGIS 3.22.3. For development I am using pycharm. How do I use qgis-stubs module in pycharm?
VSR's user avatar
  • 53
1 vote
0 answers
80 views

QGis plugin: problems after updating resources.qrc file with QtDesigner - No module named 'resources_rc'

I'm developing a plugin for QGIS 3.32.3 with Python 3.9, starting from a base created with Plugin Builder 3, but after modifying the resources.qrc file with QtDesigner, the plugin is no longer loaded ...
Wolverine's user avatar
0 votes
1 answer
112 views

Running GRASS GIS from PyCharm

I follow the Working_with_GRASS_without_starting_it_explicitly with GRASS 7.8.8 (2023), but it did not work as intended. The Python line "gs.message" runs, but the line "gs.run_command('...
Pablo Sanhueza's user avatar
0 votes
2 answers
42 views

Use the EucDistance function of ArcPy in PyCharm

I failed to calculate the Euclidean distance with the EucDistance function in the PyCharm. The codes are as follows. import arcpy from arcpy import env from arcpy.sa import * arcpy.env.overwriteOutput ...
zongxu li's user avatar
0 votes
0 answers
73 views

WMS layer can't load - conflict QGIS/PyCharm?

I have been struggling for some days to find a solution. I wrote a script which work pretty well in the QGIS python console. This script is using different layer, SHP and WMS. I am trying to use this ...
Tena's user avatar
  • 1
0 votes
1 answer
92 views

Replacing the built-in script editor from QGIS with my own IDE (PyCharm)

I have to do some scripting with pyqgis and would like to do this in my IDE 'PyCharm'. So I have set my python interpreter to the path C:/ProgramFiles/QGIS 3.28.3/bin/python-qgis.bat, so I can use the ...
i.i.k.'s user avatar
  • 1,753
0 votes
1 answer
131 views

PyQGIS: running PyQGIS-script in Pycharm doesn't update map view-Refresh?

I have tried to setup my PyQGIS development environment to use PyCharm, by opening my script in Pycharm, then change the python interpreter to the path C:/ProgramFiles/QGIS 3.28.3/bin/python-qgis.bat (...
i.i.k.'s user avatar
  • 1,753
2 votes
1 answer
247 views

Having trouble adding a layer from a Geodatabase using ArcPy

I have been working on a project and have gotten to the following point: I have been able to create a Feature Class, here named GeocodedDonationLocations. This was successfully done with arcpy....
XanderXombie's user avatar
2 votes
0 answers
374 views

Setup QGIS in PyCharm

I had been working with PyCharm 2019 with QGIS, and the setup was working fine, Now I've upgraded PyCharm to 2022.2.4 Pro, and QGIS core modules are not able import. Here is my bat file. I am using ...
VSR's user avatar
  • 53
1 vote
3 answers
755 views

Running SAGA tools from Pycharm standalone QGIS (PyQGIS)

I am trying to run SAGA through the Python interface of QGIS. So far I have worked with only Native QGIS, and below code works for native. I would like to use SAGA fromout the same script, but am ...
RickB's user avatar
  • 13
0 votes
2 answers
472 views

A Python Script that runs without issue in ArcGIS Pro fails in PyCharm

I have created a script in ArcGIS Pro to delete and copy some datasets from one location to another. It works flawlessly when run through ArcGIS Pro. When I attempt to run the script in PyCharm, ...
Matt Beal's user avatar
3 votes
1 answer
540 views

Connect QGIS with PyCharm

I don't get the concept of developing with Python in QGIS. There is a Tutorial in the QGIS docs how to setup PyCharm for developing standalone scripts or how to develop custom applications. The first ...
Jim Panse's user avatar
  • 203

15 30 50 per page
1
2 3 4 5
10