-
Notifications
You must be signed in to change notification settings - Fork 36
install failed in centos7 #32
Comments
From your log, I am not sure if this is the root cause:
Try
If the package cannot be found, you may need to enable Also, you may want to install a complete CMake development toolset (with gcc 7+), which is prerequired. Try
Now, rerun the bash script and let us know your output. Thank you for your interests. |
Hi Doc.Qi .This is output and error.Please check it.
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-5qxpxj9_-build/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-q_ardxr_-record/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-5qxpxj9_-build/ |
@Takishima Can you also take a look? It looks like a download problem for Boost libraries. |
From https://serverfault.com/questions/997896/how-to-enable-powertools-repository-in-centos-8, try to do this: sudo yum install dnf-plugins-core
sudo yum config-manager --set-enabled PowerTools |
Did you try the fix I mentioned above? If I get no reply from you by the end of this week, I will close this issue. |
Nguyen Damien <[email protected]>于2020年6月18日 周四下午4:29写道:
… Did you try the fix I mentioned above? If I get no reply from you by the
end of this week, I will close this issue.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#32 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOPEPTISSCU5ZILLDD32VPLRXHF5NANCNFSM4LFDFFMA>
.
|
I am trying to fix this problem, please don’t close it. There will be
feedback this weekend.
Shuai Han <[email protected]>于2020年6月19日 周五下午12:09写道:
…
Nguyen Damien ***@***.***>于2020年6月18日 周四下午4:29写道:
> Did you try the fix I mentioned above? If I get no reply from you by the
> end of this week, I will close this issue.
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#32 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AOPEPTISSCU5ZILLDD32VPLRXHF5NANCNFSM4LFDFFMA>
> .
>
|
On CentOS 7, the following should work (tested using the latest CentOS 7 Docker image) sudo yum install -y epel-release
sudo yum install -y centos-release-scl
sudo yum install -y devtoolset-8
sudo yum check-update -y
scl enable devtoolset-8 bash
sudo yum install -y gcc-c++ make git cmake3
sudo yum install -y python3 python3-devel python3-pip
sudo yum install -y openmpi-devel
sudo yum install -y boost169-devel boost169-openmpi-devel boost169-python3-devel
sudo yum install -y glog-devel gflags-devel hwloc-devel
sudo alternatives --install /usr/local/bin/cmake cmake /usr/bin/cmake3 20 \
--slave /usr/local/bin/ctest ctest /usr/bin/ctest3 \
--slave /usr/local/bin/cpack cpack /usr/bin/cpack3 \
--slave /usr/local/bin/ccmake ccmake /usr/bin/ccmake3 \
--family cmake
. /usr/share/Modules/init/sh
module load mpi
export BOOST_ROOT=/usr/include/boost169
export BOOST_LIBRARYDIR=/usr/lib64/boost169
sudo ln -s /usr/lib64/openmpi/lib/boost169/libboost_mpi.so /usr/lib64/boost169/
python3 -m pip install --user hiq-circuit |
I try to install hiq with this bash file :
This is the run log:
The text was updated successfully, but these errors were encountered: