Questions tagged [pycharm]

A Python Integrated Development Environment (IDE)

Filter by
Sorted by
Tagged with
13
votes
5answers
14k views

Setting up PyCharm to reference ArcPy?

How would I setup PyCharm to recognize import arcpy? I'd like to use PyCharm to develop and debug geoprocessing tool.
4
votes
1answer
3k views

Understanding qgis.core import error: no module named qgis.core?

I searched all the same questions, and none of them works for me, so i decided to ask this question in addition to those: I installed QGIS 2.18 via this downloaded setup 'QGIS-OSGeo4W-2.18.11-1-Setup-...
14
votes
6answers
1k views

PyCharm 2019 is not working with QGIS anymore

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 ...
11
votes
3answers
16k views

Fixing “The SDK seems invalid” error when setting up PyCharm and PyQGIS?

I wanted to set up PyCharm the way this blog post explains: Setting up PyCharm for PyQGIS and Qt. I did everything as instructed but when it comes to adding project interpreters I got this error ...
0
votes
0answers
40 views

Process finished with exit code -1073741819 (0xC0000005) from RegionGroup (ArcGIS 10.7)

I'm trying to automate my work using ArcPy in PyCharm on Windows. However, when I run the following (abridged) loop, it exits at random points: sometimes at the 4th iteration, sometimes at the 31st, ...
2
votes
1answer
2k views

IDE (PyCharm) settings for developing with Processing in Linux (Ubuntu)

How to setup Python interpreter in IDE to develop using Processing module? I need this not for running from IDE, but to have tips about classes, methods, arguments etc. IDE: PyCharm 2016.3 (but ...
6
votes
1answer
2k views

Using PyCharm with QGIS 3?

I've just changed to QGIS 3 and I can't figure out why I can't change from Python 2.7 to Python 3.6 in PyCharm, keep getting invalid SDK! I run this .bat-file: SET OSGEO4W_ROOT=C:\OSGeo4W64 SET ...
6
votes
1answer
2k views

Adding QGIS-specific Python interpreter to PyCharm on Windows?

I am having trouble adding a QGIS-specific Python interpreter to PyCharm. Ideally, I would like to be able to switch between both Python2 and Python3 in PyCharm. I thought this might be possible by ...
2
votes
1answer
349 views

Executing a voronoi polygon to a shapefile With Pycharm

I'm trying to get a voronoi polygon from points using Pycharm. I've tried: processing.runalg("qgis:voronoipolygons", file ,1, "C:\Voronoi.shp" ) but it doesn't work. It works in the python console ...
1
vote
1answer
400 views

ArcPy 64bit giving 0xC0000005 error with PyCharm

I have a simple script, which converts raster to shapefile and merges all the shapefiles. It does not really matter. The execution is fine, everything finishes but: I am using PyCharm Community 2018....
0
votes
1answer
60 views

Importing ArcPy in PyCharm?

>>> import arcpy Traceback (most recent call last): File "<stdin>", line 1, in <module> File "D:\Program Files (x86)\ArcGIS10.5\Desktop10.5\ArcPy\arcpy\__init__.py", line 22, ...