2020年3月27日

pip出现WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.,已解决

摘要: pip安装第三方库时报错: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. 报错的原因是没有安装openssl; 解决方法:到https 阅读全文

posted @ 2020-03-27 22:07 宥宁 阅读(7450) 评论(0) 推荐(0) 编辑

tensorflow使用Session模块时报错:AttributeError: module 'tensorflow' has no attribute 'Session',已解决

摘要: 安装好tensorflow2.0之后,当使用Session时,报错AttributeError: module 'tensorflow' has no attribute 'Session': 源代码: import tensorflow as tf import os os.environ["CU 阅读全文

posted @ 2020-03-27 21:17 宥宁 阅读(78407) 评论(4) 推荐(11) 编辑

导航