How to use Jupyter on EC2 WITHOUT Anaconda? - amazon-ec2

How do I run Jupyter notebook on EC2 without Anaconda or Enthought? I've looked at several instructions for running Jupyter on EC2 such as [1], [2], and [3], but all of them require installing Anaconda.
I've tried installing Jupyter normally (with pip install jupyter) and then running jupyter notebook, but it serves some kind of weird notebook into my terminal rather than with a webpage.

You can probably do something by inspiring yourself from this blog article:
Install jupyter and python

Related

pip command to downgrade jupyter notebook

I installed jupyter notebook with pip using python -m pip install jupyter and nbextensions using pip install jupyter_contrib_nbextensions && jupyter contrib nbextension install
My current jupyter-notebook version is 6.1.6 which makes nbextensions to show blank tab as per this thread . However the solution is to downgrade the notebook to 6.1.5 version.
How do I do that using pip?
pip install notebook==6.1.5 will downgrade the jupyter notebook
You can specify a version number:
pip install jupyter-notebook==6.1.5

Unable to launch jupyter notebook from a newly created environment in anaconda

After creating a new environment, it is not recognizing jupyter notebook when i am trying to launch it from there. Able to launch it from base environment.
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
To activate this environment, use
$ conda activate ipl_score
To deactivate an active environment, use
$ conda deactivate
(base) E:>conda activate ipl_score
(ipl_score) E:>jupyter notebook
'jupyter' is not recognized as an internal or external command,
operable program or batch file.
(ipl_score) E:>
You can install jupyter notebook with conda or pip
pip
$ pip install notebook
conda
$ conda install -c conda-forge notebook
Start jupyter notebook using the command below in cmd
$ jupyter notebook
Jupyter Notebook has to be individually installed in every environment you create.
If you have Anaconda Navigator installed, open the navigator, select the ipl_score environment and install Jupyter Notebook.
You can also install jupyter notebook from the command line using pip or conda in the activated environment.
pip install notebook
conda install -c conda-forge notebook
You can follow the below article if you need more information
https://jupyter.org/install

Run Jupyter notebook in an anaconda environment on Windows 10

I recently create a anaconda env by:
conda create -n tensorflow_env python=3.6
conda activate tensorflow_env
conda install -c conda-forge tensorflow
Then I install jupyter notebook in the tensorflow_env,
conda install jupyter
Then I run it with
jupyter notebook
I got a blank website:
Anyone knows what's going on here? I use windows 10. And the jupyter notebook works fine if I don't run it with in the tensorflow_env environment. But if I don't run the jupyter in that environment, I can't import tensorflow.
You may need to install additional package:
conda install nb_conda_kernels
and restart the Jupyter notebook server again.

After installing Anaconda - trying to run it stuck on "adding featured channels"

I download and install Anaconda for python 2.7 on windows 10. Trying to open Anaconda navigator get stuck on "adding featured channels" forever as shown in the following image:
Anyone know what the problem can be?
Only uninstall anaconda and install again fix this problem.
If you have this problem don't waste your time. Give it 2 minutes and if it is stuck uninstall and reinstall anaconda will save your time.
i was able to get around this by running Anaconda as administrator in windows 10.
I had the same problem, but for python3. This was the solution.
conda install anaconda-clean
anaconda-clean --yes
conda update conda
anaconda-navigator
Open command line (Windows) or Terminal (MacOS/Linux) and run:
conda deactivate
conda update anaconda-navigator
Then open Anaconda Navigator like normal.
Pulled from docs:
https://docs.anaconda.com/navigator/update-navigator/

pip uninstall jupyter : Doesnt work

I had done pip install --user jupyter.
It install jupyter in .local/.
I uninstalled it with : pip uninstall jupyter
It seemed to uninstall and whic jupyter returns nothing.
However, all files still reside under .local. pip list does show ipython and also ipython-genutils.
And when I run .local/bin/ipython it runs.
Could you tell me how to uninstall jupyter?
Thanks
T

Resources