我已经使用以下命令安装了 cyvcf2:
sudo apt update
sudo apt install python3 python3-pip -y
sudo apt install libssl-dev zlib1g-dev libcurl4-gnutls-dev libbz2-dev liblzma-dev -y
pip3 install cyvcf2
当我跑步时:
cyvcf2 --help
错误如下:
Traceback (most recent call last):
File "/home/devuser/.local/bin/cyvcf2", line 7, in <module>
from cyvcf2.__main__ import cli
File "/home/devuser/.local/lib/python3.7/site-packages/cyvcf2/__init__.py", line 1, in <module>
from .cyvcf2 import (VCF, Variant, Writer, r_ as r_unphased, par_relatedness,
ImportError: /home/devuser/.local/lib/python3.7/site-packages/cyvcf2/cyvcf2.cpython-37m-x86_64-linux-gnu.so: undefined symbol: SHA256
你能帮我修复它吗?
答案1
这对我有帮助:
sudo apt-get -y 安装 libcurl4-openssl-dev libssl-dev