You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to install batman on my M1 Apple MacBook Air (MacOS Ventura 13.4), and I am encountering some errors. First of all, I created a virtual environment with conda and tried with pip (Python 3.9.16, pip 23.1.2, conda 23.3.1). I got the following error:
Collecting batman-package
Using cached batman-package-2.4.9.tar.gz (394 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: numpy in /opt/anaconda3/envs/batman/lib/python3.9/site-packages (from batman-package) (1.24.3)
Building wheels for collected packages: batman-package
Building wheel for batman-package (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for batman-package (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
/private/var/folders/08/0nb4rk917kv0v2yjmh3k_wgm0000gn/T/pip-build-env-kfy1jz57/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py:265: UserWarning: Unknown distribution option: 'extras_requires'
warnings.warn(msg)
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
Checking for OpenMP support...
Did not detect OpenMP support.
error: command '/usr/bin/clang' 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 batman-package
Failed to build batman-package
ERROR: Could not build wheels for batman-package, which is required to install pyproject.toml-based projects
Therefore, I tried to do it from source. I downloaded the code (https://github.com/lkreidberg/batman), extracted the zip folder, changed folder, and used sudo python setup.py install. I got another error:
Intel MKL WARNING: Support of Intel(R) Streaming SIMD Extensions 4.2 (Intel(R) SSE4.2) enabled only processors has been deprecated. Intel oneAPI Math Kernel Library 2025.0 will require Intel(R) Advanced Vector Extensions (Intel(R) AVX) instructions.
Intel MKL WARNING: Support of Intel(R) Streaming SIMD Extensions 4.2 (Intel(R) SSE4.2) enabled only processors has been deprecated. Intel oneAPI Math Kernel Library 2025.0 will require Intel(R) Advanced Vector Extensions (Intel(R) AVX) instructions.
Checking for OpenMP support...
Did not detect OpenMP support.
/opt/anaconda3/envs/batman/lib/python3.9/site-packages/setuptools/_distutils/dist.py:265: UserWarning: Unknown distribution option: 'extras_requires'
warnings.warn(msg)
/opt/anaconda3/envs/batman/lib/python3.9/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` directly.
Instead, use pypa/build, pypa/installer, pypa/build or
other standards-based tools.
See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
********************************************************************************
!!
self.initialize_options()
/opt/anaconda3/envs/batman/lib/python3.9/site-packages/setuptools/_distutils/cmd.py:66: EasyInstallDeprecationWarning: easy_install command is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` and ``easy_install``.
Instead, use pypa/build, pypa/installer, pypa/build or
other standards-based tools.
See https://github.com/pypa/setuptools/issues/917 for details.
********************************************************************************
!!
self.initialize_options()
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
error: command '/usr/bin/clang' failed with exit code 1
I looked at the other issues, in particular issue #46, since the title seemed to match my problem. However, what worked in that case did not work for me. I cannot properly understand what the problem is and how to solve it, so I would really appreciate some help.
The text was updated successfully, but these errors were encountered:
I am trying to install batman on my M1 Apple MacBook Air (MacOS Ventura 13.4), and I am encountering some errors. First of all, I created a virtual environment with conda and tried with pip (Python 3.9.16, pip 23.1.2, conda 23.3.1). I got the following error:
Therefore, I tried to do it from source. I downloaded the code (https://github.com/lkreidberg/batman), extracted the zip folder, changed folder, and used
sudo python setup.py install
. I got another error:I looked at the other issues, in particular issue #46, since the title seemed to match my problem. However, what worked in that case did not work for me. I cannot properly understand what the problem is and how to solve it, so I would really appreciate some help.
The text was updated successfully, but these errors were encountered: