我观察到shutil无法在我们的Windows7系统上导入WindowsError:
from shutil import WindowsError
File <file>, line <no>, in <module>
from shutil import WindowsError
ImportError: cannot import name WindowsError
同样的语句在linux上运行得非常好。有没有其他人也遇到过?你知道我怎么才能修好吗?
Python版本: 2.6.7
Linux操作系统: Cent
为什么apt要尝试从archive.ubuntu.com下载档案?
$ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
#
# News about significant security updates, features and services will
# appear here to raise awareness and perhaps teas
我一直在尝试在下面的环境中安装Python 2.7.10以及超过15个支持包。
LSB_VERSION=base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Red Hat Enterprise Linux Server release 6.4 (Santiago)
Red Hat Enterprise Linux Server release 6.4 (Santiago