-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Creating JupyterLab Extension following tutorial doesn't work on Windows #6972
Comments
Hey John, I try the tutorial on my pc. The conda environment fails indeed. But I do not have any problem with |
When I type (jupyterlab-ext2) C:\Users\ecoad\jupyterlab_apod2>conda info
populated config files : I am running this from my computer at home and I don't know how to check for firewall or anti-virus. I will mention that jlpm worked fine using an older version of jupyterlab 0.35.3. |
@jcoady Thanks for reporting back. An error in the conda recipe was the cause of the bug. While waiting for a new package release, you could downgrade to |
The new package is available. When upgrading, be sure to check the version jupyterlab=1.0.6=py37_1. |
I tried following this tutorial to create a jupyterlab extension using a Windows machine.
https://jupyterlab.readthedocs.io/en/stable/developer/extension_tutorial.html#extension-tutorial
I was not able to perform the steps in the tutorial on a Windows machine and get a working jupyterlab extension.
The first problem I encountered was with the very first step.
conda create -n jupyterlab-ext -c conda-forge --override-channels jupyterlab cookiecutter nodejs git
This reported the following error.
I get the error
PackageNotFoundError: The following packages are not available from the current channels
-nodejs --> vs2015_runtime
The suggested workaround was to perform the following command instead.
conda create -n jupyterlab-ext --override-channels --strict-channel-priority -c conda-forge -c anaconda jupyterlab cookiecutter nodejs git
Which seemed to work.
The next problem was that the command
jlpm install
did not seem to work. It returned 3 lines
yarn install v1.15.2
info No lockfile found.
[1/4] Resolving packages...
and then returned the command prompt so I am not sure if it installed correctly. I think on a Linux machine this command output a lot more stuff.
Next the command
jupyter lab --watch
did not open jupyterlab in a browser window.
So I tried running jupyterlab without watch mode and it indicated that a build was required with a popup window. I clicked on the button to perform the build. After a while I got an error message that the build failed.
Build Failed
Build failed with 500, please run 'jupyter lab build' on the server for full output
So it seems that there are a lot of problems getting this jupyter labextension tutorial to work on Windows.
Maybe someone on the JupyterLab team can try running this tutorial on Windows and fix all the problems so that other users can get through the tutorial problem free on a Windows machine.
The text was updated successfully, but these errors were encountered: