Hi all and thanks for helping me out here!
I want to try Jupyter Notebook (IPython) on my elementary OS Freya installation, but to compile some Jupyter dependencies I also need python3-dev
which I am not allowed to install by using apt.
Hi all and thanks for helping me out here!
I want to try Jupyter Notebook (IPython) on my elementary OS Freya installation, but to compile some Jupyter dependencies I also need python3-dev
which I am not allowed to install by using apt.
I successfully installed Jupyter using the python package management system PIP.
First install PIP for Python 3 from repositories:
sudo apt-get install python3-pip
then install Jupyter by using PIP:
sudo pip3 install jupyter
After Jupyter got successfully installed, you can start it from terminal:
jupyter notebook
sudo apt-get -f install
to fix the unresolved dependencies.
Open terminal and run the command:
sudo apt-get install build-essential python3-dev
Note: (Use python
instead of python3
for legacy Python 2)
i.e.,
sudo apt-get install build-essential python-dev
Alternative:
I found a bug here..and solved the problem by forcefully downgrading
apt-get install -y \
python3.4=3.4.0-2ubuntu1.1 \
python3.4-minimal=3.4.0-2ubuntu1.1 \
libpython3.4-stdlib=3.4.0-2ubuntu1.1 \
libpython3.4-minimal=3.4.0-2ubuntu1.1
Note: please note the removing packages before removing.
source here