Comments (4)
Hi @jbusecke. Yes, a pure conda
installation works fine, even when cartopy=0.20
is installed (which looks like being the source of the reported issue with pip
). The following command correctly installs xmovie
with cartopy=0.20.2
and proj=9.0.0
:
conda create --override-channels -c anaconda -c conda-forge -n xmovie python=3.9 xmovie
from xmovie.
Fix
conda
environment
Install proj
from conda-forge
prior installing xmovie
:
conda create -n xmovie python=3.9
conda activate xmovie
conda install -c conda-forge proj
pip install xmovie
venv
environment
Install version cartopy==0.19.0.post1
before installing xmovie
(see SciTools/iris#4468 (comment))
python3 -m venv venv
source venv/bin/activate
pip install cartopy==0.19.0.post1
pip install xmovie
from xmovie.
Thanks for reporting this problem @mcucchi9. This is certainly frustrating.
Does a conda only install e.g. conda create -n xmovie python=3.9 xmovie
work for you? I have had some issues with cartopy dependencies via pip in other contexts lately.
I am however not quite sure how to fix this. If the above works, I could add appropriate warnings to the readme/docs, but it would be nice to find a more elegant solution for this.
from xmovie.
Would it be possible to make cartopy
as an optional dependency?
Context: We use xarray
in the library pymech
and snek5000
and we would like to try out xmovie
(snek5000/snek5000#118). We do not foresee the use of cartopy
in those packages and IIRC, it can be notoriously difficult to install without conda.
from xmovie.
Related Issues (20)
- Many stale branches HOT 1
- Multiple panels with multiple xarray objects HOT 1
- How to plot contour lines on top of animation HOT 4
- `xmovie` google search is definitely NSFW (close call) HOT 1
- error during pip install (`geos_c.h` not found)
- Use pytest-xdist? HOT 1
- Gif generation breaks non-standard aspect ratios
- Lighten requirements? HOT 3
- Docs build failing
- Title on Rotating globe preset HOT 4
- Wrong version appearing on v0.2.2 release HOT 6
- Parallel plotting isn't working with Datasets HOT 4
- Fully support xr.Dataset input
- Custom plot with projection HOT 3
- Error saving when using parallel option on Dataset, index error on the dims HOT 4
- gif always small HOT 5
- Deprecation warnings in the tests
- How can I use ProPlot? HOT 7
- Feature request for `bbox_inches = "tight"` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xmovie.