Troubleshooting
Problem
In order to run your prediction models in Jupyter notebooks, you need to import the fbprophet module.
However, following error is encountered:
ModuleNotFoundError: No module named 'convertdate'
However, following error is encountered:
ModuleNotFoundError: No module named 'convertdate'
Resolving The Problem
You should prefer conda over pip when installing custom packages, run below command:
!conda install -c conda-forge --override-channels fbprophet
!conda install -c conda-forge --override-channels fbprophet
Alternatively, you can create a custom environment with this customization:
# Please add conda channels here
channels:
- nodefaults
- conda-forge
# Please add conda channels here
channels:
- nodefaults
- conda-forge
# Please add conda packages here
dependencies:
- fbprophet
dependencies:
- fbprophet
nodefaults corresponds to the --override-channels command line flag and it's critical here, without it, conda will take ages to solve the environment and may even abort.
Document Location
Worldwide
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSHGWL","label":"IBM Watson Studio Local"},"ARM Category":[{"code":"a8m0z000000bmvsAAA","label":"Modeling->Notebook - Python"}],"ARM Case Number":"TS003521648","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Version(s)","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Was this topic helpful?
Document Information
Modified date:
11 May 2020
UID
ibm16208316