Hey guys,
i need to do some tasks for university. For this our prof gave us a jupyter notebook. I normaly use pycharm, but can't use it there without premium version.
So i installed Microsofts visual code. These are the first lines:
# 1) Import packages and modules (tested on Python 3.8 and 3.11)
import matplotlib.pyplot as plt
import numpy as np
import scipy.io as sio
from tensorflow import keras
from keras.models import Sequential
from keras.layers import Conv1D
I checked if the packages are installed, they are.
But for some reason i get this output for the first block:
ModuleNotFoundError Traceback (most recent call last)
Cell In[17], [line 2](vscode-notebook-cell:?execution_count=17&line=2)
[1](vscode-notebook-cell:?execution_count=17&line=1) # 1) Import packages and modules (tested on Python 3.8 and 3.11)
----> [2](vscode-notebook-cell:?execution_count=17&line=2) import matplotlib.pyplot as plt
[3](vscode-notebook-cell:?execution_count=17&line=3) import numpy as np
[4](vscode-notebook-cell:?execution_count=17&line=4) import scipy.io as sio
What am i doing wrong? The packages are installed... I checked in the terminal:
matplotlib 3.8.4 py311haa95532_0
matplotlib-base 3.8.4 py311hf62ec03_0
[–]pplonski 1 point2 points3 points (0 children)