首页 > 解决方案 > 在 HPC 上运行 python 脚本

问题描述

我正在使用 HPC 并在运行 python 脚本时出错?你能建议我应该加载什么模块吗?还是我们需要再次安装熊猫?虽然我也加载了 numpy?

模块加载 libs/numpy/1.7.1/gcc-4.8.5+python-2.7.8+atlas-3.10.3

$ python filter_repophlan.py -r repophlan_microbes_wscores.txt -s 0.8
Traceback (most recent call last):
  File "filter_repophlan.py", line 20, in <module>
    import pandas as pd
  File "/opt/apps/Python-Packages/pandas/pandas/__init__.py", line 19, in <module>
    "Missing required dependencies {0}".format(missing_dependencies))
ImportError: Missing required dependencies ['numpy']

非常感谢

标签: pythonrbash

解决方案


推荐阅读