0

When I try to install "pgmpy" in the Jupyter notebook using the statement "pip install pgmpy", the notebook stays in a "busy" state, with the hourglass icon staying there for a very long time. Every time I try to install it, it has been loading for at least an hour or two, which is unprecedented for my Jupyter notebook. Simply put, nothing is happening. This is also the case for the statement "!pip install pgmpy", with an exclamation mark to run as a shell command. Is there anything else I would need to install before focusing on pgmpy? Should anything else be done?

I would truly appreciate any help in this matter. Thank you in advance!

1
  • You're doing everything right. I would suggest trying the same command inside a virtual environment. Commented Jul 13, 2020 at 19:18

1 Answer 1

1

Did you try using conda install -c ankurankan pgmpy, as suggested in https://pypi.org/project/pgmpy/?

Also, I would suggest to run your code in Google collab. !pip install pgmpy should work there.

Sign up to request clarification or add additional context in comments.

1 Comment

Your suggestion to run the statement in Google Collab worked. Thank you very much!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.