Skip to content

Commit 96a5db2

Browse files
authored
Add pip install option, fixes #39
1 parent 757b29a commit 96a5db2

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ The Trajectools plugin adds trajectory analysis algorithms to the QGIS Processin
1010

1111
Trajectools requires [MovingPandas](https://github.com/movingpandas/movingpandas) (a Python library for movement data analysis) and optionally integrates [scikit-mobility](https://scikit-mobility.github.io/scikit-mobility/) and [gtfs_functions](https://github.com/Bondify/gtfs_functions).
1212

13+
### Conda install
14+
1315
The recommended way to install these dependencies is through conda/mamba:
1416

1517
```
@@ -21,6 +23,19 @@ The recommended way to install these dependencies is through conda/mamba:
2123

2224
(More details: https://anitagraser.com/2023/01/21/pyqgis-jupyter-notebooks-on-windows-using-conda/)
2325

26+
### Pip install
27+
28+
If you cannot use conda, you may try installing from the QGIS Python Console:
29+
30+
```
31+
import pip
32+
pip.main(['install', 'movingpandas'])
33+
pip.main(['install', 'scikit-mobility'])
34+
pip.main(['install', 'gtfs_functions'])
35+
```
36+
37+
## Plugin installation
38+
2439
The Trajectools plugin can be installed directly in QGIS using the built-in Plugin Manager:
2540

2641
![plugin manager](https://github.com/movingpandas/qgis-processing-trajectory/assets/590385/edd86ed3-8118-4163-bfe5-993b533e455c)

0 commit comments

Comments
 (0)