-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error Importing PyMC3: 'TheanoConfigParser' object has no attribute 'gcc__cxxflags' #4479
Comments
I can import
|
This version of PyMC3 requires |
@brandonwillard , I also have that version installed:
|
Is it possible |
I uninstalled
|
This SO comment directed me to this SO post, which suggests there's some problem with Theano's installation. |
The old Theano package will conflict with the Theano-PyMC package, so you can't have them both installed in the same environment. |
Yep! Uninstalling everything and reinstalling PyMC3 with conda worked. |
A |
@RylanSchaeffer how to uninstall everything? |
@Aiman73
Replace |
@leoTiez Thank you! |
I am trying to import theano and pymc3 but using following versions |
@19Kaushiki You should be using the latest PyMC version from this repository, and not PyMC3. That version is long outdated, and may not work at all with a M2 Mac. |
I tried importing pymc. I am still facing an error: AttributeError: module 'numpy.config' has no attribute 'get_info' Also theano throws the same error: AttributeError: 'TheanoConfigParser' object has no attribute 'change_flags' |
You should not be using Theano at all with PyMC v5. I would try again with a clean conda environment. Just do |
It is still giving me the error: I have created new environment and uninstalled and re-installed pymc. I do not understand what might be creating a problem |
I figured it out - was able to import pymc - thank you |
Glad you figured it out PyMC3 is deprecated. For anyone else reading this dont try importing it. If its installed in your environment delete it and probably the whole env. Im locking this issue as such |
Description of your problem
I try importing PyMC3 and get the following error:
Versions and main components
The text was updated successfully, but these errors were encountered: