python - "AttributeError: ' 模块 ' object has no attribute ' __getstate__ ' "在我使用 easy_install 时出现

标签 python django easy-install

出于某种原因,每次我尝试使用 easy_install 安装新模块时,都会出现错误:

AttributeError: 'module' object has no attribute '__getstate__'

我正在使用 setuptools-0.6c11-py2.6

最佳答案

尝试 http://code.activestate.com/lists/python-distutils-sig/13989/ :要点是“重新安装设置工具”。

关于python - "AttributeError: ' 模块 ' object has no attribute ' __getstate__ ' "在我使用 easy_install 时出现,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3406667/

相关文章:

python - 尽管设置 sym = '',plt.boxplot 仍绘制传单

python - 将 pdf 转换为图像时出现类型错误 : TypeError ("object of type ' NoneType' has no len()", )

django - 在 Django 中模型的保存方法中引发验证错误

python - Sphinx-build 不能被识别为内部或外部命令

python - PATH 指向错误版本的 pip

python - 使用 easy_install 安装 Mechanize

python - Django 迁移外键 django.db.utils.OperationalError : (1005, "Can' t create table 'asp052mysqlpy.#sql-6ac_56' (errno: 150)") 错误

python numpy argmax到多维数组中的最大值

python - 为什么我的代码不打印整个列表?

python - 用于简单 Web 应用程序的 Django