我有一个虚拟环境,里面有python安装。我正在运行RHEL 6.8,当我在RHEL机器上获取虚拟环境并运行大多数与pip相关的命令时,我看到了这一点。
我能够在运行RHEL 6.7和6.6的其他计算机上获取此虚拟环境,不确定6.8中的内容是否有所不同,或者确实在这里发生了什么。
pip list
Traceback (most recent call last):
File "/ws/mastarke-sjc/pyats2/bin/pip", line 7, in <module>
from pip import main
File "/ws/mastarke-sjc/pyats2/lib/python3.4/site-packages/pip/__init__.py", line 14, in <module>
from pip.utils import get_installed_distributions, get_prog
File "/ws/mastarke-sjc/pyats2/lib/python3.4/site-packages/pip/utils/__init__.py", line 19, in <module>
import zipfile
File "/auto/pysw/cel63/python/3.4.1/lib/python3.4/zipfile.py", line 15, in <module>
import binascii
ImportError: libz.so.1: cannot open shared object file: No such file or directory