-
Notifications
You must be signed in to change notification settings - Fork 290
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
marimo tries to install cv2 with pixi if cv2 python module is not available #1071
Comments
See also prefix-dev/pixi#958 for a related discussion on pixi. |
We have a rudimentary mapping from python module names to names on pypi, and cv2 isn't on there, moreover cv2 has a different name on pypi than on conda forge. I looked at the discussion and our link to https://raw.githubusercontent.com/regro/cf-graph-countyfair/master/mappings/pypi/name_mapping.yaml -- can we just use that as our mapping source of truth? It looks pretty comprehensive ... |
This also looks incomplete. It's missing If anyone knows of a canonical open mapping from module names to pypi/conda package names, that would be very helpful. |
I have a PR out that fixes the particular case of |
Some tricky ones are added in https://github.com/conda-incubator/grayskull/blob/main/grayskull/strategy/config.yaml, and new one can be added by the community, see also conda/grayskull#168 . |
Thanks a lot for the quick fix! |
Describe the bug
First of all, thanks a lot for all the work on marimo!
I saw the feature in https://twitter.com/marimo_io/status/1774168957739827442, and I wanted to try it.
On purpose, I tried a bit tricky use case: a case in which the Python module is not called as the conda package, that is the
cv2
method that is provided by theopencv
conda-forge package.In this case, the functionality fails:
This is the notebook:
Environment
Code to reproduce
See original issue.
The text was updated successfully, but these errors were encountered: