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
1answer
21 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 ...
0
votes
0answers
19 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 ...
0
votes
0answers
52 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 ...
3
votes
1answer
78 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 ...
1
vote
1answer
174 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 ...
1
vote
1answer
197 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\...
4
votes
1answer
64 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 ...
0
votes
0answers
174 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 ...
2
votes
1answer
57 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. ...
1
vote
1answer
104 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. ...
0
votes
0answers
161 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 ...
1
vote
0answers
47 views

Packaging geospatial libraries for cross-platform application, or using docker container?

I am developing some python tools to help some less technical users process geospatial imagery. They generally need to do simple stuff like compress images, reproject images, etc. The users will be on ...
0
votes
0answers
25 views

QGIS 3.x API: apply rotation based on the “angle” field of the imported SHP-File

I am writing a python code in Anaconda (Spyder). The goal is to create automatically a QML-File for my SHP-Files (categorized with the values of one of the fields). I have read the documentation on ...
2
votes
0answers
223 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: ...
0
votes
2answers
626 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 ...
1
vote
0answers
146 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 ...
0
votes
1answer
206 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 ...
0
votes
0answers
52 views

UnsafeLoadingWarning when updating anaconda environment Arcgis Pro 2.5

I updated arcgisPro to 2.5.1 and it had a version mismatch with my arcpy environment, so I did the following to create a clone. To create a new environment that is up to date with arcgispro-py3: 1. ...
0
votes
0answers
178 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 ...
0
votes
0answers
20 views

RAM Problem When Loading HDF Datasets

I am trying to store my labels and features datasets extracted from 324 patches in an HDF file because loading them (labels and features) directly from the patches was failing since the RAM hits its ...
0
votes
1answer
91 views

Python code speed execution problem

I am trying to retrieve data from 324 eopatches I sampled beforehand. Patches are basically numpy arrays as explained in this documentation EOPatch. This is an example of the content of a patch after ...
1
vote
0answers
65 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! ---------------------------------------------------------------...
0
votes
1answer
1k 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 ...
0
votes
0answers
56 views

Standardization, or mean removal and variance scaling of remote sensing data

I am trying to follow this tutorial Tree Cover Prediction Using Deep Learning. The following sample code is aimed to standardize the data. img_mean = np.mean(x_train_raw, axis=(0, 1, 2)) img_std = np....
0
votes
1answer
52 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 ...
0
votes
1answer
773 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 = ...
-2
votes
1answer
156 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?
0
votes
0answers
102 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)})...
0
votes
0answers
118 views

Why doesn't qgis work in jupyter notebook even though they are in the same environment?

I use anaconda for managing my packages. I installed jupyter notebook a while ago but just installed qgis from anaconda cloud using 'conda install -c conda-forge qgis' and it worked. I have ...
2
votes
1answer
296 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....
0
votes
0answers
815 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 ...
1
vote
1answer
4k 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 ...
1
vote
0answers
63 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 ...
1
vote
1answer
202 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....
1
vote
0answers
59 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::...
0
votes
1answer
394 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 ...
3
votes
3answers
2k 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....
0
votes
0answers
105 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 ...
1
vote
1answer
96 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 ...
1
vote
0answers
34 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 ...
0
votes
0answers
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 ...
0
votes
1answer
646 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, ...
1
vote
1answer
64 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' ...
1
vote
0answers
134 views

Enable PostGIS extensions Windows local (non-admin) with Anaconda PostgreSQL

My organisation restricts admin privs on our machines, which means that installing OSGeo4Win would require a tech to come out (and as they're stretched pretty thin and I'm likely to need regular ...
0
votes
0answers
224 views

No module named 'qgis' only in IDE?

I'm working with pycharm 3.7 on win 8.1 with anaconda. Im trying to import qgis with no success. after reading this link I succeeded to import qgis when runing python from terminal but not from IDE. ...
0
votes
3answers
401 views

Batch convertion with raw to GeoTIFF images

I have several 12-bit raw images acquired with Survey3 MAPIR spectral camera. There is a MAPIR Camera Control (MCC) software for make the images batch convertion to GeoTIFF format, but doesn't work ...
1
vote
0answers
315 views

Is it possible to use ipyleaflet in a jupyter notebook running on an Anaconda Enterprise server?

This question is very similar to Ipyleaflet map object doesn't display in Jupyter Notebook but it gets created and uses the same example: https://ipyleaflet.readthedocs.io/en/latest/api_reference/...
0
votes
0answers
188 views

Set default version of Python in ArcGIS to 64-bit?

This is the output from Python terminal within ArcMap 10.6.1 for Windows 10: >>> import sys, numpy, matplotlib >>> print(sys.version, numpy.__version__, matplotlib.__version__) ('2....
0
votes
0answers
467 views

Fail to import gdal from conda environment?

I installed gdal from this link: http://www.gisinternals.com/query.html?content=filelist&file=release-1911-x64-gdal-3-0-0-mapserver-7-4-0.zip When I use the the following command from this ...
0
votes
0answers
746 views

gdal_translate not recognizing file format [duplicate]

I am trying to convert a .dat file to a .tif file using gdal_translate. The .dat file comes with an associated .Hdr file of the same name with the metadata (these are geospatial data from SNODAS). ...