-
Notifications
You must be signed in to change notification settings - Fork 326
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
Support for Python libraries like numpy #7678
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm having some issues with running the example
This is unlikely to be in scope of this PR, but do we have plans on allowing most common Python libraries in the Enso Cloud? In the cloud version, I don't think the user has access to create the virtual environment in the (For longer term, I guess ideally we should expose some kind of UI to allow the user to install any custom library available in |
it might also be possible to do some static analysis, to extract all the import statements from the python code. depending on where the code is coming from though, i think version conflicts might be an issue though. for example, if copy-pasting code and having it Just Work is an intended usecase, if someone pastes code from a really old numpy version they might be using some deprecated functions |
That will probably happen in the future.
Maybe. The goal of this PR is to allow James, Sylwia & other colleagues to install and use |
Here is the output of the integration test that installs |
The Enso solution to versioning is based on editions. The Python equivalent of that is virtual environment. Hence I opted for using it and required it to be part of the project for the sake of simplicity.
In my opinion this is an interactive task and thus a task for the IDE. Component browser could offer functions from Python libraries and then handle the version resolution, installation via Btw. I imagine following personas:
In any case your idea aims far beyond the goal of this simple PR. However the topic of using |
Pull Request Description
Fixes #7388 by describing steps to create Enso project that can use
numpy
library.Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:
Scala,
Java,