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 Npm WARN registry Using stale package data from due to a request error during revalidation. > 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. The Open recent option displays a list of the recent notebooks you opened in Spyder, from which you can select them and open them again in Spyder.This is a copy of an issue I posted on Stack Overflow, but now that I’ve found these forums I’ll repost here. ![]() Click any notebook that you want to open inside Spyder and you will be able to see it as a new tab in the Notebook pane. 8 hours ago &0183 &32 Another way to debug server launch errors is by trying to launch JupyterLab by using system Terminal and using the same launch parameters as the desktop app. For this go to the options menu at the top right of the pane and click Open, which will allow you to look for ipynb files in your computer. You can also open any Jupyter Notebook inside Spyder. This will store your notebook locally with the ipynb extension, which will allow you to open it then as a Jupyter Notebook outside of Spyder. To save this notebook go to the options menu at the top right of the pane and click the Save as… option. This can serve as a scratch pad where you can do quick calculations and plots. A new Jupyter Notebook will be opened as a tab, ready for user input in a temporary file. You can also click the Plus button at the top right of the pane. When switching to it, a welcome screen will be displayed, from where you can create a new notebook by right-clicking it and selecting New notebook. You will see it then as a tab in the bottom of the editor area. When the Notebook is installed, it will be available under the menu item View ‣ Panes ‣ Notebook.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |