PLIP,openbabel安装避坑

项目场景:

PLIP以及openbabel的安装:`

安装PLIP踩过的坑
有一台ubuntu服务器,安装PLIP直接使用pip install plip就成功了,另外台服务器使用opensuse 15.4系统,结果各种bug,最终花了一下午时间,在两台服务器上面分别正确安装了PLIP,特此纪念一下。


问题描述

pip无法正确安装PLIP:

直接使用pip install plip适用可以在部分机器上,但是有的机器并不适用。

比如我的机器是opensuse15.4, 无法直接使用pip安装PLIP。报错如下:

Collecting plip
  Using cached plip-2.3.0-py3-none-any.whl (94 kB)
Collecting openbabel (from plip)
  Using cached openbabel-3.1.1.1.tar.gz (82 kB)
  Preparing metadata (setup.py) ... done
Requirement already satisfied: numpy in ./anaconda3/envs/openff-toolkit/lib/python3.11/site-packages (from plip) (1.25.0)
Collecting lxml (from plip)
  Downloading lxml-5.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.1/8.1 MB 5.8 MB/s eta 0:00:00
Building wheels for collected packages: openbabel
  Building wheel for openbabel (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py bdist_wheel did not run successfully.exit code: 1
  ╰─> [66 lines of output]
      running bdist_wheel
      running build
      running build_ext
      Warning: invalid version number '3.1.1.1'.
      Guessing Open Babel location:
      - include_dirs: ['/home/shiyu/anaconda3/envs/openff-toolkit/include/python3.11', '/usr/local/include/openbabel3']
      - library_dirs: [

相关推荐

  1. PLIP,openbabel安装

    2024-03-11 21:10:02       30 阅读
  2. Linux创建用户,并安装anaconda3指南

    2024-03-11 21:10:02       20 阅读
  3. Golang 指南

    2024-03-11 21:10:02       6 阅读
  4. 使用VScode指南

    2024-03-11 21:10:02       26 阅读
  5. 深度学习指南

    2024-03-11 21:10:02       11 阅读
  6. Stable Diffusion指南

    2024-03-11 21:10:02       12 阅读

最近更新

  1. TCP协议是安全的吗?

    2024-03-11 21:10:02       16 阅读
  2. 阿里云服务器执行yum,一直下载docker-ce-stable失败

    2024-03-11 21:10:02       16 阅读
  3. 【Python教程】压缩PDF文件大小

    2024-03-11 21:10:02       15 阅读
  4. 通过文章id递归查询所有评论(xml)

    2024-03-11 21:10:02       18 阅读

热门阅读

  1. LLDB-调试

    2024-03-11 21:10:02       19 阅读
  2. leetcode周赛388(1-3)

    2024-03-11 21:10:02       22 阅读
  3. 网络、UDP编程

    2024-03-11 21:10:02       15 阅读
  4. 安卓 Kotlin 面试题 31-40

    2024-03-11 21:10:02       26 阅读
  5. Rust 泛型使用过程中的 <T> 和 ::<T> 的区别

    2024-03-11 21:10:02       16 阅读
  6. 目标检测:Anchor-free算法模型

    2024-03-11 21:10:02       22 阅读