-
Notifications
You must be signed in to change notification settings - Fork 5k
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
[Do Not Merge] Troubleshooting the Homebrew installs #7006
base: main
Are you sure you want to change the base?
Conversation
@RRosio Thanks for looking into this! Do the CI macOS machines run on intel? If so, it would still be worthwhile explicitly calling I don't have access to an intel macOS machine right now, but I might be able to some time next week. |
Thanks for the feedback @defjaf! Based on the Github Actions docs it appears they do run on Intel. I will try to explicitly call Some additional notes:
I noticed that when working with the Apple Silicon Mac Homebrew Python installation |
@RRosio writes:
Yes, this seems to be the problem (or perhaps more than one):
How does the homebrew/hatch/pip/jupyter combination decide on the location for data files? The hatch docs say that such |
I can confirm that everything works fine on macOS with homebrew on Intel as well. It does seem that (most of?) the problem is that the shared-data files are going into I'm not completely sure that this is 100% of the problem, since the "schema"-related console output still appears even with JUPYTER_PATH=/opt/homebrew/share/jupyter JUPYTER_CONFIG_PATH=/opt/homebrew/etc/jupyter jupyter notebook |
Another set of data points regarding running the notebook in a virtual environment on macOS with homebrew python (
This last bullet is surprising. What is the difference between |
I'd like to add here that I tried modifying the code in
This is something I will have to look into more as I am not sure about the difference. In trying this myself, I received errors with both commands, |
You can start the notebook application with Line 43 in 76db867
Or with Lines 4 to 6 in 76db867
|
Thank you @jtpio for the clarification! Is it then that we should expect that there would be no difference when running the two commands? My thinking was that the |
This is what I would also expect, although not entirely sure. Maybe leaving a |
I've been out of contact for a few weeks; is there anything that I (a motivated and enthusiastic amateur with no direct knowledge of the jupyter-* codebase, but many years with python in general) can do to help with this set of issues? |
I've been looking a little more carefully at But I think the underlying problem is So note that there are two issues which might be separate:
(Possibly relevant aside: this investigation prompted me to try setting |
(I'm also not sure if this is the best/right place for this discussion...) |
There is also the recent jupyter/jupyter_core#364 which could be related? |
Possibly, for the non-default |
Yet more information (but still no solutions) at #6974 (comment). TL;DR: the "schemas" issue is due to a call with the incorrect
|
FWIW, and as expected, all of these errors and misbehaviours vanish for the python.org framework build (of 3.12, but I assume more generally), without requiring any special environment variables or other changes. This still lets me install packages by pip and not be wedded to using a venv, so I think I am moving back to this infrastructure from homebrew, at least for now. |
No description provided.