Installing Jupyter Notebook for Julia in Windows 10 - anaconda

In Windows 10, I have done the following steps:
1º Install Julia.
2º In Julia shell:
Pkg.add("Ijulia")
INFO: Package IJulia is already installed
3º Launch the jupyter notebook from the Anaconda Prompt:
jupyter notebook
Then, the jupyter notebook is launched, however the Julia notebook option does not appear.
Any idea about what is happening??
Thank-you.

Related

how to run debugger in anaconda jupyter lab notebook [duplicate]

I am using jupyter lab and trying to embedd the debugger in it.
Windows 10, 64 bit
Here are the steps I followed:
conda create --name ml python=3.8.2
conda activate ml
conda install xeus-python notebook jupyterlab -c conda-forge
jupyter labextension install #jupyterlab/debugger
Then I start jupyter lab and it opens in Google Chrome:
Though I get the debugger button in xpython notebook but I am not able to turn it on.
Here is the screenshot.
Can someone help how to turn on the debugger??
A kernel with support for debugging is required to be able to use the debugger. Currently xeus-python is such a kernel, but the default IPython kernel will support the debugger soon too.
It is generally recommended to create a new conda environment to install the dependencies:
conda create -n jupyterlab-debugger -c conda-forge xeus-python notebook jupyterlab
conda activate jupyterlab-debugger
If running an old version of JupyterLab (2.x) you will also need to install nodejs to install the extension manually (note that it comes-preinstalled since JupyterLab 3.x so you do not need to run the commands below if using up-to date JupyterLab):
conda install nodejs
jupyter labextension install #jupyterlab/debugger
I am suspecting that it may be to do with versioning issues or have not met the prerequisites. There are also no reported similar issues so it must be to do with your system.
Make sure you meet these
JupyterLab 2.0+
xeus-python 0.7.1+
notebook 6+
And also consider doing a fresh install of Anaconda. This fixes it in most cases.

Kernel Error in R Jupyter Notebook due to Anaconda?

I need to bundle R scripts into some Notebook such as Jupyter Notebook. My OSX setup contains Homebrew, Rstudio and Anaconda. Next I try to get R in Jupyter Notebook working. I am getting the following error
FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/Cellar/r/3.3.3_1/R.framework/Resources/bin/R': '/usr/local/Cellar/r/3.3.3_1/R.framework/Resources/bin/R'
that shows that paths are somehow messed up. Also, the Jupyter Notebook shows Kernel Error in Red. The path /Users/hhh/anaconda3/envs/ is a Anaconda path so this must be an issue with Anaconda and Jupyter Notebook.
How to get R running in Jupyter Notebook under Conda? How to resolve the Kernel error?
Questions separated about potential Conflicts
Potential conflicts due to Homebrew and Anaconda here.
Your conda manages your bindings to R. You need to install the IRkernel package via conda such that
$ conda install -c r r-irkernel
to resolve the error.

Not able to get Python 2 environment in Jupyter Notebook after creating and activating in Anaconda Prompt

Working on my Windows machine, I installed Anaconda 3 and created a Python 2 environment in Anaconda Prompt using commands below:
conda create -n py2 python=2
activate py2
conda install numpy matplotlib pandas scikit-learn
However, when I run jupyter notebook in Anaconda Prompt, in the opened notebook, I checked Python version using this:
import sys
print('Python version is:', sys.version_info)
I found out it is Python 3 instead of Python 2...I wonder what's going on?
It turns out I need to install jupyter notebook like below in Anaconda Prompt as well, otherwise, the default Python 3 version notebook will be called.
conda install jupyter notebook
Now, if we launch jupyter notebook again, we'll get Python 2.
You may also find that you need to install the Notebook extensions which provides Conda environment and package access extension from within Jupyter Notebook. You can do that by running:
conda install nb_conda

Cannot open Jupyter notebook in Windows 8.1

I had Anaconda installed on Windows 8.1 and Jupyter notebook was working just fine with Julia and Python. I tried to install R kernel, however, it resulted in an error that some dependencies are needed, so I installed "m2w64-zlib" library in Anaconda then I installed R using this command "conda install -c r r-essentials" and I needed to update anaconda, so I did. After finishing all installations and updates Jupyter doesn't work. It just opens for a second and then switches off without opening the notebook in my browser.
I dont write code in "R" but Anaconda provides a few steps on how to get "R" working. Follow the steps in this link, Hope it helps:
https://docs.continuum.io/anaconda/r_language
It works now fine.
I uninstalled ipython
conda uninstall ipython
then installed Jupyter.
conda install jupyter

Vpython empty scene in Jupyter notebook

I looked at this question, but it provides a Linux solution. I'm running Windows 7. I developed a working Vpython notebook in Jupyter on one machine (in my office). It runs Python 2 (Anaconda package), and it does everything I want it to do.
I have another Windows 7 machine in my classroom. It has Anaconda3, and when I try to run the same notebook file, I get a black, empty scene for the vpython code. Also, if I try to start a New notebook from the Home tab of Jupyter notebook, there is not a VPython selection in the classroom machine. On my office machine (with Anaconda, Python 2), there is a VPython notebook option in the New list of Home.
I have done conda update conda and conda update anaconda and pip install vpython --upgrade commands on both machines and get the same behavior.
I have tried creating a new notebook with vpython commands and get the same behavior.
Summary: VPython in a Jupyter notebook with Python 2 on Windows 7 works. VPython in a Jupyter notebook with Python 3 on Windows 7 fails.
Any reasonable solutions?

Resources