Questions tagged [conda]

With conda, you can create, export, list, remove, and update environments that have different versions of Python and/or packages installed in them.

Filter by
Sorted by
Tagged with
0 votes
0 answers
29 views

GDAL errors with conda installation

I installed gdal using conda (Windows) with 'conda create -n pygeo gdal h5py python=3.8'. After activating with conda activate pygeo, and attempting to write out a geotiff using gdal_translate, I get ...
user avatar
0 votes
0 answers
22 views

Unable to install r-lidr on MacOS with conda

I am unable to get https://anaconda.org/conda-forge/r-lidr installed on MacOS Monterey 12.2.1 with conda 4.11.0. This is my environment.yml: name: r-lidr-test channels: - conda-forge - nodefaults ...
user avatar
1 vote
0 answers
76 views

Why can't I import QGIS module in PyCharm

I have used the following command-line successfully (python3.7) conda install -c conda-forge qgis and I'm able to import the qgis-python module by import qgis in IPython. However, when I tried to ...
user avatar
0 votes
1 answer
130 views

Running GDAL processing tools from QGIS in conda environment

I am trying to run Polygonize (Raster to Vector) from QGIS 3.18.3-Zürich inside a conda environment. When running the command, I encountered the following error. Process gdal_polygonize.bat failed to ...
user avatar
0 votes
1 answer
47 views

QGIS from conda-forge won't open on OSX 11.6 (Big Sur)

Installing QGIS using conda and conda-forge works really well on Windows and Linux (it includes a file driver not normally included with other installs), but for some reason on my MacBook QGIS won't ...
user avatar
  • 1
2 votes
0 answers
49 views

QGIS 3.20 cannot launch on desktop after changing the environmental variable

I installed QGIS 3.20 and changed the environmental variable to append PYTHONHOME to a miniconda environment. After that, I cannot launch QGIS desktop again. The welcome picture flashes, and after &...
user avatar
2 votes
0 answers
85 views

Using PDAL in custom QGIS plugin

Is there a way to use PDAL in the custom QGIS plugin without conda (especially in Windows)? The only solution I'm using now is conda environment activation and launching QGIS from this environment ...
user avatar
0 votes
0 answers
116 views

No module named 'qgis.server' in Anaconda

I have a Anaconda with Python 3.7 in Win 10 and install qgis with the command: conda install -c conda-forge qgis When I try to use python console in qgis, I type in the script: from qgis.server import ...
user avatar
  • 1
0 votes
2 answers
570 views

Bundling Conda environment in with .exe for ArcPy

I'm a beginner in Python. I don't believe this is a duplicate question, because the other questions seem to be concerned with starting a conda environment within a command line. I want it to happen on ...
user avatar
  • 55
0 votes
1 answer
355 views

Cannot authenticate Earth Engine on Mac OSX

Fresh install of Mac OSX Catalina (v10.15.7) Running Anaconda 3 and Python 3.8.10 I install the EE Python API client by doing: conda install earthengine-api Install is successful I then try to ...
user avatar
  • 138
1 vote
0 answers
53 views

Environment setup in custom QGis plugin

I'm doing a plugin based on conda with 3rd party libraries. Is there a way to let users install all the dependencies at the same time when plugin is installing in QGis?
user avatar
3 votes
0 answers
216 views

ArcGIS Pro Broken Conda Environment

I recently tried to install geopandas and shapely into my ArcGIS Pro Python 3.7 environment, but instead of utilizing the package manager within Pro, I foolishly tried to conda install into the base ...
user avatar
2 votes
0 answers
297 views

Cannot find cloned python arcgispro-py3 environment with conda env list

I am trying to clone my python environment that comes with ArcGIS Pro (arcgispro-py3 located in C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3) to a location I can access (I do not have ...
user avatar
  • 658
2 votes
2 answers
3k views

Trouble importing Fiona in Python

I am trying to use the Fiona module in Python, but am having trouble getting it to work. After issuing conda install fiona, the installation using conda seems fine, but when I issue import fiona, I ...
user avatar
  • 1,739
1 vote
0 answers
250 views

Using conda and ArcPy with ArcMap

Is there a way to use ArcPy without having ArcGIS Pro? I am currently using ArcMap 10.8 and am trying to set up a conda environment that is compatible. However, I'm having trouble finding the esri ...
user avatar
  • 133
1 vote
0 answers
222 views

Using QGIS in a Conda environment

I have installed QGIS in a Conda virtual environment called qgis_stable. When I open Python in the terminal and try to run: import gqis.core I get the error message: ImportError: libGL.so.1: cannot ...
user avatar
  • 11
3 votes
1 answer
196 views

Activating a conda environment from within QGIS -- cannot be done due to inherited environmental variables?

Background I've been working on a small QGIS Python plugin. Part of the functionality requires a number of packages that have complex dependencies. In my regular Python use, I use conda to manage it. ...
user avatar
1 vote
1 answer
575 views

Can't install Packages with Cloned ArcGIS Pro Python

I have a new installation of ArcGIS Pro 2.6 on a Windows 10 computer. I have successfully cloned Python because I want to install third-party packages to this cloned environment and still use arcpy. ...
user avatar
  • 7,172
0 votes
1 answer
196 views

ArcPy import arcgiscripting

I created a new environment in Conda and installed Python 3.6.9 along with certain modules including ArcPy in that new environment. Now, when the script in Spyder tries to import arcpy, I get the ...
user avatar
2 votes
0 answers
121 views

Unable to connect to database within Conda Data Cube environment [closed]

I followed the steps listed at https://cubes.readthedocs.io/en/v1.0.1/install.html and did the following: Installed Python Installed PostgreSQL ssudo sh -c 'echo "deb http://apt.postgresql.org/...
user avatar
1 vote
0 answers
108 views

Using gdal_proximity inside conda environment

I want to batch gdal_proximity using python. The following command is working inside OSGeo4W Shell: C:\python ./gdal_proximity.py -srcband 1 -distunits PIXEL -values 1 -ot Float32 -of GTiff "[...
user avatar
  • 56
0 votes
0 answers
319 views

Why doesn't installing GDAL from `pip` work on Ubuntu 18.04x64

Does anyone know why the pip install of gdal never seems to work? I am asking out of genuine curiosity and don't intend to sound negative. I have a related downstream packaging issue with GDAL as a ...
user avatar
  • 849
2 votes
0 answers
84 views

What's the role Qwidget and Qlayout in the QGIS interface?

I use miniconda3 to manage my software installations, including QGIS, so I can use packages like geopandas easily in the QGIS python console. Lately however, when I open qgis from the command line ...
user avatar
4 votes
2 answers
791 views

Installing Fiona into cloned conda environment in ArcGIS Pro gives ImportError

I am trying to install Fiona into a cloned conda environment in ArcGIS Pro. I have cloned the default environment and tried to install it both through ArcGIS and through the conda prompt (through ...
user avatar
2 votes
0 answers
2k views

Problems installing rasterio from conda

I'm trying to install the rasterio python package using the conda package manager. But when I try to do this in a new clean conda environment, I get an "Found conflicts!" error with no information on ...
user avatar
  • 21
0 votes
1 answer
334 views

ipyleaflet with GEE in JupyterLab doesn't show layer

I'm trying to run the interactive map example for GEE community - Python API on JupyterLab (https://github.com/gee-community/ee-jupyter-contrib/blob/master/examples/getting-started/display-interactive-...
user avatar
  • 531
0 votes
0 answers
318 views

earthpy.spatial stack() -function and data type

I have Landsat-8 OLI images in directories named after image WRS-2 scenes. I tried to compose script that would iterate these directories and stack rasters within each directory - using earthpy python ...
user avatar
1 vote
0 answers
63 views

GDAL python package with Anaconda and ElasticSearch 7 [closed]

I'm trying to import feature data into elasticsearch v7.4 using GDAL to convert from an ArcGIS feature service layer into geoJSON for indexing. We use anaconda 3 (latest version 2019.10) for our ...
user avatar
  • 11
3 votes
1 answer
204 views

Creating a subclass that inherits from an ArcPy superclass?

I would like to create a subclass that inherits methods from the arcpy Describe class, as in: import arcpy class my_sublass(arcpy.Describe): pass However, arcpy.Describe is a function (that ...
user avatar
  • 393
1 vote
2 answers
338 views

`pyproj` initialization error in PyCharm but not in cmd?

I am currently struggling to get pyproj to initialize when running in PyCharm. Oddly enough, I am able to get it to work in cmd. The version of pyproj I am using is 1.9.6, and the version of proj4 I ...
user avatar
  • 1,034
9 votes
6 answers
27k views

Ogr2ogr: ERROR 1: PROJ: pj_obj_create: Cannot find proj.db

I start using GDAL 3.0.0 using conda build. I successfully installed GDAL on my laptop (Windows 10) and I am trying to ingest MapInfo tab file into Elasticsearch index. I understood that I have to ...
user avatar
1 vote
1 answer
1k views

GDAL installation on MAC OSX via conda fails, linked due to Libpoppler and font configuration

When installing GDAL via Conda, install fails, on OSX Mojave and Python 3.7: dlopen(/Users/tomkom/anaconda3/lib/python3.7/site-packages/osgeo/_gdal.cpython-37m-darwin.so, 2): Library not loaded: @...
user avatar
  • 864
7 votes
4 answers
7k views

Access QGIS API from Anaconda python environment using Conda-Forge

I am trying to use QGIS in stand-alone python scripts (windows 10, python 3.6.6). After the following steps... 1) create new conda environment (geospatial) 2) install the qgis conda-forge package ...
user avatar
2 votes
1 answer
780 views

Error while installing QGIS with conda

I'm trying to install QGIS through conda $conda install -c conda-forge qgis but got the following error Solving environment: failed UnsatisfiableError: The following specifications were found to be ...
user avatar
0 votes
1 answer
215 views

import ARCSI as module in python

Any way to work with ARCSI (Atmospheric and Radiometric Correction of Satellite Imagery) like any other python package? Can it be imported in a jupyter notebook? >>>import arcsi or is ...
user avatar
3 votes
0 answers
235 views

QGIS 3.0.3 (and 3.2.0) crashes on start. Ubuntu 16.04, conda environment

I am trying to QGIS in a conda environment, python 3.6.5, conda 4.5.8, Ubuntu 16.04 Xenial. It crashes upon start-up without even loading all the way. I have tried both QGIS 3.0.3 and 3.2.0 (3.2.0 is ...
user avatar
  • 59
8 votes
0 answers
1k views

Getting Spyder IDE to work with QGIS?

I was hoping someone could help me get Spyder working with QGIS. I am finding the python editor limiting within QGIS as I would like to debug my code, use the variable explorer, and be able to run ...
user avatar
  • 81
0 votes
1 answer
361 views

Conda Forge or Conda Channel for GDAL on python2.7 and python3.x [closed]

I have two conda environments: One based on python 2.7 and the other based on python 3.5. I want to create a codebase (frequently used functions) that works with both Python versions. There is one ...
user avatar
  • 2,975
0 votes
2 answers
679 views

ArcPy importing error after setting path?

This questions has been asked before too and I did go through most of the suggestions. Things I have tried so far: setting up correct path variable environment, installing anaconda 32 bits, python 2....
user avatar
4 votes
1 answer
1k views

GDAL conda install on Mac OS trouble

I'm trying to install gdal on my new computer in the anaconda environment using conda but having issues. All I've done so far is install Anaconda for python 3.6 and install gdal as described here + a ...
user avatar
2 votes
0 answers
443 views

How do I import the qgis module installed by QGIS into other Python Environments?

I have a QGIS install and a Miniconda install. I want to use the qgis module installed by QGIS in my other python installation, but I get this error: >>> import qgis Traceback (most recent ...
user avatar
  • 446