How to install pgmpy on Jupyter?
Aug 27, 2020
pgmpy is a python library for working with Probabilistic Graphical Models.
Documentation: https://pypi.org/project/pgmpy/
Possible errors:
- ModuleNotFoundError: No module named ‘pgmpy’ pip install
- The code “pip install pgmpy” doesn’t work and the notebook stays in a “busy” state for a long time.
Solution:
- On the Jupyter notebook interface, go to “New” > “Terminal”
2. Type in this command.
conda install -c ankurankan pgmpy
3. Enter “Y” to proceed with the installation
4. Go back to your Jupyter notebook. Ta-da! Your import codes should be working now :)
Hope this helps!
If you found this article helpful, I would really appreciate if you could follow my account and give this article a clap! Thank you!! :D