smt
smt copied to clipboard
Installation problem : Failed building wheel for smt
Hello,
I am trying to install smt on my MacBook (MacOS 12.0.1) via ´pip install smt´ but it failed (all dependencies have been separately installed to be sure).
The terminal displayed the following screenshots :
It seems to be related to your installation. When I google your error message, I get this. Hope this helps.
Just to say that I also originally had errors building 2 days ago, caused by the OS not being recognized (on the same day this was opened):
I used the following commands to solve:
export ARCHFLAGS="-arch x86_64"
CC=clang CXX=clang++ python -m pip install smt
I'm not sure if these two issues could be related or if it's just a coincidence. If they are not, please feel free to ignore.
Notice you can also try to use conda as SMT is available for MacOS on conda forge. I am not a MacOS user so difficult for me to help you further.
I'm getting the same error on both macOS and Ubuntu, please help me.
I'm getting the same error on both macOS and Ubuntu, please help me.
Note: In Ubuntu and derivatives you may need to install python-dev
and/or python3-dev
before installing smt
.
Hello! I'm getting the same error; however, I'm in Windows. Later I tried with my Macbook and still got the same results.
Hi @mariaelenavalencia! You should not have exactly the same error on Windows as above as it is triggered by xcrun
which is specific to MacOS install (see the last lines). Could you copy/paste your error on Windows? How do you install smt? Maybe you could also use conda
as mentioned above.
Hi! I installed the library with Conda without issues, both on Windows and Mac. Thank you very much!
Just for your information, here is the error obtained by my Mac when I tried pip (sorry for the format):
Thank you again!