[英]Why I am getting this error(AttributeError: 'module' object has no attribute 'openssl_md_meth_names')?
So far there seems to be only one question regarding this error in the entire forum.. 到目前为止,在整个论坛中似乎只有一个关于此错误的问题。
When running any pyo example in E-Pyo through Python 2.7.11 I get this error: 当通过Python 2.7.11在E-Pyo中运行任何pyo示例时,我收到此错误:
File "C:\Python27\lib\site-packages\pyolib\_core.py", line 22, in <module>
import random, os, sys, inspect, tempfile
File "C:\Python27\lib\random.py", line 49, in <module>
import hashlib as _hashlib
File "C:\Python27\lib\hashlib.py", line 138, in <module>
_hashlib.openssl_md_meth_names)
AttributeError: 'module' object has no attribute 'openssl_md_meth_names'
I installed python 2.7.11 just for E-Pyo, I had already been using 3.42 so I believe the error may stem from this. 我为E-Pyo安装了python 2.7.11,我已经使用了3.42所以我相信错误可能源于此。
Some search led me to check the sys path in relation to hashlib: 一些搜索让我检查与hashlib相关的sys路径:
import sys
print sys.path
import _hashlib
print _hashlib.__file__
import hashlib
print hashlib.__file__
output: 输出:
['', 'C:\\Program Files\\Csound6_x64\\bin', 'C:\\Python27', 'C:\\Python27\\pytho
n27.zip', 'C:\\Python27\\DLLs', 'C:\\Python27\\lib', 'C:\\Python27\\lib\\plat-wi
n', 'C:\\Python27\\lib\\lib-tk', 'C:\\Python27\\lib\\site-packages']
C:\Python27\DLLs\_hashlib.pyd
C:\Python27\lib\hashlib.pyc
I am not quite sure how to interpret this as I am fairly new to programming.. 我不太清楚如何解释这个,因为我对编程很新。
So, the question is, how can I correct this error? 那么,问题是,我该如何纠正这个错误?
Thank you! 谢谢!
I am on an ACER F550L Intel Core i7-4500U 1.8 GHZ running Windows 我在运行Windows的ACER F550L英特尔酷睿i7-4500U 1.8 GHZ上运行
Try to use: 尝试使用:
setup.py install
Instead of: 代替:
python setup.py install
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.