-
Notifications
You must be signed in to change notification settings - Fork 284
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 finding numpy in vs code #1133
Comments
Hi there, thanks for reporting this. There is some kind of tangle up regarding Python and multiple architectures going on here. This isn't really related to the Quarto VS Code extension but more to how your particular shell is configured and how VS Code constructs terminal environments. Unfortunately it's nearly impossible for us to debug this without having direct hands on your system. If you run this Google search you'll see others with the same problem and explore whether their solutions would work for you: "multiarray import error need arm64 have x86_64" Note also that the Quarto VS Code extension will automatically use the currently configured Python version (as specified via the "Python: Select Interpreter" command). |
I have the same issue - I am able to run the sample code in a python console in the terminal environment that clicking on render button creates. If I try and re-run the quarto command after this, I get the same error as reported above. I get a disconnect when I run the codes suggested by this issue - nteract/hydrogen#2147 The code I ran was
Hope this helps, thanks |
@MarcellGranat and @iainmwallace do you both have a M1 or M2 Mac? |
I have M1 pro chip |
Bug description
My issue is that quarto cannot found numpy package if the file is rendered in vs code. Works perfectly RStudio, or if a cell is simple ran, but fails if I try to render the file. I enclose a pic about the error message.
Checklist
quarto check
in a terminal in your issue?The text was updated successfully, but these errors were encountered: