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
0answers
23 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. When I create a project in ArcGIS Pro and try to open a notebook within project (or open ...
0
votes
0answers
35 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
16 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
27 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
18 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
66 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
40 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
91 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
19 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
30 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
39 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
36 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
32 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
30 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
57 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
11 views

Examples of using QGIS API from Anaconda3 environment?

I know this question has been asked several times in different ways, but does anybody have an example of successfully using the QGIS API from the Anaconda3 environment? If so, could you please post ...
0
votes
0answers
19 views

AttributeError: module 'gdal2tiles' has no attribute 'generate_tiles'

I'm trying to use gdal2tiles inside a python script and I'm following this example. Then I've writed my custom script and I've started my custom conda environment: options = { 'zoom': (12, 22), ...
0
votes
0answers
93 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
494 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
37 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
73 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
40 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
0answers
19 views

Clip raster with PostGIS polygon layer using Python

I have two layers in the same SRID: single-band georeferenced raster in a TIF file single multipolygon in PostGIS I need to convert the pixels of the raster within the polygon into points (at the ...
0
votes
0answers
42 views

Using qgis.core in anaconda environment

I am trying to use qgis.core in a Conda Environment with qgis, PyQGIS and Python 3.7 installed. I get over an over the next error: File "C:\Users\dg\.conda\envs\env_p3\Library\python\qgis\core\...
0
votes
1answer
176 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
2answers
774 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
87 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
61 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
22 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
1k 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
294 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
42 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
88 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
129 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
220 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
186 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
122 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
269 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
377 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). ...
0
votes
0answers
44 views

gdalinfo --formats return different values in python3 than in OSGeo4W

I am working whit geopdf to obtain the layers. When I use driver = ogr.GetDriverByName('PDF') it return None, and obviously I can't open it. I have checked with the command gdalinfo --formats and it ...
2
votes
1answer
2k views

TypeError: tuple indices must be integers or slices, not str after ingested data into the open data cube

I've ingested some landsat 5 images into a database using the open data cube. The problem is that when I try to run the continous change detection function following the jupyter notebook I get a ...
0
votes
0answers
1k views

DLL Load Failed: The specified module could not be found -Anaconda 3 on win10

I know that this question has been asked a lot (e.g., here, here, here, and here), but none of the solutions worked for me. I downloaded the latest Anaconda version (file name - Anaconda3-2018.12-...
1
vote
0answers
130 views

Importing gdal in Python with anaconda changes environment

I have installed gdal through anaconda. When I run a subprocess in Python before importing gdal I can get that gdal tools are located in my conda environment. For example subprocess.run(['which', '...
4
votes
3answers
3k 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 ...
3
votes
1answer
350 views

Using ogr2ogr on Anaconda

I am building a Choropleth map in D3.JS. In order to do that, I have downloaded a map from Eurostat. From the GeoJSON file, I want to extract the country for the visualization, in my case Portugal. ...
0
votes
2answers
217 views

skimulator - Python error message on Windows 10 - load_entry_point

I am running python code called skimulator on Windows 10 to model Arctic ice drift and sea/wave velocities for a satellite mission in 2025. Its installed using Anaconda navigator with a python 3, ...
0
votes
1answer
720 views

Error message, for “pip install /path/to/the/skimulator/directory” on Windows 10 Anaconda/python

I am trying to install skimulator on my windows 10 system. This is for simulating images of sea ice drift in the Arctic, for 2025 satellite mission. I have installed Anaconda/python and followed the ...
2
votes
1answer
119 views

Access ArcGIS Pro conda env in R

Environment: Windows 7, ESRI ArcGIS Pro 2.1, R 3.5.1 with reticulate v1.10. ArcGIS Pro comes with a pre-configured python 3 conda environment that I'm trying to access in R. Related questions here ...
3
votes
1answer
2k views

Installing Arcpy in an Anaconda enviroment.

I recently uninstalled Anaconda due to a conflict with my pandas packages. I use to have it configured with my ArcGIS Pro Python 3.65 environment. Now I want to reinstall it, but for my ArcGIS ...
0
votes
0answers
688 views

Will Anaconda with Python 3.7 work with Python 3.6.5 environment of ArcGIS Pro?

I just uninstalled my Anaconda with Python 3.6 and need to reinstall, but the current version is now with Python 3.7. Will that work for ArcGIS Pro (Python 3.6.5)? I'll have to copy the ArcGIS Pro ...