Giter Club home page Giter Club logo

Comments (9)

mpu-creare avatar mpu-creare commented on June 17, 2024

How are you installing podpac? It looks like you're using a requirements.txt file?

from podpac.

isabellasoldner avatar isabellasoldner commented on June 17, 2024

Just a setup.py file
Minimum example:

setup(
            name="repo-name",
            version="v1.6.2",
            packages=find_packages(),
            install_requires=[podpac[all]>=2.2.1])

and then via requirements.txt

from podpac.

ketozhang avatar ketozhang commented on June 17, 2024

Same issue, it's a osgeo is a dependency of podpac==3.1.0 and maybe >=3

from podpac.

jmilloy avatar jmilloy commented on June 17, 2024

I don't see osgeo specified as a requirement in the podpac setup.py file.

The osgeo module is required for the new OGR datasource, and indeed it is found in the gdal package instead of the dummy osgeo package. I didn't include gdal in the podpac setup.py requirements because it can be a headache, and I definitely didn't include the dummy osgeo package.

It seems like somehow osgeo ends up in your requirements.txt file, even though it shouldn't. Can either of you be more specific about how you are installing podpac? At what point do you create and/or use a requirements.txt file, and can you post that file?

from podpac.

jmilloy avatar jmilloy commented on June 17, 2024

I can confirm that simply installing podpac using pip install podpac[all] causes this error.

Note that installing from the local repository with pip install .[all] works just fine.

from podpac.

mpu-creare avatar mpu-creare commented on June 17, 2024

I figured it out. I'll push a 3.1.1 later this afternoon.

I had a local change in my setup.py file when I uploaded it to PyPi... was testing something for someone...

from podpac.

mpu-creare avatar mpu-creare commented on June 17, 2024

Okay, I just pushed 3.1.1 up to PyPI. Please let me know if that fixes your problem.

from podpac.

isabellasoldner avatar isabellasoldner commented on June 17, 2024

Seems to work now, yes. Thanks for fixing!

from podpac.

mpu-creare avatar mpu-creare commented on June 17, 2024

Great! Sorry for the initial mistake.

from podpac.

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.