11
votes
Install Python library in QGIS as non-administrator
Since you don't have admin privileges, when you install a package using QGIS Python Console/Editor as follows, it is installed to C:\Users\user\AppData\Roaming folder.
import subprocess
subprocess....
7
votes
Is there any list of Python packages bundled with QGIS 3 installation on Windows?
You can also list the packages installed by QGIS installation after a fresh installation using pip on OSGeo Shell:
python -m pip list
7
votes
Is there any list of Python packages bundled with QGIS 3 installation on Windows?
One can try the following commands directly in the QGIS's Python Console to get more information regarding Python packages bundled with QGIS.
To list all Python modules:
help("modules")
To ...
4
votes
Install Python library in QGIS as non-administrator
Thanks to the earlier answer, I found another workaround for the issue in the case, when you might have a situation like mine (read Update II).
The steps are:
Download your Python library from the ...
4
votes
Difference between QGIS download and OSGeoW4 Network installer
The OSGeo4W installer shows what QGIS versions can be installed. It is possible to install different versions of QGIS with the installer
QGIS desktop (latest release)
QGIS-dev (nightly build)
QGIS ...
3
votes
Cannot install gdal or osgeo using .venv - error: legacy-install-failure
As you already have GDAL installed, just let your virtual env use it by adding the --system-site-packages flag.
python -m venv --system-site-packages .venv
And just to show it works:
.venv/bin/python ...
3
votes
Unable to import python Rasterio package even though it is installed
I was having the same issue when trying to import rasterio from a jupyter notebook on VSCode, using a properly installed and activated conda environment.
When I tried mikewatt 's solution on the ...
2
votes
Using PyQGIS in PyCharm
System Windows
QGIS 3.28 Firenze
For me I seem to be able to use the qgis functionality as well as the processing plugin in PyCharm when I do the following:
Set the project interpreter in Pycharm to ...
2
votes
Accepted
Installing rasterio python package
I am trying to install 'rasterio' package in my conda environment.
For conda environments, use conda to install packages.
2
votes
Installing QGIS on network drive
We have done this before, however we advise the users to copy the installer into their computer then install on their machines. If you have 100 people installing at the same time it would congest the ...
2
votes
Installing QGIS in Ubuntu
For the suites listed above you have fossa but you want to use focal instead.
Still, it looks like you need to upgrade either your Ubuntu Version or the QT version. See the image below from the QGIS ...
2
votes
Installing tkinter Python package in QGIS
The console you have in the screenshot is not QGIS's Python console but the OSGeo4W shell. Please update the question accordingly.
You then tried to run a "python" command inside a Python ...
2
votes
GeoServer 2.24.0 JavaError at accessing ServerStatus
A quick check of the manual will show that for Java 17 you need to delete webapps/geoserver/WEB-INF/lib/marlin-0.9.3.jar before you start GeoServer.
1
vote
Install FME Server on 2 nodes sharing the same FME Flow System Share and FME Flow Database (PostgreSQL SQL DB)
Yes, you can do this, but - as noted - it's not the best setup. You have two separate installations with no knowledge of each other. The official method with a load-balancer is better because your ...
1
vote
My QGIS install fail - Installation must be on a local hard drive
this seems to be unrelated to QGIS.
Apparently, you need to run the installation manually using the CMD terminal. This is the solution recommended by this video, this other video, and this article.
TL-...
1
vote
QGIS installation instructions fail
If you don't have a /etc/apt/sources.list.d/qgis.sources file yet, you can simply create it.
Either use an editor like nano, mousepad, geany etc to edit the file directly:
sudo YOUREDITOR /etc/apt/...
1
vote
Install GDAL and Python bindings on Ubuntu 22.04 without PPA or special Pip wheel files
Unless you require a newer version of GDAL than is provided by the official Ubuntu 22.04 repositories, installing the GDAL utilities and the python bindings is as simple as:
sudo apt install gdal-bin ...
1
vote
Setting up ArcGIS Pro 3.0 Python env in PyCharm - Can´t import arcpy module
I've encountered the same issue and tried many solutions over the internet. Now I just figured it out. ArcPro has a package manager that manages virtual enviroments. There is a default environment ...
1
vote
Setting up ArcGIS Pro 3.0 Python env in PyCharm - Can´t import arcpy module
arcgisscripting needs to import "_arcgisscripting.pyd" (where .pyd files are just a form of DLL file). This is the cause of your error ImportError: DLL load failed while importing ...
1
vote
Installing Python modules for QGIS 3 on Mac
For Windows users, the answers above are probably still fine, but for MacOS users who don't want to re-point their PYTHONPATH to an external Python, this answer has changed slightly for the bundled ...
1
vote
Why is QGIS not launching?
My QGIS was working perfectly fine until suddenly it didn't. I don't know what happened, but something had destroyed my user profile and prevented QGIS from launching.
All I needed to do was deleting ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
installation × 1239qgis × 478
ubuntu × 120
python × 117
arcgis-desktop × 114
arcpy × 102
gdal × 89
windows × 84
pyqgis × 67
mac × 63
postgis × 62
qgis-3 × 61
qgis-plugins × 60
linux × 47
grass-gis × 46
qgis-2 × 44
arcgis-server × 43
arcgis-pro × 43
arcgis-10.1 × 40
postgresql × 38
arcgis-10.2 × 38
geoserver × 37
windows-10 × 37
anaconda × 35
osgeo4w × 34