-
Notifications
You must be signed in to change notification settings - Fork 0
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
np.polyfit() error in EarthRef JupyterHub environment #17
Comments
Ah, ok, I'll take a look - the JupyterHub packages are definitely getting out of date! |
@Swanson-Hysell, I tried the notebooks on JupyterHub and couldn't reproduce the error above (I got a few other errors, but not that TypeError). Does running this as part of the rmag setup change the results in the MPMS notebooks?
|
@Swanson-Hysell, I added a Python 3.10 option as a kernel on JupyterHub and that seems to fix the numpy issue using the latest version of MPMS_goethite_fit.ipynb: |
@rminnett I am giving this a try. The first issue I bump into when using the Python 3.10 kernel is that pandas isn't available as a package. Now I can pip install it, but that seems non-ideal as it makes sense to have the standard scientific python packages available. |
Ok, I think it's better now after installing these packages in the 3.10 shared environment instead of just for the user:
@Swanson-Hysell are you able to run the latest version of the MPMS_goethite_fit.ipynb notebook now? |
We are running into a few errors associated with the 3.10 environment when trying to run the RockmagPy notebooks:
|
The np.polyfit() error and the plotly import error have been resolved. The ipywidget slider issue documented in issue #26 remains. |
The MPMS notebooks that use np.polyfit() are running fine locally for me, but are causing this issue on the EarthRef JupyterHub (perhaps needs an updated environment?).
The text was updated successfully, but these errors were encountered: