Replies: 1 comment 2 replies
-
unless we're doing something really wrong on our side, this feels to me like an upstream issue to ask at Pyodide folks, as we just trust Pyodide mechanism to resolve packages in the best way, we only interfere with the cache, also generated by micropip. Have you checked if there is either a known issue or a known solution to this problem in there? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to load the
skyfield
package.It has one non-pure python package
sgp4
.The author has made a pure python version -
sgp4_pure_python
which has aprovides
tag which says it provides for sgp4.This package loads successfully on its own but
skyfield
will not load.The idea behind this idea is so I could load the
sgp4_pure_python
package and then loadskyfield
This might then succeed.
At the moment I still get error "no pure python package for sgp4 can be found"
SO
sgp4_pure_python
to be loaded beforeskyfield
as all is async, orprovides
tag insgp4_pure_python
package, ordeps option
in micropip.deps
in the toml file ? That might allow me to load the skyfield package.The problem is documented here (on the skyfield github) - skyfielders/python-skyfield#1040 (comment)
Working sgp4 demo is here: https://pyscript.com/@neon22/sgp4-starter-pkg/latest?files=main.py,pyscript_py.toml
Nonworking skyfield demo is here: https://pyscript.com/@neon22/skyfield-starter-pkg/latest?files=main.py,pyscript_py.toml
Beta Was this translation helpful? Give feedback.
All reactions