![]() 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. This is a copy of an issue I posted on Stack Overflow, but now that I’ve found these forums I’ll repost here. Figure ( data = data, layout = layout ) py. Surface ( x = x, y = y, z = z ) data = layout = go. cos ( tGrid ) # z = r*cos(t) surface = go. sin ( tGrid ) # y = r*sin(s)*sin(t) z = r * np. sin ( tGrid ) # x = r*cos(s)*sin(t) y = r * np. sin ( 7 * sGrid 5 * tGrid ) # r = 2 sin(7s 5t) x = r * np. Import chart_otly as py import aph_objects as go import numpy as np s = np. ![]() iplot ( fig, filename = 'jupyter-Nuclear Waste Sites on American Campuses' ) Layout ( title = 'Nuclear Waste Sites on Campus', autosize = True, hovermode = 'closest', showlegend = False, mapbox = dict ( accesstoken = mapbox_access_token, bearing = 0, center = dict ( lat = 38, lon =- 94 ), pitch = 0, zoom = 3, style = 'light' ), ) fig = dict ( data = data, layout = layout ) py. read_csv ( ' o n American Campuses.csv' ) site_lat = df. Import chart_otly as py import aph_objects as go import pandas as pd # mapbox_access_token = 'ADD YOUR TOKEN HERE' df = pd. See examples of statistic, scientific, 3D charts, and more here. Plotly: a graphing library for making interactive, publication-quality graphs.SciPy: a Python-based ecosystem of packages for math, science, and engineering.NumPy: a package for scientific computing with tools for algebra, random number generation, integrating with databases, and managing data.Pandas: import data via a url and create a dataframe to easily handle data for analysis and graphing.Some useful packages that we'll use in this tutorial include: You can reload all changed modules before executing a new line. IPython comes with automatic reloading magic. You may want to reload submodules if you've edited the code in one. When installing packages in Jupyter, you either need to install the package in your actual shell, or run the ! prefix, e.g.: !pip install packagename Skip down to the for more information on using IRkernel with Jupyter notebooks and graphing examples. You can also use Jupyter notebooks to execute R code. The bulk of this tutorial discusses executing python code in Jupyter notebooks.
0 Comments
Leave a Reply. |