Giter VIP home page Giter VIP logo

Comments (4)

kor0p avatar kor0p commented on June 12, 2024

@robintw
Hi)
As a common user, I found that first link references to alpha version 0.22.0a3, and I have tried to find this package in support list in release versions (0.22.0 or greater), and didn't find it...

Then I tried to use Pyodide REPL on version 0.22.0a3, but it didn't work too
So, maybe this package had some problems with installing in Pyodide...
Anyway, you can find file meta.yml for this module. You can try to update and use this file. Reference for new packages in Pyodide

from pyodide.

hoodmane avatar hoodmane commented on June 12, 2024

@deeplook @ryanking13 does this issue make sense to you? Is gdal supposed to provide a module named osgeo? I see that pyodide._api.lockfile_packages.gdal.imports is an empty list, so gdal doesn't define any imports?

from pyodide.

ryanking13 avatar ryanking13 commented on June 12, 2024

The list in https://pyodide.org/en/0.22.0a3/usage/packages-in-pyodide.html is incorrect. The gdal package in that list means the shared library (libgdal) not the gdal python package. We removed the non-python packages from that list, but probably the alpha release doc has incorrect package list.

We are using libgdal in fiona (and geopandas that uses fiona) but we don't have gdal python binding itself in Pyodide yet. I think including it won't be very hard because we already have libgdal. But someone would need to work on it.

from pyodide.

robintw avatar robintw commented on June 12, 2024

Thanks, that's really helpful.

I'm surprised that the standard build of GDAL didn't automatically build the Python library. There might be a way to turn this on in the build script for GDAL - I'll have a little look myself, but if anyone else knows how to go about this then please feel free to chip in.

from pyodide.

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.