-
Notifications
You must be signed in to change notification settings - Fork 485
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
jupyter fails with cannot execute binary file: Exec format error #1691
Comments
Ok, I managed to get it to run, it's a bit weird; this is still from
Then, I kind of started suspecting the path
Ok, so it seems the path to python which has
... and here I get a browser raised too - so it is all good... or maybe it isn't, because maybe the
Not sure how to handle this ... Though, in #1540 there is:
.... which I'd try, but I cannot find a directory containing the string "notebook" anywhere on that page ... EDIT: Turns out, if I call
... but it doesn't really work, possibly because of this bug? Kernel not connected Python 3.7 · Issue #4444 · jupyter/notebook - here it is linked to |
@sdbbs : with the latest update I see the same, before that it was working. I'll look into this. Also you need to start |
Need update nodejs and then update Jupiter notebook, in other case we can’t get it working |
Hi guys, Thanks a lot for the responses! My OP was from 08 July 2019; at that time,
Some days ago, I noticed something was updated for
So, I decided to try it again; again, first with MINGW64, fails:
So, I thought - hey, if it complains about "MS-DOS", and it doesn't run in MSYS2 - maybe it will run in MINGW32? And yeah, it does:
... although, when you open a new Python 3 notebook, it starts a kernel, but then it is just stuck on "Connecting to kernel". Not sure if this latest Btw, i got worried about
That, unfortunately, did not solve the issue with
This did not solve the
So, I guess I "just" need to find and install EDIT: Just wanted to say I found this, from 2013: Windows build (ghc-devs):
... although, I found also this from 2013, which implies otherwise: Building a DLL with MinGW and loading it with Python's ctypes module - Stack Overflow:
|
Hello, If I try to run
Now, running
Regarding the second error message, this "building" in the path is probably reminiscent of the machine on which the binaries where compiled? Regarding the first error message, it is strange that
In fact, they are the only executables that are listed as MS-DOS in the whole mingw64/bin directory:
So the recipe that builds the jupyter packages must be broken. |
@sbrisard building jupiter is broken as updating nodejs too. There are no currently maintainers for this packages and I dont have time and wish to support them myself. So if you want to see issue solved you can try to do this job, in other case wait if someone want to do it. |
@Alexpux Fair enough! Thank you for this quick answer. I am not competent enough to take on maintenance of this package. Will try and find another solution. |
Using msys2/mingw64 updated today, on a Windows 10 (64-bit) machine. I want to install Jupyter - so first, I tried to look at https://jupyter.org/install which says "Installing Jupyter with pip"; turns out Jupyter install via pip fails in MSYS2 shell:
... and it turns out, I cannot use
pip
in MINGW64 ( python - Pip on MINGW64? - Stack Overflow )So, then I opened a MINGW64 shell, and tried to install the binary packages:
Fine - now I should test the start with
jupyter notebook
but:Just in case, I tried this in MINGW32 too:
The same error for MINGW32 also appears for MSYS2 shell too, which I guess is expected.
But I certainly did not expect
cannot execute binary file: Exec format error
when runningjupyter notebook
in MINGW64.So, how can I run jupyter on MINGW64?
EDIT: just tried to run jupyter.exe in cmd.exe:
... and I got a popup window with:
... it is recognized as 16-bit application?!
The text was updated successfully, but these errors were encountered: