cannot upload the json file by using the mapbox cli

I want to upload the json file to mapbox by using cli. tilesets upload-source sample estimate_max_scale C:\sample_file.json this is the code I wrote in command prompt , and I got the error...

Conda Install UnsatisfiableError

I imagine a basic question that is exacerbating me. While it concerns a package called Fiona, this is most likely a Conda question. Could be any package. The package I want, Fiona has a handful...

Python, AttributeError: module 'google.api_core' has no attribute 'gapic_v1'

I can't run this line: lang-python from google.cloud import language When I try, I get: lang-none AttributeError: module 'google.api_core' has no attribute 'gapic_v1' Could you...

ModuleNotFoundError: No module named 'osmnx'

I have a github repo containing two files in the same repository. guimain.py and mapdraw.py. We're basically using tkinter and some other packages to make a GUI and for this we need maps of...

Installing geopandas through conda forces me to remove basemap (windows 8)

I am trying to install geopandas into a virtual environment for implementing new code to a script that already relies on the hardest thing on planet earth to install, basemap. Unfortunately, conda...

Rasterio unable to open .jp2 files

I'm beginning to play with GeoPySpark and am implementing an example notebook. I successfully retrieved the images !curl -o /tmp/B01.jp2...

Conda does not create environment (ResolvePackageNotFound)

I am trying to create a conda environment. This is the yml file I have: name: py3_pygeos channels: - conda-forge dependencies: - nbformat=5.1.2 -...

Git push Heroku rejected

I want to deploy my flask app to Heroku but the push rejected. Here is my requirements.txt, some of them are whl file which I store it...

Issue with installing geopandas on windows

I am new to using python 3.7.0 and have been trying to install geopandas but get an error. I am using a windows 10 computer. I have installed anaconda 3.7 with conda version 3.7.0. I was able to...

Python/Django crash on gunicorn on Heroku

I've deployed my app to Heroku and am getting the following error in the logs upon loading the page: 2016-12-09T22:47:56.020392+00:00 heroku[slug-compiler]: Slug compilation...

Deploying dash app with gdal dependency fails on heroku

I'm using a conda for package management and including an environment.yml file and requirements.txt file for deployment with help from this post. I've gotten simple dash apps to deploy this way,...

Cannot import geopandas even though it is installed in environment

In have this behavior that I cannot really understand. Some background might be in place. I earlier created an environment called geo in which I installed geopandas. I worked like a charm, but I...

Why geopandas.read_file returns different result on windows and linux?

I'm using geopandas to read a .shp file. My code is like the following: import geopandas as gpd blocks = gpd.read_file('shp/block_shp/block.shp', encoding =...

PyInstaller: StopIteration Error when I import geopandas

I am trying to execute PyInstaller on a my script. I installed all of the required packages and the .exe is succesfully created. But when I execute it on another machine, I get he Following...

Unable to deploy GIS due gdal-config not found

I have been trying to deploy GIS data for a good while at this point with gcloud in the google app engine, I always will stop at the same error no matter how many different approaches I attempted....

Python Pandas "Error: Could not install packages due to an OSError: No such file or directory:"

System:Win10 IDE: VSCode Python path: C:\Users\user\AppData\Local\Continuum\miniconda3 while trying to install pandas and geopandas via VSCode terminal to run Jupyter Notebook, I encountered...

Python Anaconda blocking psql connection

I have a python anaconda environment on Ubuntu 20.04 LTS with python 3.8.2 which, when activated, block psql from connecting to a local PostgreSQL database. It's a completely repeatable condition:...

import error after clean install of fiona

I installed fiona as follows: conda install -c conda-forge fiona It installed without any errors. When I try to import fiona, I get the following error: Traceback (most recent call last): File...

Cannot import Geopandas after successful conda installation

I feel quite stupid as I can't seem to import geopandas. I am using Anaconda (miniconda3) and feel like I have successfully installed via: (base) C:\Users\Jeremy>Conda create -n...

OSError: Could not find libspatialindex_c library file on Mac OSX

System: Mac OSX Im relatively new user of Python and currently exploring GIS. Trying to read a shape file with geopandas however I am getting: OSError: Could not find libspatialindex_c library...

Jupyter Notebook not importing Geopandas

I try to import Geopandas on my Jupyter Notebook but it says that there is no module named geopandas. However, when I run !pip list it appears in the list so it must be installed in the...

python version and python sys.path

I have anaconda installed and do not want to use the system python and its modules. It is supposed that anaconda runs python in independent environment. However, $ which...

fiona - install package to photoscan

I want to install fiona module with PhotoScan and I get a bug: command : ./python.exe -m pip install fiona (when I'm located in my python folder, of Photoscan) error : PS C:\Program...

Planet NDVI calculation: ModuleNotFoundError: No module named 'rasterio'

I'm performing NDVI calculation on a Planet Scope 4 band image as per Planet's documentation The following block of code is what I wrote: Extract band data from original image in working...

seaborn pairplot not working for single graph

I get this weird behavior where seaborn will plot diffrent graphs as expected but fails to show data in a single graph. I am using anaconda3 and Visual Studio (same problem in jupyter). > seaborn...

Geopandas Installation

I am trying to install geopandas on my Mac OS X right now. What I have done: • Downloaded and installed Anaconda for Python 2.7 here. Graphical installer. • python --version returns the following...

ModuleNotFoundError: No module named 'matplotlib' even though the package is installed

I am building a GIS application, using python 3.7, on MacOS Mojave 10.14.2 . I have set an environment, called 'MG' with miniconda, and installed the following packages ```` packages in...

ImportError: Couldn't import Django. Problem with deploying Django app to Heroku [Windows]

I'm trying to deploy my Django app to Heroku but I keep having this error after successfully building the app. Build log: -----> Building on the Heroku-20 stack -----> Using buildpack:...

Create conda environment: "Found conflicts!" when solving environment and "Finding shortest conflict path" running forever

I was provided with an environment.ubuntu.yml file to be able to create a conda environment. However, running conda create env --file environment.ubuntu.yml I get the following output: conda env...

Folium HeatMapWithTime script working on Windows, but not on Linux

This script works as expected on Windows, but when I run the exact same .py on my Linux laptop (kde neon), it produces just the map html file (as in no heatmap, no controls, no plugins). It...