jupyter

import pyarrow not working <- error is “ValueError: The pyarrow library is not installed, please install pyarrow to use the to_arrow() function.”

[亡魂溺海] 提交于 2021-02-08 15:47:12
问题 I have tried installing it in the terminal and in juypter lab and it says that it has been successfully installed but when I run df = query_job.to_dataframe() I keep getting the error " ValueError: The pyarrow library is not installed, please install pyarrow to use the to_arrow() function.". I have no idea how to fix this. Any advice? I am trying to access data from google data studio ultimately with the code, from google.cloud import bigquery import pandas import numpy import pyarrow

No template sub-directory with name 'lab' found in the following paths

情到浓时终转凉″ 提交于 2021-02-08 15:38:10
问题 I am running a python azure function which is running a jupyter notebook via the nbconvert API. This was working for a time, although without deploying new code I have started to get the following error: No template sub-directory with name 'lab' found in the following paths:\n\t/home/.local/share/jupyter\n\t/usr/local/share/jupyter\n\t/usr/share/jupyter The code I am using to achieve this is: from nbconvert.preprocessors import ExecutePreprocessor from nbconvert import HTMLExporter ... dl =

How can I build a GUI to use inside a jupyter notebook?

送分小仙女□ 提交于 2021-02-08 12:21:33
问题 The idea is to be able to build and use the GUI inside the notebook, so working with a long function that has a lot of parameters is more efficient than just typing the characters in the notebook. Obviously not specifics, but if someone can point some library, project, links or any resources that might help. 回答1: I have looked all over internet. So far nothing. There's a message board in PyData where some developer states that jupyter doesn't support GUI. Aside from that, I was thinking

Huge proglem to load Plotly plots in Jupyter Notebook Python

放肆的年华 提交于 2021-02-08 10:37:23
问题 I have a huge problem with Jupyter Notebook. When he builds graphs using the plot packet, to display the next graph I have to reload the dataset, otherwise an error pops up: TypeError: list indices must be integers or slices , not str. When I reopen the project, all the graphs created using Plotly are not visible, just a white background and I have to reload them if I want to see them, and everything after reloading the dataset, that is: 1) I open the project in Jupyte Notebook, all graphs

Huge proglem to load Plotly plots in Jupyter Notebook Python

我与影子孤独终老i 提交于 2021-02-08 10:37:20
问题 I have a huge problem with Jupyter Notebook. When he builds graphs using the plot packet, to display the next graph I have to reload the dataset, otherwise an error pops up: TypeError: list indices must be integers or slices , not str. When I reopen the project, all the graphs created using Plotly are not visible, just a white background and I have to reload them if I want to see them, and everything after reloading the dataset, that is: 1) I open the project in Jupyte Notebook, all graphs

Atom: Setting up Hydrogen Launcher for use with Python 3.7

无人久伴 提交于 2021-02-08 09:08:16
问题 I am trying to set up Atom to be able to run Python code interactively and on a line-by-line basis, and have been trying to work with Hydrogen and its associated packages to that end. The Hydrogen package is working properly as intended, as I'm able to run the script on a cell-by-cell basis, and am able to choose which Python kernel to run the script with. However, the problem starts when I try to run it with Hydrogen Launcher, which is supposed to enable you to launch Jupyter consoles

pip installed google.colab and now unable to run code on Jupyter notebook

被刻印的时光 ゝ 提交于 2021-02-08 04:41:06
问题 I installed google.colab using pip install google.colab in my terminal, after doing this the jupyter notebook that I was working on stopped working. When I opened a new jupyter notebook, I could not run any code. When I tried to run any code it stayed stuck on In[*] . Before installing google.colab my notebooks were working fine. I tried restarting my kernel but that did not work. I also used pip uninstall google.colab but that gives the following: WARNING: Skipping google.colab as it is not

Updating R that is used within IPython/ Jupyter

僤鯓⒐⒋嵵緔 提交于 2021-02-07 19:41:31
问题 I wanted to use R within Jupyter Notebook so I installed via R Essentials (see: https://www.continuum.io/blog/developer/jupyter-and-conda-r). The version that got installed is the following: R.Version() Out[2]: $platform "x86_64-w64-mingw32" $arch "x86_64" $os "mingw32" $system "x86_64, mingw32" $status "" $major "3" $minor "1.3" $year "2015" $month "03" $day "09" $svn rev "67962" $language "R" $version.string "R version 3.1.3 (2015-03-09)" $nickname "Smooth Sidewalk" I have attempted to

Local copy of MathJax on a Jupyter notebook

ぃ、小莉子 提交于 2021-02-07 11:42:48
问题 I´m using the new Jupyter notebook (neé ipython notebook) and the docs indicate that it renders MathJax from a CDN. I have some situations when outside connections are blocked, so I need to configure a local copy of MathJax for all notebooks. How can I accomplish that? 回答1: On Arch Linux, installing 'community/mathjax' solves the problem. 回答2: As of 4.0 mathjax is part of the notebook as a dependency. There is no need for any extra installation. I am currently experimenting with jupyter on a

Local copy of MathJax on a Jupyter notebook

血红的双手。 提交于 2021-02-07 11:42:06
问题 I´m using the new Jupyter notebook (neé ipython notebook) and the docs indicate that it renders MathJax from a CDN. I have some situations when outside connections are blocked, so I need to configure a local copy of MathJax for all notebooks. How can I accomplish that? 回答1: On Arch Linux, installing 'community/mathjax' solves the problem. 回答2: As of 4.0 mathjax is part of the notebook as a dependency. There is no need for any extra installation. I am currently experimenting with jupyter on a