Skip to content
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

Installation Error: Failed to build pytensor #324

Open
ahlamaq opened this issue Apr 23, 2024 · 0 comments
Open

Installation Error: Failed to build pytensor #324

ahlamaq opened this issue Apr 23, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ahlamaq
Copy link

ahlamaq commented Apr 23, 2024

Describe the bug
I recently uninstalled an older version of anaconda (which had the exoplanet package installed) so that I can upgrade to the latest python version of 3.11 with a new installation. After Installing the latest anaconda distribution, I followed the same instructions to install exoplanet using pip, but I get the following error:

Building wheel for pytensor (pyproject.toml) ... error
error: subprocess-exited-with-error

× Building wheel for pytensor (pyproject.toml) did not run successfully.
│ exit code: 1

  gcc-12: warning: this compiler does not support Arm64 ('-arch' option ignored)
  gcc-12: warning: /usr/local/opt/lapack/include: linker input file unused because linking not done

ld: can't map file, errno=22 file '/usr/local/opt/lapack/include' for architecture x86_64
collect2: error: ld returned 1 exit status
error: command '/usr/local/bin/gcc-12' failed with exit code 1
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pytensor
Failed to build pytensor
ERROR: Could not build wheels for pytensor, which is required to install pyproject.toml-based projects

To Reproduce
python -m pip install -U "exoplanet[pymc]"

Expected behavior
A clean installation of exoplanet

Your setup (please complete the following information):

  • Version of exoplanet: N/A
  • Operating system: iMac Apple M3
  • Python version & installation method (pip, conda, etc.): Python 3.11.7, installed using Anaconda

Additional context
Add any other context about the problem here.

@ahlamaq ahlamaq added the bug Something isn't working label Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant