-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Intel Mac OS Monterey, unsupported tapi file type '!tapi-tbd' in YAML file #5536
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
Comments
Odd error, it could disappear when you switch to pymc v4. |
I got the exact same error. PyMC3 was working for me a month ago and then it just stopped. Was v4 developed on/for the M4 macs with monterrey? Alternately, is there any way to check that my gcc/clang version are correct and functional? |
@arjunc12 did you install from the conda-forge channel? I run it without problems on an M1. |
And intel MKL shouldn't be compatible here, right? |
@twiecki Here are my exact specifications:
I have xcode version 13.3 installed Here are my gcc/clang specs:
I am using conda version 4.11.0 I created the environment using the following command:
I also installed jupyterlab into this environment
After doing all of this, here are the specifications for my environment:
I created a jupyter kernel associated with this environment as described here I started my jupyter notebook. I ran the following cell
I get the following errors:
Next, I run the following code: No issues there. Now I run the following code, which produces the gross error message:
I will post updates about whether installing mkl-service helped, and whether v4 helped. But please let me know if you notice anything that you think might help! |
Oh I see, you haven't tried v4 yet, please do. And you can't use mkl with M1. |
Ok so I did install PyMC3 v4 according to the instructions here https://github.com/pymc-devs/pymc/wiki/Installation-Guide-(MacOS) The good news is that I am now able to get my basic model working. I am back to being able to compute the MAP estimate and run MCMC The bad news is that I can't use arviz anymore! I tried to run the following code:
I get the following error trace:
Is this just because arviz is still being updated? |
Also the results that I am getting are not the same as the results that I used to get on the same data. But I can go to Friday's office hours to get help with that! |
Also thank you for all of your help :) |
I think your arviz is out-of-date. |
I have arviz version 11.4, which is the latest version on conda-forge. Note that I have the arviz that came from following the instructions to install v4 from the repository itself, so if that arviz is out of date then the v4 arviz is out of date |
Ah, figured out the issue. When I computed the MCMC, I was using "return_inferenced_data=False", which is incompatible with the most up to date version of arviz. No errors anymore :) |
Think we can close this issue? |
Uh oh!
There was an error while loading. Please reload this page.
Description of your problem
I've been trying to get pymc3 working with the most basic examples. It keeps throwing an error, seemingly related to theano and the C compiler. Following the suggestions of various suggestions posted on the interweb, I've uninstalled and reinstalled Mac's command line tools (it wouldn't let me to downgrade to v11.5), as well as anaconda. Still getting the error though.
For my environment, I've just installed the minimal components using the command:
conda create -c conda-forge -n py39mc python=3.9 pymc3 theano-pymc mkl mkl-service jupyterlab matplotlib numpy
For the heck of it, I tried using python 3.7 but it made no difference.
Please provide a minimal, self-contained, and reproducible example.
All I've been trying to do is run the initial code in the tutorial: [https://docs.pymc.io/en/v3/pymc-examples/examples/diagnostics_and_criticism/model_comparison.html]
Please provide the full traceback.
Complete error traceback
Versions and main components
The text was updated successfully, but these errors were encountered: