![]() ![]() I don’t usually use an anaconda environment, but I think this should work there as well. I have written a read me to help me install plotly on jupyterlab. 453 packages from 166 contributors and audited 454 packages in 30.7sīut another round of jupyter labextension install fails with the debug log saying again that it can’t find plotly.js (same as above). Npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\tj\package.json' npm WARN saveError ENOENT: no such file or directory, open 'C:\Users\tj\package.json' So it looks like it couldn’t find plotly.js. Info Visit for documentation about this command.Įrror: Couldn't find package required by on the "npm" registry.Īt C:\Users\tj\Anaconda3\share\jupyter\lab\staging\yarn.js:38113:17Īt step (C:\Users\tj\Anaconda3\share\jupyter\lab\staging\yarn.js:310:30)Īt C:\Users\tj\Anaconda3\share\jupyter\lab\staging\yarn.js:323:13Īt process._tickCallback (internal/process/next_tick.js:68:7) > node C:\Users\tj\Anaconda3\lib\site-packages\jupyterlab\staging\yarn.js install -non-interactiveĮrror Couldn't find package required by on the "npm" registry. It at least found the npm package but when trying to install it we had another issue: Node v10.13.0īuilding jupyterlab assets (build:prod:minimize) Looking at it’s debug log things made some progress. Then I ran jupyter labextension install again failed. From my Anaconda prompt I issued a npm config set registry Ĭommand. Has anyone successfully followed these steps and gotten plotly to work properly in a Jupyter Lab environment? It’s not clear to me where I’ve gone wrong. If I go to the NPM site I can find the package jupyterlab-plotly which indicates it’s version 4.9.0. So all indications to me are that it thinks it can’t find the nodejs package called jupyterlab-plotly. ![]() Npm ERR! A complete log of this run can be found in: Npm ERR! notarget a package version that doesn't exist. Npm ERR! notarget No matching version found for ERR! notarget In most cases you or one of your dependencies are requesting They are stable, well-tested, but mostly out-dated. The packages in the default channel are maintained by the conda team from Anaconda, Inc. At the time of writing, the version in the repositories is 12.22.9. Npm WARN registry Using stale package data from due to a request error during revalidation. Install Nodejs latest version from Conda-forge By default, conda will install nodejs, npm and other required packages from the default channel. Option 1 Installing Node.js with Apt from the Default Repositories Ubuntu 22.04 contains a version of Node.js in its default repositories that can be used to provide a consistent experience across multiple systems. > C:\Users\tj\Anaconda3\npm.CMD pack WARN registry Unexpected warning for : Miscellaneous Warning SELF_SIGNED_CERT_IN_CHAIN: request to failed, reason: self signed certificate in certificate chain ![]() The log file says the following: Node v10.13.0 See the log file for details: C:\Users\tj\AppData\Local\Temp\jupyterlab-debug-cm_yk8nr.log I also installed nodejs using: conda install nodejsīut when it comes time to do the Jupyter Lab specific stuff then this fails jupyter labextension install error occured. The following install commands all worked correctly conda install -c plotly plotly=4.9.0Ĭonda install "notebook>=5.3" "ipywidgets>=7.2"Ĭonda install jupyterlab "ipywidgets=7.5" I’m installing on top of a fresh Anaconda 64-bit install on a Windows 10 OS. ![]() I’m trying to install Plotly for use within a Jupyter Lab environment using the instructions from Plotly’s web site Instructions. Reaching directly public registry and have a private registry.This is a copy of an issue I posted on Stack Overflow, but now that I’ve found these forums I’ll repost here. To install some extensions, you will need access to an NPM packages registry. Jupyterlab/build directory manually if desired. IE 11 or Edge 14 do not supportĬSS Variables, and are not directly supported at this time.Ī tool like postcss can be used to convert the CSS files in the JupyterLab uses CSS Variables for styling, which is one reason for the The latest versions of the following browsers are currently known to work:Įarlier browser versions may also work, but come with no guarantees. Read the details on our JupyterLab on JupyterHub documentation page. Follow the instructions in the Quick Start GuideĮnsure your docker command includes the -e JUPYTER_ENABLE_LAB=yes flag to ensure If you have Docker installed, you can install and use JupyterLab by selecting one ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |