← Back to team overview

yade-users team mailing list archive

Re: [Question #700308]: Compile 2022.01a against Python 3.10 Failed on Archlinux

 

Question #700308 on Yade changed:
https://answers.launchpad.net/yade/+question/700308

Danny (Dingeman) van der Haven posted a new comment:
Dear Kan Su,

Currently, I am facing a similar problem trying to install YADE on
CentOS 7.

Of course, first make sure that you have all required packages installed
(as listed on https://yade-dem.org/doc/installation.html).

It seems that python has trouble finding a specific component called
libboost-python. This is the same issue as I am having. My Anaconda
environment has libboost_python.so, as it comes with one of the Boost or
Libboost packages by default.

I am now trying to figure out where CMake is looking for python
libraries, suspecting that it might not see the entire Anaconda
environment. (Even though it does see other packages.) Please let me
know if you are using Anaconda or not and whether you have
libboost_python.so available in your python environment. We might be
able to solve the problem faster if we help each other.

Kind regards,
Danny

Side note: I found that if you use the Anaconda environment, there is
sometimes a bug preventing you from installing the correct packages
because Anaconda incorrectly parses python version 3.10. In this case
you should create an Anaconda environment with a lower python version,
e.g. 3.9.

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.