-
Notifications
You must be signed in to change notification settings - Fork 78
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
Ocean.py doesn't work properly with anaconda #1203
Comments
cc @trentmc |
I'm really happy that we got this feedback. Anaconda is the most widely-used python distribution / package manager for data science. It will be great if we support it well. (And, our friends at Anaconda Inc will be happy:) |
I've worked on this a lot yesterday, here is a summary of my work:
A) Publishing ocean-contracts on Anaconda
B) Publishing ocean-lib on Anaconda
C) Automation?
|
This is an excellent report, Calina.
I recently started getting messages that this will be deprecated soon (by python 3.12?). It suggested a replacement package, but I forget which. I recommend that we create a separate github issue to switch dependency from this package to the recommended replacement.
So far I have personally heard of just one user that really wanted to use anaconda, as part of predict-eth. So it's not urgent per se. However, if is important: a huge chunk of the python data science community uses anaconda, and I'd love to make it easy for them to start having web3 data management capabilities (aka Ocean) as part of their work flows. Therefore my suggestion is: keep gently nudging at this to nurture it along. |
Ocean-lib may not work when using a version of Python installed on the machine via Anaconda. I had Python 3.9.12 installed on my Mac M1 machine via Anaconda, and I could not import the ocean.py library using the python console inside a python3 venv. Normally, this version of Python would be within the dependency versions of Python for ocean-lib. (Note that this is uniquely different from using a conda virtual environment.) |
Veronica: Found issues of ocean.py with both:
@graceful-coder please add more details (or link to the issue you reported this) |
Please see Issue #1352 |
@calina-c had brought up this - with a request involved
@calina-c - what is the specific action, please, and how can I help, specifically? |
Updates:
|
Latest report: after removing eth-brownie, the only conda package missing from our dependencies is eciespy. |
Feedback from one of the Predict-ETH participant:
'Furthermore my computer was set up to work with anaconda not venv, and wasn’t keen on using venv because that’ll be using one py env on top of another. I had errors trying to connect brownie to the polygon network via conda and jupyter notebook. Thus in the end I used my conda env to create the predictions, but created one python script with all the code from step 4 onwards + helper functions to upload results.'
The text was updated successfully, but these errors were encountered: