-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
5.1.2 Mac installer broken? #16336
Comments
installs fine but fails 'cannot load kernel'. |
PR #16337 should fix the issue. Note that this only affects IPython consoles that use the internal (same as Spyder) interpreter. External interpreters are not affected. |
Your options are: (a) use an external interpreter until 5.1.3 is released or (b) use the artifact from the pull request. |
For documentation, the full traceback: Traceback (most recent call last):
File "runpy.pyc", line 197, in _run_module_as_main
File "runpy.pyc", line 87, in _run_code
File "/Users/rclary/Applications/Spyder.app/Contents/Resources/lib/python3.9/spyder_kernels/console/__main__.py", line 23, in
start.main()
File "/Users/rclary/Applications/Spyder.app/Contents/Resources/lib/python3.9/spyder_kernels/console/start.py", line 282, in main
from ipykernel.kernelapp import IPKernelApp
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 664, in _load_unlocked
File "", line 627, in _load_backward_compatible
File "", line 259, in load_module
File "ipykernel/kernelapp.pyc", line 42, in
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 664, in _load_unlocked
File "", line 627, in _load_backward_compatible
File "", line 259, in load_module
File "ipykernel/ipkernel.pyc", line 20, in
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 664, in _load_unlocked
File "", line 627, in _load_backward_compatible
File "", line 259, in load_module
File "ipykernel/debugger.pyc", line 17, in
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 664, in _load_unlocked
File "", line 627, in _load_backward_compatible
File "", line 259, in load_module
File "debugpy/server/__init__.pyc", line 9, in
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 664, in _load_unlocked
File "", line 627, in _load_backward_compatible
File "", line 259, in load_module
File "debugpy/_vendored/__init__.pyc", line 18, in
NotADirectoryError: [Errno 20] Not a directory: '/Users/rclary/Applications/Spyder.app/Contents/Resources/lib/python39.zip/debugpy/_vendored' |
Thanks for your help @mrclary! I'll wait a couple of days to see if other major problems appear, otherwise I'll release 5.1.3 with your fix. However, we should find a way to automatically test our installers to avoid this problem in the future. |
See #14138. |
This comment has been minimized.
This comment has been minimized.
Thanks for taking a look of my problem. |
@IvanLiuTW, please open a new issue about your problem because it's different from this one. |
ok, got it. Thanks for reply! |
What steps will reproduce the problem?
I installed the update (my first update after installing and working with Spyder for the last 2 days). In the update, the kernel will not load (macOS Catalina):
NotADirectoryError: [Errno 20] Not a directory: '/Applications/Spyder.app/Contents/Resources/lib/python39.zip/debugpy/_vendored'
The text was updated successfully, but these errors were encountered: