A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

Questions tagged [pycharm]

A Python Integrated Development Environment (IDE)

Filter by
Sorted by
Tagged with
1
vote
2answers
704 views

QGIS standalone application, problem with prefix path

I am trying to create a standalone application of QGIS in PyCharm. My code is: app = QgsApplication([], True) app.setPrefixPath("usr/lib/qgis/plugins", True) app.initQgis() canvas = QgsMapCanvas() ...
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-...
2
votes
1answer
136 views

PyQGIS equivalent for ArcPy ListFields

I just started using PyQGIS and I am not familiar with many of the commands. In ArcPy, you can use the command arcpy.ListFields to print out the fields present in a shapefile. I'm wondering if there ...
6
votes
1answer
1k views

How is Python IDE aware of ArcPy?

I am using PyCharm 4 for some Python scripting. When I type: import arcpy I can immediately start using items within the arcpy namespace, like the environment & workspace objects. How does ...
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 ...
0
votes
1answer
484 views

Running custom model via ArcPy with PyCharm fails with exit code -1073741819 (0xC0000005)?

I'm trying to geocode a few address using a custom model created. When running the model via model builder all runs perfectly. Also when running it via the embedded interactive python console in ...
-1
votes
1answer
413 views

Pycharm Couldn't recognise QGIS 2.8.11's python 2.7.5 packaging tools. win 7

using "C:\Program Files\QGIS 2.18\bin\python.exe" for my project interpreter in pycharm and, path variables as : PYTHONHOME = "C:\Program Files\QGIS 2.18\bin" PYTHONPATH = "C:\Program Files\QGIS 2.18\...
2
votes
0answers
368 views

Unable to run scripts with arcpy using ArcGIS Pro and Pycharm?

I have installed ArcGIS Pro 2.0 which runs Python 3.5.3. I am trying to get started with the Arcpy library using the IDE PyCharm. I started a new project and pointed to the python file of the ArcGIS ...
7
votes
2answers
3k views

How to define pycharm to understand PYQGIS and GDAL

I use pyqgis in standalone apps and I have defined paths in Windows and Python paths to take python API from outside QGIS. I have created some simple tools using pygis and GDAL in standalone script ...
1
vote
0answers
153 views

Configuring PyCharm for QGIS in OS X?

Can anyone point me to instructions for setting up PyCharm (or any IDE) on OS X to run QGIS for building standalone scripts/applications? I have seen many tutorials for Windows, but nothing out ...
2
votes
2answers
2k views

Running and debugging PyQGIS scripts in PyCharm Community Edition?

I am working with creating plugins for QGIS 2.4.0 (Chugiak). I am curious to know how I can write the codes, and debug them in the environment I am comfortable in, i.e. PyCharm Community Edition 3.4.1....
0
votes
0answers
246 views

pyqgis error messages using PYCHARM

I use pyqgis in standalone app using python 2.7 in windows 10. I have create some scripts using python idle and work fine without some errors or messages. Now I try to use pyqgis using pycharm ...
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 ...
1
vote
1answer
867 views

Autocomplete not working for ArcPy in PyCharm

I'm trying to set up auto complete for ArcPy in PyCharm, but while submodules seem to have auto complete suggestions, the ArcPy module itself doesn't have completions provided. Example of ...
2
votes
1answer
393 views

Attempting to run first script after setting up environment for QGIS and python?

I uninstalled arcmap and all existing python installations. Then I followed the instructions from https://www.youtube.com/watch?v=Chq9fTRKsHk&t=2s to install qgis and set the environment variables....
1
vote
1answer
436 views

Error when running Split by Attributes tool from arcpy- arcgisscripting.ExecuteError: 'str' object has no attribute 'polygon' -

I am trying to use the Split by Attributes tool in arcpy to split a shapefile with 18 point features into 18 separate shapefiles. It works as expected in ArcGIS Pro, but when I run the following ...
1
vote
1answer
241 views

Running PyQGIS script in pycharm?

I did this script in Pycharm and I don't know why python show me this wrong: QObject::connect: Cannot connect (null)::raiseError( QString ) to QgsVectorLayer::raiseError( QString ) My script below: ...
-1
votes
1answer
358 views

ArcGIS pro import modules error

I am currently using python 3.5 interpreter to run pycharm and ArcGIS Pro version 1.1. But my pycharm is unable to recognize the arcpy package settings and throwing me an error showing underline. Can ...
1
vote
0answers
169 views

Arcpy and pyqgis on same IDE [closed]

I have question: is it possible to set up arcpy and pyqgis on the same IDE (I use Pycharm). I have some problem with running my pyqgis scripts from pycharm. When I first configure Pycharm to recognize ...
-1
votes
1answer
378 views

Fiona error on installation [closed]

Receiving the following error when installing Fiona.Does anyone can guide ? error: Unable to find vcvarsall.bat
1
vote
1answer
641 views

Python new packages installation with ArcGIS interpreter?

I would like to introduce some functions derived from scipyin my code. Since I also need arcpy, I use the Interpreter installed inside ArcGIS, whose directory is: (C:\Python27\ArcGIS10.3\python.exe). ...
3
votes
0answers
472 views

Pycharm cannot find reference 'SearchCursor' in 'arcpy.da' [duplicate]

Whenever I try to use a search cursor from arcpy in pycharm, I get this unresolved reference error. I should note that it was working fine earlier in the night, I have no idea what happened. I've ...
3
votes
0answers
441 views

PyQGIS with Pycharm CE 4.5

I'm able to run PyQGIS on my Mac (OSX 10.10.3) through the Python (2.7) console and through execution of Python files through my terminal. In order to do so, I added the following to my bash_profile: ...
0
votes
1answer
518 views

Reading shapefile directory in Python? [closed]

I am developing tool on ArcGIS ArcMap 10.0 with .NET and Python technology. In TOPOTORASTER tool , I give a line feature class. the line feature class path something like this: inputOne = "C:\Users\...
1
vote
2answers
133 views

Update Cursor keeps Crashing and Skipping

I use a 3rd party software that exports the name of JPEG as I collect points, in this case street signs. I know the names stay static and are all unique but different features may have the same JPEG (...
5
votes
0answers
554 views

Setting up PyCharm CE 4 to work with PyQGIS library in Mac OS

I am trying to set up pycharm to work with pyQgis library but with not success till now. I am using PyCharm CE v4 and QGIS version 2.8 I have tried to implemnte the instructions of several posts like ...