pymc-devs / pymc2

THIS IS THE **OLD** PYMC PROJECT (VERSION 2). PLEASE USE PYMC INSTEAD:
http://pymc-devs.github.com/pymc/
Other
879 stars 229 forks source link

Fail to install pymc in Anaconda on mac OS #174

Closed ottiP closed 6 years ago

ottiP commented 6 years ago

When I try to install pymc through anaconda:

conda install pymc

I obtain the following error:

Solving environment: failed

UnsatisfiableError: The following specifications were found to be in conflict: - blaze - pymc Use "conda info " to see the dependencies for each package.

How can I fix it?

Thank you in advance for your help

fonnesbeck commented 6 years ago

What were the conflicting dependencies? We are preparing a new release now, so we would like to make sure there are no conflicts. In the meantime, feel free to use pip, which should not have issues.

ottiP commented 6 years ago

Hi Chris, Thank you for your email. So I am quite struggling because it seems that blaze is in conflict with installing pymc (as you can see from the error message). I have tried to use pip as well but when I try to launch it on juputer notebook it fails. Do you need further details? Thank you, Ottavia

Il 22 gen 2018 5:29 PM, "Chris Fonnesbeck" notifications@github.com ha scritto:

What were the conflicting dependencies? We are preparing a new release now, so we would like to make sure there are no conflicts. In the meantime, feel free to use pip, which should not have issues.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pymc-devs/pymc/issues/174#issuecomment-359481209, or mute the thread https://github.com/notifications/unsubscribe-auth/ARil0-Snb-SiM1sFtPOPwzHzcjDp8HaIks5tNLdVgaJpZM4RmhDU .

--

Indirizzo istituzionale di posta elettronica degli studenti e dei laureati dell'Università degli Studi di Torino Official University of Turin email address for students and graduates

fonnesbeck commented 6 years ago

Ottavia,

There are now new builds of PyMC (version 2.3.7rc1) on conda. Can you try installing from conda again? If it fails, please send along the entire message (and the output from conda info).

fonnesbeck commented 6 years ago

@ottiP also, are you intending to install the older version of PyMC? Or did you mean to install PyMC3 (the newer project). If so, you want to do:

conda install pymc3

(note the 3 in the name)

ottiP commented 6 years ago

Hi Chris, So here are the updates:

  1. I tried to install pymc 2.3.7 following the instructions on conda: conda install -c conda-forge pymc

The installation was successful although when I tried to run pymc on my notebook some issues occurred:

ImportError: dlopen(/anaconda2/lib/python2.7/site-packages/pymc/flib.so, 2): Library not loaded: @rpath/libopenblas.dylib Referenced from: /anaconda2/lib/python2.7/site-packages/pymc/flib.so Reason: image not found

I will load the screenshot of the output from conda info.

  1. I have then tried to install pymc3 and everything went fine. It seems working although the notebook I am following for my studies is written in pymc and it doesn’t seem natural to move from one library to the other.

I am sorry to bother you further.

Ottavia

Il giorno 23 gen 2018, alle ore 14:56, Chris Fonnesbeck notifications@github.com ha scritto:

@ottiP https://github.com/ottip also, are you intending to install the older version of PyMC? Or did you mean to install PyMC3 (the newer project). If so, you want to do:

conda install pymc3 (note the 3 in the name)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/pymc-devs/pymc/issues/174#issuecomment-359797938, or mute the thread https://github.com/notifications/unsubscribe-auth/ARil02F_K5bAgEr6GGPeVWAXyPnNtgoAks5tNeUogaJpZM4RmhDU.

--

Indirizzo istituzionale di posta elettronica degli studenti e dei laureati dell'Università degli Studi di Torino Official University of Turin email address for students and graduates

fonnesbeck commented 6 years ago

OK, thanks for the report. It looks like there is an issue with the 2.3.7 package cc @kyleabeauchamp

Yes, if you already have models written in PyMC2, then you would need 2.3.7; they will not automatically run under PyMC3. We will get it working.

Are you running on Windows, Linux or Mac?

ottiP commented 6 years ago

Thank you very much!!

Il giorno 24 gen 2018, alle ore 15:16, Chris Fonnesbeck notifications@github.com ha scritto:

OK, thanks for the report. It looks like there is an issue with the 2.3.7 package cc @kyleabeauchamp https://github.com/kyleabeauchamp Yes, if you already have models written in PyMC2, then you would need 2.3.7; they will not automatically run under PyMC3. We will get it working.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/pymc-devs/pymc/issues/174#issuecomment-360148854, or mute the thread https://github.com/notifications/unsubscribe-auth/ARil0zUJFe4Zf3xWYvpDiyrJJydK_dt5ks5tNztPgaJpZM4RmhDU.

--

Indirizzo istituzionale di posta elettronica degli studenti e dei laureati dell'Università degli Studi di Torino Official University of Turin email address for students and graduates

fonnesbeck commented 6 years ago

Which operating system are you using?

ottiP commented 6 years ago

I have high Sierra!

Il 24 gen 2018 4:39 PM, "Chris Fonnesbeck" notifications@github.com ha scritto:

Which operating system are you using?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/pymc-devs/pymc/issues/174#issuecomment-360174504, or mute the thread https://github.com/notifications/unsubscribe-auth/ARil09ttbkxLvSafimyyDEMIKbUsWUNrks5tN06kgaJpZM4RmhDU .

--

Indirizzo istituzionale di posta elettronica degli studenti e dei laureati dell'Università degli Studi di Torino Official University of Turin email address for students and graduates

kyleabeauchamp commented 6 years ago

I think I've figured it out. Can you try conda install openblas in your environment? I think we need to add openblas to the requirements.

ottiP commented 6 years ago

It works!!! :)

Thank you very much for your help!

Ottavia

Il giorno 24 gen 2018, alle ore 17:58, Kyle Beauchamp notifications@github.com ha scritto:

I think I've figured it out. Can you try conda install openblas in your environment? I think we need to add openblas to the requirements.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/pymc-devs/pymc/issues/174#issuecomment-360201219, or mute the thread https://github.com/notifications/unsubscribe-auth/ARil0x2IUbwtHSWfrpI1bjUn7Bhc6sJXks5tN2FBgaJpZM4RmhDU.

--

Indirizzo istituzionale di posta elettronica degli studenti e dei laureati dell'Università degli Studi di Torino Official University of Turin email address for students and graduates