You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Move to the root of the repo package
cd <jupyter-ai-top>
# Installs all the dependencies and sets up the dev environment
./scripts/install.sh
Which obviously won't work on Windows. Modifying the install.sh to an install.bat seems trivial, but there is an error when executing call jlpm install
Reproduce
Start up windows, install mamba, setup an environment install jupyter-ai as explained in the docs:
Setup environment:
conda create -n jupyter-ai python=3.11
Activate environment:
conda activate jupyter-ai
From the jupyter-ai code directory (version f9c8033 ) run this:
(jupyter-ai) C:\structure\code\jupyter-ai>call jlpm install
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "C:\Users\rober\miniconda3\envs\jupyter-ai\Scripts\jlpm.exe\__main__.py", line 7, in <module>
File "C:\Users\rober\miniconda3\envs\jupyter-ai\Lib\site-packages\jupyterlab\jlpmapp.py", line 43, in main
execvp("node", ["node", YARN_PATH, *argv])
File "C:\Users\rober\miniconda3\envs\jupyter-ai\Lib\site-packages\jupyterlab\jlpmapp.py", line 24, in execvp
cmd = which(cmd)
^^^^^^^^^^
File "C:\Users\rober\miniconda3\envs\jupyter-ai\Lib\site-packages\jupyterlab_server\process.py", line 61, in which
raise ValueError(msg)
ValueError: Please install Node.js and npm before continuing installation. You may be able to install Node.js from your package manager, from conda, or directly from the Node.js website (https://nodejs.org).
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋
Please let us know if the Bash script works in WSL. We would also be open to a PR with a working install.bat file, preferably if we could automatically update one of the files when the other changes.
Description
Hi all,
I'm a developer who is considering to contribute to jupyter-ai. I work on Windows though. The development installation instructions for contributors mentions this terminal command:
Which obviously won't work on Windows. Modifying the install.sh to an install.bat seems trivial, but there is an error when executing
call jlpm install
Reproduce
Start up windows, install mamba, setup an environment install jupyter-ai as explained in the docs:
From the jupyter-ai code directory (version f9c8033 ) run this:
using this modified scripts/install.bat
This error shows in the error log:
Complete log:
error_log.txt
I presume I need to install something else before?
Expected behavior
The installation runs through successfully.
Context
Two things I can offer:
Just let me know if you're interested in having developer instructions / scripts for Windows folks.
The text was updated successfully, but these errors were encountered: