python - PyMC Install error on Windows -


i having difficult time installing pymc on windows.

easy_install pymc 

but gives error

error: setup script exited error: extension 'pymc.flib' has fortran sources no fortran compiler found 

however, installed gfortran compiler within mingw. have change environment variables or something?

thanks,

first, ensure in fact have fortran compiler installed mingw. if open mingw installation manager (in c:\mingw\libexec\mingw-get\guimain.exe) see list of packages. if mingw32-gcc-fortran unchecked, check , click installation > apply changes.

secondly, check path make sure c:\mingw\bin there , there not other versions of mingw in path (like 64 bit version).

lastly, if using 32-bit python mingw should 32-bit, if 64-bit python use 64-bit mingw.


Comments

Popular posts from this blog

How to mention the localhost in android -

php - Calling a template part from a post -