如何安装成功的hyphy-python软件包?

时间:2019-06-18 17:52:39

标签: python linux ubuntu

我正在尝试在Ubuntu 18.04中安装软件包HIVTRACE,因此我需要安装软件包hyphy-python。我该怎么办?

我尝试安装和更新python和python3。此外,我尝试使用apt-get安装软件包。另外,我已经从github克隆了hyphy-python目录并执行了setup.py。我还安装了Hyphy软件包。

  1. sudo apt-get update

sudo apt-get install python-hyphy

  1. git clone https://github.com/veg/hyphy-python

python setup.py install (on Hyphy-python directory)

3。pip3 install hyphy-python

  1. 我得到的错误是:
      

    python-hyphy软件包不可用,但是其他一些软件包对此进行了引用。这可能意味着该软件包丢失,过时或只能从其他来源找到

2。在全球范围内:

  

cc1plus:警告:无法识别的命令行选项“ -Wno-shorten-64-to-32”   x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE = 2 -g -fdebug-prefix-map = / build / python2 .7-MW0004 / python2.7-2.7.15 =。 -fstack-protector-strong -Wformat -Werror =格式安全性-fPIC -DSQLITE_PTR_SIZE = sizeof(long)-D__UNIX__ -D__MP__ -D__MP2__ -D_SLKP_LFENGINE_REWRITE_ -D__AFYP_REWRITE_BGM__ -D__HEADLESS__ -D_HYPHY_LI ___ / D_HYPHY_LI -I / home / rafael / hyphy-python / hyphy-src / src / core / include -I / home / rafael / hyphy-python / hyphy-src / src / new / include -I / home / rafael / hyphy-python / hyphy-src / src / gui / include -I / home / rafael / hyphy-python / Link -I / home / rafael / hyphy-python / hyphy-src / contrib -I / home / rafael / hyphy-python / hyphy -src / contrib / SQLite-3.8.2 -I / usr / include / python2.7 -c /home/rafael/hyphy-python/hyphy-src/contrib/SQLite-3.8.2/sqlite3.c -o build / temp.linux-x86_64-2.7 / home / rafael / hyphy-python / hyphy-src / contrib / SQLite-3.8.2 / sqlite3.o -Wno-int-to-pointer-cast -Wno-char-subscripts -Wno-符号比较-Wno括号-Wno未初始化-Wno未使用变量-Wno缩短64到32 -fsigned-char -O3 -fpermissive -fPIC -fopenmp   cc1:警告:命令行选项“ -fpermissive”对C ++ / ObjC ++有效,但对C无效

3。在全球范围内:

  

cc1plus:警告:无法识别的命令行选项“ -Wno-shorten-64-to-32”   x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE = 2 -g -fdebug-prefix-map = / build / python2 .7-MW0004 / python2.7-2.7.15 =。 -fstack-protector-strong -Wformat -Werror =格式安全性-fPIC -DSQLITE_PTR_SIZE = sizeof(long)-D__UNIX__ -D__MP__ -D__MP2__ -D_SLKP_LFENGINE_REWRITE_ -D__AFYP_REWRITE_BGM__ -D__HEADLESS__ -D_HYPHY_LI ___ / D_HYPHY_LI -I / home / rafael / hyphy-python / hyphy-src / src / core / include -I / home / rafael / hyphy-python / hyphy-src / src / new / include -I / home / rafael / hyphy-python / hyphy-src / src / gui / include -I / home / rafael / hyphy-python / Link -I / home / rafael / hyphy-python / hyphy-src / contrib -I / home / rafael / hyphy-python / hyphy -src / contrib / SQLite-3.8.2 -I / usr / include / python2.7 -c /home/rafael/hyphy-python/hyphy-src/contrib/SQLite-3.8.2/sqlite3.c -o build / temp.linux-x86_64-2.7 / home / rafael / hyphy-python / hyphy-src / contrib / SQLite-3.8.2 / sqlite3.o -Wno-int-to-pointer-cast -Wno-char-subscripts -Wno-符号比较-Wno括号-Wno未初始化-Wno未使用变量-Wno缩短64到32 -fsigned-char -O3 -fpermissive -fPIC -fopenmp   cc1:警告:命令行选项“ -fpermissive”对C ++ / ObjC ++有效,但对C无效

0 个答案:

没有答案