heiseacademy / ml-python

Begleitmaterial für den Kurs Machine Learning mit Python
1 stars 1 forks source link

02-ml-intro/05-Regression.ipynb is missing a pip install: Importing plotly failed. Interactive plots will not work. #5

Closed bmerkle closed 3 weeks ago

bmerkle commented 1 month ago

I followed the instructions and ran into a small issue with 02-ml-intro/05-Regression.ipynb the module plotly is not found, so i think this should be added to the notebook. I will prepare a PR

stackstrace:

from prophet import Prophet Importing plotly failed. Interactive plots will not work.

AttributeError Traceback (most recent call last) Cell In[25], line 1 ----> 1 from prophet import Prophet

File C:\work\heise\venv\Lib\site-packages\prophet__init__.py:7 1 # Copyright (c) 2017-present, Facebook, Inc. 2 # All rights reserved. 3 # 4 # This source code is licensed under the BSD-style license found in the 5 # LICENSE file in the root directory of this source tree. An additional grant 6 # of patent rights can be found in the PATENTS file in the same directory. ----> 7 from prophet.forecaster import Prophet 9 from pathlib import Path 10 about = {}

File C:\work\heise\venv\Lib\site-packages\prophet\forecaster.py:28 25 logger.setLevel(logging.INFO) 26 NANOSECONDS_TO_SECONDS = 1000 1000 1000 ---> 28 class Prophet(object):