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

Error installing pymc with pip #149

Closed paraguz1 closed 7 years ago

paraguz1 commented 7 years ago

I get the following error when trying to install pymc with pip:

No such file or directory: 'lapack/double/dpotrs.f'

I have installed Mingw with fortran compiler and tried other ways to install pym:

Maybe you could help me with the lapack issue. Thank you.

image

fonnesbeck commented 7 years ago

Haven't seen this before. My experience is that Fortran errors tend to be related to compiler incompatibility. If you are on Anaconda, you should be able to install a Windows binary, no?

Also, you might check out PyMC3, since it has recently been released and supercedes PyMC 2.3.

paraguz1 commented 7 years ago

Thank you I'll try to install with Anaconda again or use the new release. El 29/01/2017 23:59, "Chris Fonnesbeck" notifications@github.com escribió:

Haven't seen this before. My experience is that Fortran errors tend to be related to compiler incompatibility. If you are on Anaconda, you should be able to install a Windows binary, no?

Also, you might check out PyMC3, since it has recently been released and supercedes PyMC 2.3.

— 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/149#issuecomment-275953620, or mute the thread https://github.com/notifications/unsubscribe-auth/AVw4PELSJDyVXXYQ96d6reVZPRn0ftiMks5rXRncgaJpZM4Lw8C2 .

fonnesbeck commented 7 years ago

I will close this. Please report back if there are ongoing issues.

tuxdna commented 7 years ago

I encountered same issue on Fedora 25:

    compile options: '-Ibuild/src.linux-x86_64-2.7 -I/usr/lib64/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c'
    error: [Errno 2] No such file or directory: 'lapack/double/dpotrs.f'

    ----------------------------------------

From a related StackOverflow post it seemed like the issue is with missing development libraries. sudo apt-get install liblapack-dev

For Fedora I had to install the development library as below:

$ sudo dnf install lapack-devel

That fixes the installation issue for me.

kannte commented 6 years ago

sudo apt-get install liblapack-dev this worked for me , thanks,

shangxww commented 6 years ago

I encounted same issue in win7 when i install with command "pip install pymc" , i wonder it is not a lasted version when i use this command to install it? And like mentioned above, how to execute this *If you are on Anaconda, you should be able to install a Windows binary** to install a binary build.

shangxww commented 6 years ago

Sorry to disturb you , i wonder ,if this issues has resolved in you pc. if yes, would you please show command you used.

Thank you I'll try to install with Anaconda again or use the new release. El 29/01/2017 23:59, "Chris Fonnesbeck" notifications@github.com escribió: Haven't seen this before. My experience is that Fortran errors tend to be related to compiler incompatibility. If you are on Anaconda, you should be able to install a Windows binary, no? Also, you might check out PyMC3, since it has recently been released and supercedes PyMC 2.3. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#149 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/AVw4PELSJDyVXXYQ96d6reVZPRn0ftiMks5rXRncgaJpZM4Lw8C2 .

fonnesbeck commented 6 years ago

pip will build from source, so its not surprising that it does not work on Windows without your system being configured properly. If you install Anaconda, you should just be able to conda install pymc.

Are you sure you mean to be installing PyMC2? We recommend most users install PyMC3 instead--it is a separate project.