Skip to content Skip to sidebar Skip to footer

Using Pymc3 On Windows 10 - Theano Cannot Import Name 'floatx'

I'm struggling to get PYMC3 to install correctly on windows. I've tried using the Anaconda package via conda install -c conda-forge pymc3 and in a virtualenv using only pip as per

Solution 1:

Ok, I managed to cobble an install together.

I had no luck with the dependency management etc using conda install -c conda-forge pymc3, and I couldn't be sure if there were issues with locations/paths to compilers etc. So I did a re-install from the start.

I went for Anaconda3 (rather than 2) and it worked fine.

1) I followed the environment setup here https://github.com/philferriere/dlwin until I got to the point of installing Theano. But instead of the version suggested I installed the latest with conda install -c rdonnelly Theano suggested by https://github.com/nouiz. This is a nice solid environment set up - and i really recommend the msys tool - I hadn't used it before.

The test script in the philferriere guide are a good way to test function/performance.

2) Then I set up pymc3 using pip install pymc3 as they suggest here https://github.com/pymc-devs/pymc3. but NOT the latest version on git.

Hope someone finds this useful.

Refs: https://github.com/Theano/Theano/issues/5348

Post a Comment for "Using Pymc3 On Windows 10 - Theano Cannot Import Name 'floatx'"