Henrike-Schwenn / Predicting_bike_rental_demand

My first ai project as part of my take on the amazing online course "Introduction to Machine Learning for Coders" taught by Jeremy Howard. I will be contributing to the Kaggle competition "Bike Sharing Demand", aiming to predict bike rental demand depending on the weather.
3 stars 0 forks source link

Check if Jupyter Notebook is running flawlessly #7

Closed Henrike-Schwenn closed 3 years ago

Henrike-Schwenn commented 4 years ago

17.10.2020

Henrike-Schwenn commented 4 years ago
(base) henrike@henrike-HP-250-G5-Notebook-PC:~$ Jupyter Notebook

Der Befehl 'Jupyter' wurde nicht gefunden, meinten Sie:

  Befehl 'jupyter' aus dem Snap jupyter (1.0.0)
  Befehl 'jupyter' aus dem deb jupyter-core (4.6.3-3)

Informationen zu neuen Versionen sind mit 'snap info <snapname>' zu finden.

(base) henrike@henrike-HP-250-G5-Notebook-PC:~$ jupyter notebook

Der Befehl 'jupyter' wurde nicht gefunden, kann aber installiert werden mit:

sudo snap install jupyter       # version 1.0.0, or
sudo apt  install jupyter-core  # version 4.6.3-3

Informationen zu neuen Versionen sind mit 'snap info jupyter' zu finden.
Henrike-Schwenn commented 4 years ago
(base) henrike@henrike-HP-250-G5-Notebook-PC:~$ su henrike
Passwort: 
(base) henrike@henrike-HP-250-G5-Notebook-PC:~$ sudo snap install jupyter       # version 1.0.0
[sudo] Passwort für henrike: 
jupyter 1.0.0 aus Jupyter Project (projectjupyter✓) installiert
Henrike-Schwenn commented 4 years ago
(base) henrike@henrike-HP-250-G5-Notebook-PC:~$ jupyter notebook
Befehl »jupyter« ist unter »/snap/bin/jupyter« verfügbar
Der Befehl konnte nicht gefunden werden, weil »/snap/bin« nicht Teil der Umgebungsvariable PATH ist.
jupyter: Befehl nicht gefunden.
Henrike-Schwenn commented 4 years ago
Henrike-Schwenn commented 4 years ago
Henrike-Schwenn commented 4 years ago
import pandas

---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-14-38d4b0363d82> in <module>
----> 1 import pandas

ModuleNotFoundError: No module named 'pandas'
Henrike-Schwenn commented 4 years ago

grafik

Henrike-Schwenn commented 4 years ago
import pandas

---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-21-38d4b0363d82> in <module>
----> 1 import pandas

ModuleNotFoundError: No module named 'pandas'

Hm.

Henrike-Schwenn commented 4 years ago
/home/henrike/anaconda3/lib/python3.8/site-packages/numpy/__init__.py:140: UserWarning: mkl-service package failed to import, therefore Intel(R) MKL initialization ensuring its correct out-of-the box operation under condition when Gnu OpenMP had already been loaded by Python process is not assured. Please install mkl-service package, see http://github.com/IntelPython/mkl-service
  from . import _distributor_init

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-25-38d4b0363d82> in <module>
----> 1 import pandas

/home/henrike/anaconda3/lib/python3.8/site-packages/pandas/__init__.py in <module>
     15 if missing_dependencies:
     16     raise ImportError(
---> 17         "Unable to import required dependencies:\n" + "\n".join(missing_dependencies)
     18     )
     19 del hard_dependencies, dependency, missing_dependencies

ImportError: Unable to import required dependencies:
numpy: 

IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!

Importing the numpy C-extensions failed. This error can happen for
many reasons, often due to issues with your setup or how NumPy was
installed.

We have compiled some common reasons and troubleshooting tips at:

    https://numpy.org/devdocs/user/troubleshooting-importerror.html

Please note and check the following:

  * The Python version is: Python3.7 from "/snap/jupyter/6/bin/python"
  * The NumPy version is: "1.18.5"

and make sure that they are the versions you expect.
Please carefully study the documentation linked above for further help.

Original error was: No module named 'numpy.core._multiarray_umath'
Henrike-Schwenn commented 4 years ago

No effect.

Henrike-Schwenn commented 4 years ago

Interrupt for troubleshooting numpy import error

Henrike-Schwenn commented 4 years ago

Working time: 40 minutes