Skip to main content

Questions tagged [pip]

questions related to pip as related to package management system used in Python and GIS

Filter by
Sorted by
Tagged with
1 vote
1 answer
232 views

Cannot plot with Cartopy: Incomplete shapefile definition error BUT .shp .shx and .dbf are all present

I used to plot maps with Cartopy, which actually used to work fine until now. Recently, when adding the maps features to a plot (es. coastlines etc) I get this error: "ValueError: Incomplete ...
Noelle_L's user avatar
0 votes
0 answers
546 views

geoserver-rest _ ERROR: ... install pyproject.toml-based projects

I'm trying to install geoserver-rest from cmd with pip, following the instructions in documentation (https://geoserver-rest.readthedocs.io/en/latest/installation.html): pip install pipwin pipwin ...
fra's user avatar
  • 1
0 votes
0 answers
275 views

Error installing pyproj

I am getting the following error when attempting to install geopandas: [~]$ pip3.9 install pyproj Collecting pyproj Using cached pyproj-3.6.0.tar.gz (224 kB) Installing build dependencies ... done ...
Joel Breazeale's user avatar
0 votes
2 answers
2k views

import pyarrow fails even when installed

I need to use the pyarrow package on QGIS 3 (using QGIS 3.32.2 'Lima') on Windows 11, and install it in OSGeo4W shell using pip: pip install pyarrow, which installs 13.0.0 by default as I'm writing ...
Neptune-Meister's user avatar
1 vote
1 answer
304 views

Running pyproj installed with pip but not with conda

I am running Python 3.11.4 I would like to use pyproj 3.6 to calculate geoid heights as described in the documentation exemple. However, I don't get the same result as in the documentation when ...
basso31's user avatar
  • 21
2 votes
2 answers
10k views

Install GDAL and Python bindings on Ubuntu 22.04 without PPA or special Pip wheel files

I would like to install GDAL and Python bindings on Ubuntu 22.04 without using special PPAs or special Pip wheel files or Conda packages. I went through a few iterations on a recent Ubuntu ...
TPPZ's user avatar
  • 427
6 votes
3 answers
8k views

Cannot install gdal or osgeo using .venv - error: legacy-install-failure

I have cloned a git repo which one of the required package there is to have gdal installed. The computer is Linux and I use vs code to connect reomtly. at the beginning I naively tried to install gdal ...
ReutKeller's user avatar
  • 2,207
3 votes
2 answers
1k views

pip install inside QGIS fails

As I am trying to import a pip module directly in the built-in python I need to install pyshp first. I am trying this directly inside qgis running import pip pip.main(['install', 'pyshp']) ...
Riccardo's user avatar
  • 2,678
1 vote
1 answer
3k views

Installing Python module using pip via Python console in QGIS 3.22

Import module pip not works: import pip Traceback (most recent call last): File "C:\OSGeo4W\apps\Python39\lib\code.py", line 90, in runcode exec(code, self.locals) File "<...
Wenceslauw's user avatar
2 votes
1 answer
751 views

Upgrading pip on QGIS 3.16

I'm trying to run the Aequilibrae package on QGIS 3.16.14 (on windows)and to do so, it seems that I need to update my pip package. I tried the command : -m pip install --upgrade pip on the integrated ...
axel briffault's user avatar
2 votes
3 answers
1k views

Automatically install third party Python library to QGIS while first install of custom plugin (Windows)

I've developed a QGIS plugin that needs to have installed external libraries to work. While I was working I've installed those libraries with pip command via osgeo4W shell but I don't want to each one ...
Laura's user avatar
  • 47
3 votes
1 answer
5k views

Error when installing GDAL 3.0.4 on Ubuntu 18.04

I'm trying to install GDAL through pip with same version in the system. But I'm getting this error: (app_env) user@server:~$ pip install gdal==3.0.4 Collecting gdal==3.0.4 Using cached GDAL-3.0.4....
Anju's user avatar
  • 61
1 vote
0 answers
2k views

What is the easiest way to install libgdal 3.3.0 and header files (gdal-devel) on Ubuntu 18.04?

I would like to pip install GDAL 3.3.0 Python package, but it requires libgdal (3.3.0 or greater) and header files (gdal-devel). APT package manager repositories only have gdal-bin 2.4.2 and libgdal-...
user avatar
2 votes
2 answers
382 views

QGIS Plugins PIP extension

I have recently been programming in QGIS plugin with python using an extension from pip package management. I installed this extension "browserhistory" manually via the OSGeo4W shell. ...
Moritz Sproll's user avatar
2 votes
1 answer
3k views

ArcGIS Pro and PiP installs

I need to install selenium to automate an ArcGIS Online workflow. I have Python 3x installed with pro in this path: C:\Program Files\ArcGIS\Pro\bin\Python These are the subdirectories: 08/03/2020 09:...
geoJshaun's user avatar
  • 1,335
0 votes
0 answers
710 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 ...
krishnab's user avatar
  • 929
3 votes
0 answers
1k views

OSError - cannot import geopandas

While trying to import geopandas error occurs: Exception has occurred: OSError Could not find lib geos_c.dll or load any of its variants []. I downloaded GDAL and fiona for Python 3.7 from this ...
katpio6's user avatar
  • 31
0 votes
1 answer
2k views

Install shapely windows using pip

My question is related to Why is Shapely not installing correctly? However it is not working and I am struggling to find information/understand how to install it. I am running my own environment ...
geogrow's user avatar
  • 1,755
1 vote
1 answer
341 views

Installing ArcGIS Desktop , QGIS and independent Python packages on same machine?

I would like to have on the same machine all my GIS software installations. Both ArcGIS Desktop and QGIS come with their own Python installations but I want another independent Python where I can play ...
Oskar Karlsson's user avatar
4 votes
2 answers
1k views

Bug using Python 3.7 (from QGIS) and trying to install package with pip

I use QGIS 3.6 and Python 3.7 and I try to install a package with pip in command line tool under Windows 7 but I have the following message : Fatal Python error: initfsencoding: unable to load the ...
dmjf08's user avatar
  • 1,293
0 votes
0 answers
689 views

Loading spatialite with python3's module under Windows

I installed spatialite's Python module using pip: pip install spatialite I copied the mod_spatialite.dll found on https://www.gaia-gis.it/gaia-sins/index.html into my windows/system32 folder (I have ...
jokoon's user avatar
  • 121
0 votes
0 answers
836 views

Installing pip on ArcGIS Python Installation?

I have a problem installing pip on my Windows Server 2016 on ArcGIS 10.2 Python installation. Actually, I want to install requests package and I want to install it through pip. I have downloaded get-...
Ebola's user avatar
  • 83
3 votes
1 answer
2k views

Getting error while importing GeoPandas in Python console

I have installed GeoPandas and its dependencies using pip install package_name. Here is the pip list output: Package Version attrs 18.2.0 Click 7.0 click-plugins 1....
Rajesh Kumar's user avatar
-1 votes
2 answers
1k views

Using pip in OSGeo4W64

I Successfully installed pip but when I ran pip it gave me the following error: C:\PYQGIS\DOCS>pip File "C:\OSGEO4~1\apps\Python37\lib\site.py", line 177 file=sys.stderr) ^ ...
Juan's user avatar
  • 82
0 votes
0 answers
3k views

Error installing GDAL in PyCharm

I've been trying to install GDAL for a month now in PyCharm. I use PyCharm, I like it, and I'm not switching to/adding Anaconda. I keep getting the following error (screenshot below) on any GDAL or ...
a11's user avatar
  • 950
2 votes
1 answer
241 views

Struggling to install sentinelsat

I am struggling to install sentinel sat. After exhausting all my options I have decided to ask if someone can just guide me in the right direction. Firstly I tried simply: sudo apt-get install ...
Jaun van Loggerenberg's user avatar
2 votes
1 answer
674 views

QGIS 3.0 migration - unable to install PyPDF2 [closed]

I am migrating my Plugin to QGIS 3.0. Currently a bit stuck trying to install PyPDF2. I have been trying different things for the last couple of hours or more, without success. I have got another ...
wotnot's user avatar
  • 419
15 votes
4 answers
14k views

Installing external Python packages in QGIS 3

While there are tools and methods for QGIS 2 I cannot figure out for 3 I want to install external Python packages such as sqlalchemy etc. I tried the following things : Tried to download osgeo4w for ...
Abhijit Gujar's user avatar
4 votes
2 answers
3k views

PIP no longer works with QGIS 2.18.x Python (TLS version no longer supported)

We've run into a problem installing Python packages (using pip) for use with QGIS 2.18.x (error messages copied below) Our diagnosis is that: Pypi now requires TLSv1.2 support (http using TLSv1.0 ...
David's user avatar
  • 303
1 vote
1 answer
3k views

Installing GDAL on Google Cloud Datalab

I am having trouble installing GDAL on Google Cloud Datalab. When I run: !pip install gdal I get the following error Collecting gdal Using cached GDAL-2.2.4.tar.gz Complete output from command ...
Vaderstalk's user avatar
2 votes
0 answers
151 views

Python within OSGeo4W installation gives "AttributeError: '_NamespacePath' object has no attribute 'sort'"

I have Python 2.7 and Python 3.6 installed via OSGeo4W64 on a Windows 10 x64 machine. I don't have a standalone installation of Python, but I did previously, which may have something to do with the ...
Gareth Jones's user avatar
4 votes
0 answers
502 views

Installing module within code with pip and ArcPy? [closed]

I am creating an arcmap add-in which relies on a third party module, usaddress. I am using pip to install the usaddress module on the user's computer. When I run the add in however, it says that ...
ketar's user avatar
  • 476
0 votes
1 answer
1k views

Installing virtualenv & pip to work with ArcPy?

I have a Windows machine with a ArcGIS 10.3.1 (w/ Python 2.7.8) install that the powers that be DO NOT want me to uninstall/reinstall. I would like to find a way to: set up some virtual ...
user14696's user avatar
  • 507
1 vote
0 answers
215 views

How can python-GDAL installed by Kyngesburye be recognized by pip?

I am using macOS 10.12 and Python 2.7 installed by homebrew. As recommended, I successfully installed GDAL-1.11.4 by Kyngesburye's Framework. When I want to install another package which dependents ...
zhulj's user avatar
  • 51
2 votes
1 answer
1k views

Installing pip packages from bat file and OSGEO Shell?

After installing QGIS (that from the 2.14 version has pip installed by default) I want to automatically install some pip packages within a bat file. One method to do that is writing a file.txt with ...
matteo's user avatar
  • 3,304