Comments (8)
I found the
jupyter.exe
file in the conda packages folder. I'm getting a different error now.(base) PS C:\Windows\system32> raco iracket install --jupyter-exe C:\Users\yashi\.conda\pkgs\jupyter_core-4.7.0-py38haa244fe_0\Scripts\jupyter.exe Unable to create process using 'C:\Users\yashi\.conda\pkgs\jupyter_core-4.7.0-py38haa244fe_0\python.exe C:\Users\yashi\.conda\pkgs\jupyter_core-4.7.0-py38haa244fe_0\Scripts\jupyter-script.py --data-dir' Received non-zero exit code from jupyter command.
This path also contants the
jupyter-script.py
file but not thepython.exe
file. That could be causing this error. But Python is included in the system path already.
I was having the same issue, however I found second executable named jupyter.exe
under:
C:\Users\user_name\anaconda3\Scripts
When I ran in powershell:
PS C:\Users\user_name> raco iracket install --jupyter-exe C:\Users\user_name\anaconda3\Scripts\jupyter.exe
Kernel installed in "C:\\Users\\user_name\\AppData\\Roaming\\jupyter\\kernels\\racket"
I encountered no issues and was able to use the iracket kernel.
from iracket.
Thanks @pgdanes, I've pushed a fix for the executable name on Windows.
from iracket.
I encountered the same problem trying to install it on windows.
It seems to be the behaviour of (find-executable-path)
on windows is affecting this segment
(define (get-jupyter-exe [fail-ok? #f])
(or (*use-jupyter-exe*)
(find-executable-path "jupyter")
(if fail-ok? #f (raise-user-error "Cannot find jupyter executable."))))
> (find-executable-path "jupyter")
#f
> (find-executable-path "jupyter.exe")
#<path:C:\Users\...\miniconda3\Scripts\jupyter.exe>
Would it be worth adding in a flag for windows specific installations?
from iracket.
Can replicate
from iracket.
The argument to the --jupypter-exe
flag is the complete path to the Jupyter executable, not to its data directory. If the jupyter command is in your path, you should be able to just call raco iracket install
. What happens when you try that?
from iracket.
Both jupyter and racket are in the path of the Anaconda Powershell Prompt, running as administrator. Here's the output if I dont provide --jupyter-exe
flag -
(base) PS C:\Windows\system32> raco iracket install
Cannot find jupyter executable.
Also, here's the path to Jupyter runtime
(base) PS C:\Windows\system32> jupyter --runtime-dir
C:\Users\yashi\AppData\Roaming\jupyter\runtime
Now, using the runtime path also gives the same error.
(base) PS C:\Windows\system32> raco iracket install --jupyter-exe C:\Users\yashi\AppData\Roaming\jupyter\runtime
Received non-zero exit code from jupyter command.
Which file path should I use for Jupyter?
from iracket.
You need to find where jupyter.exe
is installed and provide the complete path to that executable file (not just the directory part) as the argument to --jupyter-exe
. That is, the argument should end with jupyter.exe
.
from iracket.
I found the jupyter.exe
file in the conda packages folder. I'm getting a different error now.
(base) PS C:\Windows\system32> raco iracket install --jupyter-exe C:\Users\yashi\.conda\pkgs\jupyter_core-4.7.0-py38haa244fe_0\Scripts\jupyter.exe
Unable to create process using 'C:\Users\yashi\.conda\pkgs\jupyter_core-4.7.0-py38haa244fe_0\python.exe C:\Users\yashi\.conda\pkgs\jupyter_core-4.7.0-py38haa244fe_0\Scripts\jupyter-script.py --data-dir'
Received non-zero exit code from jupyter command.
This path also contants the jupyter-script.py
file but not the python.exe
file. That could be causing this error. But Python is included in the system path already.
from iracket.
Related Issues (12)
- To eval or not to eval HOT 4
- Kernel not found in Mac OS due to issue with libzmq HOT 5
- Optionally start the kernel with a trusted sandbox HOT 4
- Can't use with Rosette, seemingly because it can't start subprocesses HOT 2
- Language "deinprogramm": Record definition does not work HOT 2
- Access disallowed by code inspector to protected variable
- Jupyter notebook app failed to restart KernelRestarter
- libzmq-5 not found on Apple M1 silicon HOT 1
- Cannot find jupyter executable HOT 1
- Rendering HTML in cell output HOT 1
- error HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iracket.