[英]Tensorflow can be used in Pycharm, but cannot find reference `xxx` in __init__.py
I am using tensorlfow 2.0 in Pycharm 2019, it seems that it can be used normally, and the code will be completed automatically.我在Pycharm 2019中使用的是tensorlfow 2.0,貌似可以正常使用,代码会自动补全。 But Pycharm keeps showing cannot find reference xxx in __init__.py
.但是 Pycharm 一直显示cannot find reference xxx in __init__.py
。 The following image is the result of my run.下图是我运行的结果。 by the way, my OS is Ubuntu 16.04, And I use anaconda to manage my python.顺便说一下,我的操作系统是 Ubuntu 16.04,我使用 anaconda 来管理我的 python。 Please help me, thanks!请帮助我,谢谢!
Should be fixed in 2019.3 release.应在 2019.3 版本中修复。 See the relevant ticket in PyCharm's bug tracker https://youtrack.jetbrains.com/issue/PY-37589请参阅 PyCharm 错误跟踪器中的相关票证https://youtrack.jetbrains.com/issue/PY-37589
Btw 2019.3 release candidate is already available, feel free to grab it from https://www.jetbrains.com/pycharm/nextversion/顺便说一句,2019.3 候选版本已经可用,请随时从https://www.jetbrains.com/pycharm/nextversion/获取它
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.