Jupyter Lab build hangs on jupyterlab_bokeh - bokeh

My Jupyter Lab installation works fine. I just upgraded my nodejs to v10 and completely upgraded my jupyterlab module from pip.
When trying to install jupyterlab_bokeh using jupyter labextension install jupyterlab_bokeh, the process hangs undefinitely in the build part of the process. It just says
Resolving packages...
jupyterlab_bokeh#file:../extensions/jupyterlab_bokeh-0.5.0.tgz
Has anyone encountered this before?

It could be the issue with nodejs>9 compatibility. Downgrade to nodejs9 has helped me (on Arch Linux).
See: https://github.com/jupyter-widgets/ipywidgets/issues/2061

Related

launching Error of Jupyter notebook and spyder notebook in Anaconda Navigator

After installing Anaconda Navigator I'm facing this kind of error. I completely two time uninstall and install it again but having same problem
what to do next or any other packages is required to install or not?
I'm expecting my jupyter notebook must be open from here. not from anaconda command prompt.

Jupyter notebook issues -Anaconda3-2019.03-Windows-x86_64

jupyter notebook or jupyter-notebook
gives error --> Script file 'C:\ProgramData\Anaconda3\Scripts\jupyter-notebook-script.py' is not present.
Don't have \.jupyter folder in %users%
No shortcut in windows startup created.
machine details: Windows 10 - 64 bit
conda version --> 4.6.11
Python version -->3.7.3
jupyter version --> 4.4.0
pls help me resolve it.
It seems that you have not installed correctly yet how have you installed jupyter. Since you have anaconda try this first in your cmd.
conda install -c conda-forge jupyterlab
Then run jupyter notebook again in your cmd and see how it goes

Should I install Jupyter Notebook in the base env or project env?

I'm having some trouble decide how to go about installing Jupyter Notebook on my Mac.
I'm running macOS Catalina and used Home-brew to install python3. I understand that I could have easily installed Anaconda and as a result have Jupyter out of the box. However, I don't want to use Anaconda for package management, and I'd rather stick with pip.
My question is, should I now "pip install jupyter" in my base environment, or should I install it everytime I create a virtualenv for a new project?

All jupyter contrib nbextensions are marked as possibly incompatible

I have just installed jupyter_contrib_nbextensions by:
pip install jupyter_contrib_nbextensions
jupyter contrib nbextension install --user
When I open a jupyter notebook and navigate to Edit -> nbextensions config, I see the below screen:
All extensions are marked as "possibly incompatible". A solution is to uncheck the option: "disable configuration for nbextensions without explicit compatibility". But is it safe? Any ideas why the nbextensions are incombatible?
My package versions are:
jupyter==1.0.0
notebook==6.0.1
jupyter-contrib-nbextensions==0.5.1
As you will notice, in version 0.5.1 of jupyter_contrib_nbextensions most of the nbextensions are compatible with versions 4.X and 5.X. For example look at this extension:
It you uncheck the option "disable configuration for nbextensions without explicit compatibility", you will most probably have no problem using any extension. I guess that the developers haven't yet tested the jupyter_contrib_extensions against the new notebook version 6.X which was recently launched. If you want to have a stable and tested environment, you can roll back to a previous jupyter notebook version. The most recent compatible one is 5.7.8. Just uninstall current notebook and install that specific version by executing:
pip uninstall notebook
pip install notebook==5.7.8

Installation failed trying to install MySQL ODBC connector on macOS High Sierra

I'm trying to install this mysql odbc connector on my macOS High Sierra machine, but I get this error:
I tried installing it using installer in the hopes of getting information about what went wrong:
➜ ~ sudo installer -pkg Desktop/mysql-connector-odbc-5.3.9-macos10.12-x86-64bit.pkg -target / -verbose
installer: Package name is MySQL Connector/Odbc 5.3.9
installer: Installing at base path /
installer: Preparing for installation….....
installer: Preparing the disk….....
installer: Preparing MySQL Connector/Odbc 5.3.9….....
installer: Waiting for other installations to complete….....
installer: Configuring the installation….....
installer:
#
installer: Validating packages….....
#
installer: The install failed (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.)
But that doesn't help. Do you have any tips on how I can debug this and get the connector installed? Thanks.
I just noticed this:
on this page: https://dev.mysql.com/doc/connector-odbc/en/connector-odbc-installation-binary-osx.html
After installing iODBC (http://www.iodbc.org/dataspace/doc/iodbc/wiki/iodbcWiki/Downloads) it was able to install the connector.
I know I'm reviving an old thread, but having just had this exact problem/issue, and not solving with the iodbc installation, I thought I'd post the solution that worked for me. Use the commmand line... open terminal and run...
pip install mysql-connector-python
or
pip install mysql-connector
For those on an Apple Silicone Mac, this might be caused by having the wrong version of iODBC installed. Make sure to install the one labeled arm64 from iODBS website

Resources