Questions tagged [anaconda]

A free collection of Python packages for large-scale data management, analysis, and visualization.

Filter by
Sorted by
Tagged with
1 vote
0 answers
26 views

Extract value from raster layer according circular buffer from vector layer ,Anaconda

I have 2 layers raster and vector , vector is have one value coordinate , i try to read it and create buffer of 5 km , i did it and save the new buffer as polygon .shp file format, but the problem is ...
user avatar
0 votes
1 answer
24 views

Installing ArcPy in Anaconda gives ImportError: Unable to locate a valid Pro or Server installation

I am trying to install ArcPy module in the Anaconda but I always get this error: ImportError: Unable to locate a valid Pro or Server installation to use with ArcPy. ArcPy must be installed, and match ...
user avatar
  • 165
4 votes
1 answer
112 views

QGIS installed via Windows Anaconda fails to launch

I'm trying to install QGIS using the Anaconda package manager in a new environment. I have done this successfully before (not sure if it was on this specific Windows laptop, but probably) and also ...
user avatar
1 vote
1 answer
51 views

Conduct Buffer Analysis in PyQGIS

Given that I have 1 shapefiles for instance c:/users/user/line.shp and I have activated my QGIS Console in Anaconda prompt (base) $ conda activate qgis-venv (qgis-venv) $ python >>> import ...
user avatar
  • 622
1 vote
2 answers
136 views

Can't make GDAL work on Python 3.7 from Anaconda

I am trying to install GDAL on an clean Anaconda environment (Python 3.7.11) but it fails when imported in the Python console. It does work fine in another environment (Python 3.6). GDAL package is ...
user avatar
0 votes
0 answers
12 views

Output .map layer stretches when using Convert to PCRaster Format in QGIS

My first task after installing the PCRaster plugin into QGIS 3.18.3 (also tried in 3.16) was to convert a DEM using the Convert to PCRaster Format tool. The image attached shows how the output layer ...
user avatar
0 votes
1 answer
336 views

gdal_translate ERROR 6: Too many command options

I'm using GDAL 3.3.1 on Windows 10 through Anaconda. I'm trying to convert a TIMESAT binary file to a .tif, which I've been able to do before. However, when I enter this code: gdal_translate -of GTiff ...
user avatar
  • 129
0 votes
1 answer
43 views

Shapefile missing spatial reference information when run as a batchfile

I have Python script that needs to pull the ESPG code from a shapefile, when I run this in Intellij IDEA 2021.1.2 (using a Anaconda Environment for Python) it works correctly, but when it is run as a ...
user avatar
1 vote
0 answers
54 views

QGIS 3.20 failed dependency in qgis_core on libQt5Concurrent

I wrote a Python application that successfully uses QGIS on OSX. I now want to 'freeze' it. Building an app after using the kyngchaos packages resulted in all sorts of issues finding components. I ...
user avatar
0 votes
0 answers
105 views

Installing arcgis-server-py3 version 10.8.1 for Python 3.8 Anaconda on RHEL 7

I have to install the ArcPy libs for raster data processing and need to use Python 3.8.x to do so due to security guides. Has anyone successfully installed the arcgis-server-py3 package? Here is a ...
user avatar
0 votes
1 answer
286 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
  • 128
-1 votes
1 answer
180 views

Anaconda install Orfeotoolbox

I am trying to install Orfeotoolbox as a package within one of my conda environments. No matter which version of python I have (3.6 , 3.7 , 3.8) the package can not be installed. Below is the result ...
user avatar
  • 291
0 votes
1 answer
382 views

Cannot add packages using ArcGIS Pro Python Package Manager [duplicate]

I am trying to install a Python package in ArcGIS Pro but cannot get it to work. Somehow this worked for me with an earlier version of Pro. I am now using 2.6.3 The things that I have tried so far: ...
user avatar
  • 430
0 votes
0 answers
32 views

Adding Point cloud in Qgis2three

Im trying to add a point cloud in "qgis2threejs". Im following this tutorial https://www.youtube.com/watch?v=EtnzS1Lg0bs&ab_channel=HansvanderKwast but when i add the ept.json-file ...
user avatar
3 votes
1 answer
551 views

Cannot install GeoPandas on cloned arcgispro env in Anaconda

I have cloned my ArcGIS Pro env into my Anaconda 3 env. My goal was to have access to both the arcpy mod and GeoPandas mod. I tested it in a notebook to make sure arcpy is working and it is. But ...
user avatar
  • 1,641
1 vote
0 answers
262 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
  • 638
0 votes
1 answer
1k views

ImportError: DLL load failed: The specified module could not be found. while importing GeoPandas

How can I fix the error and get GeoPandas to work on my Win10 machine? Solutions tried: New environment following instructions here Uninstalling and reinstalling Geopandas Detailed error: import ...
user avatar
  • 375
3 votes
1 answer
353 views

Is it possible to run PDAL without Conda?

PDAL looks like a fantastic library but for some reason when I install Anaconda, it breaks a bunch of dependencies\paths. Is it possible to use PDAL without having Anaconda (Miniconda) installed? If ...
user avatar
  • 753
6 votes
3 answers
2k views

Unable to activate cloned ArcGIS Pro default Python environment due to missing packages

To be brief, I am unable to activate cloned copies of the default ArcGIS Pro python environment, receiving an error message that required packages are missing. I am using ArcGIS Pro 2.7.0 I am trying ...
user avatar
  • 61
1 vote
2 answers
547 views

Shapely command error: from shapely.geometry import LineString

I am trying to run a program but getting the following error when I am using the command: from shapely.geometry import LineString Error: FileNotFoundError: Could not find module 'C:\Users\SWWB\...
user avatar
  • 11
4 votes
1 answer
345 views

Make QGIS use a conda virtual environment for python libraries

I wanted to install a plugin, but it requires scipy. Thus I realized that QGIS use the default python3 installation. I tried to launch it from a conda virtual environment, as advised in this related ...
user avatar
  • 141
2 votes
0 answers
581 views

COG Driver not recognized in GDAL 3.2.0

I want to generate a Cloud Optimized Geotiff (COG) using Python (with Anaconda environment). I wanted to use GDAL 3.2.0 since it has a COG Built in Driver since 3.1. Initially I cannot update GDAL to ...
user avatar
  • 430
3 votes
1 answer
185 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
540 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,137
0 votes
0 answers
402 views

OGR Geometries Error When Writing to Disk: 'Incompatible geometry for operation'

I am working on a piece of code that does a pretty complex computation using GPKG layer feature areas, I then calculate several new fields . Finally, when I try and write the results back to disk, I ...
user avatar
2 votes
0 answers
464 views

Unable to install geopandas using conda install

I'm trying to install GeoPandas using the Command Prompt terminal. I have Python 3 and ArcGIS installed. I keep getting these messages that say there is a conflict with various packages. For example: ...
user avatar
  • 21
1 vote
2 answers
2k views

ECCODES ERROR when opening .GRIB file in Spyder/Visual Studio Code

I have accessed Anaconda Prompt for the environment that I will be working. Once there, I have changed the directory to the place where I have the grib files that I will be working with, in order to ...
user avatar
1 vote
0 answers
319 views

Fixing ArcGIS Pro crash with opening notebooks after installing Anaconda

I have had problems with opening notebooks in ArcGIS Pro 2.5 since installing 64-bit Anaconda 3 on my PC (Windows 10 OS). When I create a project in ArcGIS Pro and try to open a notebook within ...
user avatar
0 votes
1 answer
634 views

How to make PROJ work via Anaconda in Google Colab?

I broke Google Colab with GDAL and Anaconda, how do I repair it? So hear my story: In a project I need to use the RSGISLib Python library (link) developed for object-based analysis of georeferenced ...
user avatar
  • 187
0 votes
0 answers
373 views

Installing eccodes with conda install windows

I am trying to install eccodes using conda forge, following the advice on https://anaconda.org/conda-forge/eccodes, on a windows 10 computer. I keep getting an error message: failed with initial ...
user avatar
  • 103
1 vote
0 answers
114 views

KeyError: 'BANDS' and NameError: 'bands'

I am trying to follow this tutorial: land cover fastai And while executing the workflow, I got this error: eopatch 0 has been processed! ---------------------------------------------------------------...
user avatar
0 votes
1 answer
2k views

ValueError: too many values to unpack (expected 2)

I am trying to follow this tutorial: land cover fastai And while executing the workflow, I got this error: This is the code where the error occurs: def png_gen(patch, inference=False): """Save ...
user avatar
0 votes
1 answer
131 views

Transforming an image (TIFF) into an array

I found the following code for crop classification and I am trying to understand it. # We have 10 images and 5 bands for each image so we’ll have a total of 50 columns in our data frame # we’ll ...
user avatar
0 votes
1 answer
2k views

Reading .tiff data using Python

I got none type while trying to open those tiff data. What issue could it possibly be? I tried this: import glob images_tiff = [] for im in glob.glob(os.path.join(data_path, "*.tiff")): im = ...
user avatar
-2 votes
1 answer
280 views

Install pyModis on Anaconda/Spyder

I need to use pyModis on Spyder (Anaconda), but I'm not able to install it. Does anyone have a step by step or tutorial for Windows?
user avatar
0 votes
0 answers
253 views

Transforming CRS to UTM using Python

I am trying to transform CRS to UTM using a GeoJSON file. This is what I tried: from sentinelhub import CRS country_crs = CRS.UTM_32N country = country.to_crs(crs={'init':CRS.ogc_string(country_crs)})...
user avatar
2 votes
1 answer
702 views

How to display together a shapefile (country basemap) and points (from CSV) via geopandas?

So, I wrote this code that tries to do it but I end up with the map and points being displayed separately import pandas as pd import geopandas as gpd from geopandas import GeoDataFrame from shapely....
user avatar
  • 1,127
0 votes
0 answers
1k views

Unable to install GeoPandas

Trying to install GeoPandas using Anaconda for Python 2 (geopandas version in anaconda navigator is 0.6.1). I also have ArcGIS 10.7 pre installed. First when I tried to install it through the ...
user avatar
3 votes
1 answer
7k views

GeoPandas installation errors

(base) C:\WINDOWS\system32>conda install -c conda-forge geopandas Collecting package metadata (current_repodata.json): done Solving environment: failed with initial frozen solve. Retrying with ...
user avatar
1 vote
0 answers
83 views

Re-occuring errors in my JupyterLab environment because of instillation errors in anaconda?

I use python in the JupyterLab notebook environment through anaconda3 for my coding. I recently encountered a Runtime Error when trying to set the CRS for a geodataframe and from my research online it ...
user avatar
2 votes
1 answer
338 views

Setting up Anaconda 2 with ArcPy

I want to run Jupyter Lab (Notebook) with ArcPy. I have ArcMap 10.7 with Python Version 2.7.15, Numpy=1.9.3, matplotlib=1.5.2. I followed the instructions from the following link: https://gisday....
user avatar
  • 197
1 vote
0 answers
96 views

Error cloning Conda env arcgispro-py3 on an ArcGIS Server

Whenever I try to clone the base package that comes with ArcGIS Server I get an error saying: ERROR conda.core.link:_execute_actions(337): An error occurred while installing package 'defaults::...
user avatar
0 votes
1 answer
711 views

Install gdal2tiles inside conda environment

I need to use gdal2tiles with Anaconda 3 on Ubuntu 18.04. I've created the environment using: conda create --name gisenv python=3.6 I've installed GDAL with: conda install gdal After this I've ...
user avatar
4 votes
4 answers
4k views

How to import GeoPandas in QGIS 3.10

Here is the situation: I've installed QGIS 3.10 with the downloadable .exe file and accepting all as predefined. The Python version used with it is 3.7.0 like here: import sys sys.version '3.7.0 (v3....
user avatar
0 votes
0 answers
117 views

Import error with Mapnik in Anaconda 2

I'm using Anaconda to write geographic programs, so I need to use packages like Mapnik. After installing Mapnik in Anaconda2, it started to error. First about Mapnik itself and after do some actions ...
user avatar
  • 1
1 vote
1 answer
142 views

GDAL framework does not exist after KyngChaos installation of QGIS

I'm on a Macbook running Sierra 10.12, so I used the KyngChaos installation of QGIS 3.8. I followed the instructions in the ReadMe, and installed python (though I already had it on my machine), GDAL ...
user avatar
  • 115
1 vote
0 answers
61 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
0 votes
0 answers
2k views

Using GDAL with Anaconda

I want to read sentinel-2's image (jp2 format) with anaconda: geopanda: for read shapefile folium (for create map in jupyter notebook ) (optional) gdal /osgeo : for read jp2 image I follow this ...
user avatar
  • 21
0 votes
1 answer
1k views

Change path in Anaconda environment to point to ArcGIS Python interpreter on Windows?

I want to have an Anaconda environment that will use the Python interpreter installed with ArcGIS Pro. I am working in Windows. I have been using Anaconda Prompt to configure virtual environments, ...
user avatar
1 vote
1 answer
128 views

Download zip file from ArcGIS Online

from arcgis.gis import GIS import sys import urllib.request as req from pathlib import Path from zipfile import ZipFile import os import trace import urllib.request as req Zip_Loc = r'C:\Folder' ...
user avatar
  • 103