在Python中从配置导入标志时如何解决“ ImportError:无法导入名称'标志'”

时间:2019-04-14 06:34:30

标签: python

播放以下代码时遇到问题 https://github.com/zengguodong/iSeg_Bern_IPMI 问题在6号线。播放时会提示导入错误:

from config import FLAGS

ImportError: cannot import name 'FLAGS'

但是当我安装'FLAGS'时,它就会显示出来

(tensorflow) C:\Users\zh>pip install FLAGS
Requirement already satisfied: FLAGS in d:\anaconda\envs\tensorflow\lib\site-packages (0.0.1.2)

0 个答案:

没有答案