jupyter-notebook

Why don't I need “%matplotlib inline” in my jupyter notebook?

﹥>﹥吖頭↗ 提交于 2021-02-18 14:00:53
问题 I am just trying to understand why my jupyter installation does not require me to run '%matplotlib inline' (which, according to everything I've read, I should have to run that to get my plots inline in my jupyter notebook). But the fact is, my matplotlib plots appear inline in my notebook whether I run '%matplotlib inline' or not. I am running an anaconda install of jupyter on ubuntu under WSL, using chrome as the client to my notebook server. jupyter --version 4.4.0 and jupyter-notebook -

Why is import cntk as C not working in google colab

杀马特。学长 韩版系。学妹 提交于 2021-02-18 12:54:45
问题 I installed opencv version 3.4.4, installed cntk,Importing into google collab gives the following results. import cntk as C /usr/local/lib/python3.6/dist-packages/cntk/cntk_py_init.py:56: UserWarning: Unsupported Linux distribution (ubuntu-18.04). CNTK supports Ubuntu 16.04 and above, only. warnings.warn('Unsupported Linux distribution (%s-%s). CNTK supports Ubuntu 16.04 and above, only.' % (__my_distro__, __my_distro_ver__)) /usr/local/lib/python3.6/dist-packages/cntk/cntk_py_init.py:102:

CreateProcessW failed error:2 ssh_askpass: posix_spawn: No such file or directory Host key verification failed, jupyter notebook on remote server

有些话、适合烂在心里 提交于 2021-02-18 12:05:41
问题 So I was following a tutorial to connect to my jupyter notebook which is running on my remote server so that I can access it on my local windows machine. These were the steps that I followed. On my remote server : jupyter notebook --no-browser --port=8889 Then on my local machine ssh -N -f -L localhost:8888:localhost:8889 *******@**********.de.bosch.com But I am getting an error CreateProcessW failed error:2 ssh_askpass: posix_spawn: No such file or directory Host key verification failed. How

CreateProcessW failed error:2 ssh_askpass: posix_spawn: No such file or directory Host key verification failed, jupyter notebook on remote server

亡梦爱人 提交于 2021-02-18 12:04:30
问题 So I was following a tutorial to connect to my jupyter notebook which is running on my remote server so that I can access it on my local windows machine. These were the steps that I followed. On my remote server : jupyter notebook --no-browser --port=8889 Then on my local machine ssh -N -f -L localhost:8888:localhost:8889 *******@**********.de.bosch.com But I am getting an error CreateProcessW failed error:2 ssh_askpass: posix_spawn: No such file or directory Host key verification failed. How

How to downgrade numpy?

泄露秘密 提交于 2021-02-18 11:10:19
问题 I got error TypeError: slice indices must be integers or None or have an __index__ method and searched for a solution and got that i need to downgrade the version of numpy , then tried to use this command python import numpy numpy.__version__ and got >>> numpy.__version__ '1.14.5' but when i used pip show numpy Name: numpy Version: 1.11.0 Summary: NumPy: array processing for numbers, strings, records, and objects. Home-page: http://www.numpy.org Author: NumPy Developers Author-email: numpy

How to downgrade numpy?

夙愿已清 提交于 2021-02-18 11:05:09
问题 I got error TypeError: slice indices must be integers or None or have an __index__ method and searched for a solution and got that i need to downgrade the version of numpy , then tried to use this command python import numpy numpy.__version__ and got >>> numpy.__version__ '1.14.5' but when i used pip show numpy Name: numpy Version: 1.11.0 Summary: NumPy: array processing for numbers, strings, records, and objects. Home-page: http://www.numpy.org Author: NumPy Developers Author-email: numpy

How to uninstall Jupyter note book installed by pip3

我们两清 提交于 2021-02-18 08:37:02
问题 I installed Jupyter notebook using pip3 on OSX. Later, I realised, I should do it through anaconda because it has loads of libraries which I need for my on-line study. So I was about trying to uninstall jupyter, then install anaconda. I see many questions when people messed up uninstall jupyter notebook. So I want to do it correct way. I wanted to do this way $ pip install pip-autoremove $ pip-autoremove jupyter -y or may be using pip3 instead, anyway, does anyone know if it is the right way

How to uninstall Jupyter note book installed by pip3

妖精的绣舞 提交于 2021-02-18 08:36:07
问题 I installed Jupyter notebook using pip3 on OSX. Later, I realised, I should do it through anaconda because it has loads of libraries which I need for my on-line study. So I was about trying to uninstall jupyter, then install anaconda. I see many questions when people messed up uninstall jupyter notebook. So I want to do it correct way. I wanted to do this way $ pip install pip-autoremove $ pip-autoremove jupyter -y or may be using pip3 instead, anyway, does anyone know if it is the right way

Jupyterlab active scroll bars for long results

纵饮孤独 提交于 2021-02-18 05:34:08
问题 I'm using Jupyterlab for my datascience studies. Everything is Ok with this new tool, but some process as GridSearchCV has long logs and this results pollutes the notebook. There is a way to active scroll bars to avoid this like in traditional Jupyter notebooks ? 回答1: You have a few options: Right click on cell's output -> "Enable Scrolling for Outputs". This will limit output view's height and enable scrolling, like in the classic notebook. Right click on cell's output -> "Create New Output

Jupyterlab active scroll bars for long results

♀尐吖头ヾ 提交于 2021-02-18 05:33:54
问题 I'm using Jupyterlab for my datascience studies. Everything is Ok with this new tool, but some process as GridSearchCV has long logs and this results pollutes the notebook. There is a way to active scroll bars to avoid this like in traditional Jupyter notebooks ? 回答1: You have a few options: Right click on cell's output -> "Enable Scrolling for Outputs". This will limit output view's height and enable scrolling, like in the classic notebook. Right click on cell's output -> "Create New Output