Giter VIP home page Giter VIP logo

Comments (4)

mcucchi9 avatar mcucchi9 commented on May 26, 2024 1

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.

mcucchi9 avatar mcucchi9 commented on May 26, 2024

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.

jbusecke avatar jbusecke commented on May 26, 2024

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.

ashwinvis avatar ashwinvis commented on May 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.