-
Notifications
You must be signed in to change notification settings - Fork 39
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
Request python package numpy version 1.19.5 for class 105 / ESPM 125 #2782
Comments
@Elias326 when I open that notebook and look for "genomics" I see no import statements corresponding to that word. Can you please go into more detail on what it means to run the genomics library on the notebook and what/where I need to click/type within the notebook in order to reproduce this error? My thinking is maybe instead of downgrading numpy I could try upgrading numba. However, I need a reproducible test case. |
Hi @felder ! My bad for the misspelling. It's no genomics it's geonomics. The import is: import geonomics as gnx. There is a cell that imports all the packages. If you run that one, you can see the error:
|
Thanks! Looking for geonomics and running the cell with the import statement for it produces a suitable test case.
|
Correct. This is the error I am seeing. I am hoping that if one package is updated that all packages in that cell work as well. Thank you! |
@Elias326 there are a few dependency issues here. In order to get this one cell to execute with the only warning being the display I had to install tskit, msprime, and pykrige as well. Additionally when I simply told pip to just install the packages I had other dependency conflicts. I suspect the issue is related to the warning message pip gives me when I run it:
Namely the package maintainers may not have done the above which leads to pip not installing the right versions of each dependency. In order to resolve all of the conflicts I have to run the following from a terminal in my own instance (restart your notebook kernel after doing so if you have the notebook open) and force these specific versions:
Fortunately I don't see any of those packages being specifically installed as part of the image build. It's certainly possible they represent dependencies for packages, however. Before I make any changes @Elias326 can you run the above pip installation command in your own hub instance and then verify your notebooks all run correctly? Note that changes to your own hub are reverted each time your server is restarted. You can use this to your advantage to bring your environment back to the "default" state while testing. If possible I'd like to make all of the necessary changes here at once. |
Elias would like to meet with me over zoom to work through this issue further. He says he is having other problems. Scheduled a zoom session for Thursday. |
I also worry that downgrading numpy might affect other classes. One option here is to add this command (copied from @felder above) at the top of the notebooks running into this issue:
This should fix it just for that session, and not affect other classes. numba/numba#7176 is the upstream issue fixing this in numba. |
Noting that I did meet with Elias last week to give him some tips and suggestions for how to go about tackling the issues he's experiencing with his notebook. |
turns out its a fiddly package that we need to get more info from the owner before we attempt to launch this notebook |
Any update here? |
@ericvd-ucb @Elias326 Any updates? Can we close this issue if it is not relevant anymore? |
@Elias326 @ericvd-ucb Closing this issue for now! Please feel free to reopen whenever the package is required. |
Which package do you want installed? numpy version 1.19.5. For reference: (https://pypi.org/project/numpy/1.19.5/)
Please provide more information about the package, such as the version you require, missing functionality you need, and a URL to the website for the package.
Are there specific package dependencies? N/A
Which hub do you want it installed on? For example r.datahub, datahub, data100.datahub, etc. Datahub
Which class will use this package? IB 105 / ESPM 125 with Instructor Kathy Nagel
Include a link to appropriate entry in https://classes.berkeley.edu/ if available. If not, please mention class name & instructor.
Which semester will this package be used for? Fall 2021
This helps us clean up unused packages after a term ends.
Any additional information we should know about? When previously running the genomics library on this Notebook, we come across an error that states "ImportError: Numba needs NumPy 1.20 or less." I am also unsure if this will cause other conflicts with other packages so I want to make sure all packages run smoothly with appropriate versions. Thank you.
The text was updated successfully, but these errors were encountered: