[英]Pycharm - Type hints are not installed
I keep getting this warning in PyCharm 2018.3.5: "Type hints are not installed". 我一直在PyCharm 2018.3.5中收到此警告:“未安装类型提示”。
If I click 'Install', a log message like this appears: 如果单击“安装”,将显示如下日志消息:
6:11 PM Packages installed successfully: Installed packages: 'djangorestframework-stubs'
6:11 PM软件包安装成功:已安装的软件包:'djangorestframework-stubs'
But then the warning reappears in a few minues. 但随后警告再次出现在几分钟内。 How to fix it?
怎么解决? If it matters, I have a remote Docker Compose interpreter configured for the project, which is otherwise working fine.
如果重要,我有一个为项目配置的远程Docker Compose解释器,否则工作正常。
I created a ticket in PyCharm's bug tracker about this problem: https://youtrack.jetbrains.com/issue/PY-34624 我在PyCharm的bug追踪器中创建了一个关于这个问题的票: https : //youtrack.jetbrains.com/issue/PY-34624
What basically happens: 基本上发生了什么
djangorestframework
installed and proposes to install a stub package for it as djangorestframework-stubs
is missing djangorestframework
并建议为它安装一个存根包,因为缺少djangorestframework-stubs
djangorestframework-stubs
there djangorestframework-stubs
djangorestframework-stubs
is gone djangorestframework-stubs
消失了
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.