WSLにUbuntu18.04の環境でAnacondaでpython3.6を使っています。
仮想環境にlibcifpp-devというパッケージを入れたいのですが、
https://debian.pkgs.org/sid/debian-main-amd64/libcifpp-dev_1.0.1-2_amd64.deb.html
以下のようなエラーとなりました。
(py36) root@kak:/mnt/c/Users/kak/Downloads# sudo apt-get install libcifpp-dev Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: cpp-7 lib32mpx2 libasan4 libcilkrts5 libclang1-6.0 libffi-dev libgc1c2 libisl19 libllvm6.0 libomp-dev libomp5 libpython3.7-minimal libpython3.7-stdlib libtinfo-dev libubsan0 llvm-6.0 llvm-6.0-dev llvm-6.0-runtime python3.7-minimal Use 'sudo apt autoremove' to remove them. The following additional packages will be installed: libboost-iostreams1.74.0 libcifpp1 The following NEW packages will be installed: libboost-iostreams1.74.0 libcifpp-dev libcifpp1 0 upgraded, 3 newly installed, 0 to remove and 594 not upgraded. 1 not fully installed or removed. Need to get 1775 kB of archives. After this operation, 6048 kB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://ftp.jp.debian.org/debian bullseye/main amd64 libboost-iostreams1.74.0 amd64 1.74.0-3+b1 [264 kB] Get:2 http://ftp.jp.debian.org/debian bullseye/main amd64 libcifpp1 amd64 1.0.1-2 [1446 kB] Get:3 http://ftp.jp.debian.org/debian bullseye/main amd64 libcifpp-dev amd64 1.0.1-2 [65.0 kB] Fetched 1775 kB in 0s (4823 kB/s) Preconfiguring packages ... Selecting previously unselected package libboost-iostreams1.74.0:amd64. (Reading database ... 64109 files and directories currently installed.) Preparing to unpack .../libboost-iostreams1.74.0_1.74.0-3+b1_amd64.deb ... Unpacking libboost-iostreams1.74.0:amd64 (1.74.0-3+b1) ... Selecting previously unselected package libcifpp1. Preparing to unpack .../libcifpp1_1.0.1-2_amd64.deb ... Unpacking libcifpp1 (1.0.1-2) ... Selecting previously unselected package libcifpp-dev. Preparing to unpack .../libcifpp-dev_1.0.1-2_amd64.deb ... Unpacking libcifpp-dev (1.0.1-2) ... Setting up libboost-mpi-python1.65.1 (1.65.1+dfsg-0ubuntu5) ... /var/lib/dpkg/info/libboost-mpi-python1.65.1.postinst: 6: /var/lib/dpkg/info/libboost-mpi-python1.65.1.postinst: pycompile: not found dpkg: error processing package libboost-mpi-python1.65.1 (--configure): installed libboost-mpi-python1.65.1 package post-installation script subprocess returned error exit status 127 Setting up libboost-iostreams1.74.0:amd64 (1.74.0-3+b1) ... Setting up libcifpp1 (1.0.1-2) ... Setting up libcifpp-dev (1.0.1-2) ... Processing triggers for libc-bin (2.31-6) ... Errors were encountered while processing: libboost-mpi-python1.65.1 E: Sub-process /usr/bin/dpkg returned an error code (1)
以下の方法でlibboost-mpi-python-devをインストールしようとしましたが上手くいきませんでした。
(py36) root@kak:/mnt/c/Users/kak/Downloads# sudo apt-get install libboost-mpi-python-dev Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: libboost-mpi-python-dev : Depends: libboost-mpi-python1.74-dev but it is not going to be installed E: Unable to correct problems, you have held broken packages.
(py36) root@kak:/mnt/c/Users/kak/Downloads# sudo apt-get install -f Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: cpp-7 lib32mpx2 libasan4 libcilkrts5 libclang1-6.0 libffi-dev libgc1c2 libisl19 libllvm6.0 libomp-dev libomp5 libpython3.7-minimal libpython3.7-stdlib libtinfo-dev libubsan0 llvm-6.0 llvm-6.0-dev llvm-6.0-runtime python3.7-minimal Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 594 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Setting up libboost-mpi-python1.65.1 (1.65.1+dfsg-0ubuntu5) ... /var/lib/dpkg/info/libboost-mpi-python1.65.1.postinst: 6: /var/lib/dpkg/info/libboost-mpi-python1.65.1.postinst: pycompile: not found dpkg: error processing package libboost-mpi-python1.65.1 (--configure): installed libboost-mpi-python1.65.1 package post-installation script subprocess returned error exit status 127 Processing triggers for libc-bin (2.31-6) ... Errors were encountered while processing: libboost-mpi-python1.65.1 E: Sub-process /usr/bin/dpkg returned an error code (1)
sudo aptitude install libboost-mpi-python-dev
sudo apt autoremove
sudo apt --fix-broken install
など試しましたがlibboost-mpi-python1.65.1でエラーとなります。
解決法を教えてください。
回答1件
あなたの回答
tips
プレビュー