Skip to content

Commit

Permalink
Update requirements. Add apt install to fix opencv import issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
adehecq committed Oct 14, 2022
1 parent 44a1aa1 commit a843446
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
2 changes: 2 additions & 0 deletions apt.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Needed to fix ImportError on binder with opencv
libgl1-mesa-glx
3 changes: 2 additions & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ dependencies:
- jupyter
- jupytext
- numpy
- opencv
- matplotlib
- rasterio

- pip
- pip:
- git+https://github.com/GlacioHack/geoutils.git
- git+https://github.com/GlacioHack/xdem.git
10 changes: 6 additions & 4 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,15 @@ classifiers =
[options]
package_dir = # Empty = Root directory
packages = find:
python_requires = >=3.7
python_requires = >=3.8
install_requires =
ipython
jupyter
jupytext
numpy
scipy
matplotlib
jupyter
rasterio
scipy
opencv
geoutils
xdem

Expand Down

0 comments on commit a843446

Please sign in to comment.