407PZ
Posts: 2
Joined: Mon Mar 11, 2019 10:09 pm

Install pymc3

Mon Mar 11, 2019 10:11 pm

Hello,

for my little hobby project, I would like to install pymc3 on my raspberry pi 3. Using pip to install pymc3 literally leads to system crash. Is there any other way to install this package?

Thanks!

User avatar
ben_nuttall
Raspberry Pi Foundation Employee & Forum Moderator
Raspberry Pi Foundation Employee & Forum Moderator
Posts: 231
Joined: Sun Aug 19, 2012 11:19 am
Location: Cambridge, UK
Contact: Website

Re: Install pymc3

Fri Mar 15, 2019 12:42 am

Are you trying to install for Python 2 or Python 3? And are you using Jessie or Stretch?

piwheels.org has wheels for pymc3 but only for Python 3.5 (Stretch).

So on Stretch, try:

Code: Select all

sudo pip3 install pymc3
and that should install it.
Community Manager - Raspberry Pi Foundation
Author of GPIO Zero and creator of piwheels

407PZ
Posts: 2
Joined: Mon Mar 11, 2019 10:09 pm

Re: Install pymc3

Fri Mar 15, 2019 7:10 pm

My raspberry pi has Stretch. I tried both pip and pip3

Code: Select all

sudo pip install pymc3
sudo pip3 install pymc3
They somehow all got stuck at

Code: Select all

Running setup.py bdist_wheel for numpy ...
and the system froze or it rebooted itself.

What's even weirder is that I actually already installed numpy before.

User avatar
ben_nuttall
Raspberry Pi Foundation Employee & Forum Moderator
Raspberry Pi Foundation Employee & Forum Moderator
Posts: 231
Joined: Sun Aug 19, 2012 11:19 am
Location: Cambridge, UK
Contact: Website

Re: Install pymc3

Fri Mar 15, 2019 9:53 pm

Try:

Code: Select all

sudo pip3 install pymc3 -i https://www.piwheels.org/simple
Community Manager - Raspberry Pi Foundation
Author of GPIO Zero and creator of piwheels

Return to “Python”