我试图在pycharm中使用来自patsy包的patsy函数,但在输入时会出现以下错误:
from patsy import dmatrices
在“init.py”中找不到引用“dmatrices”
我的python版本是3.8
发布于 2021-03-13 18:46:58
我知道这是超级老,但from patsy.highlevel import dmatrices实际上解决了我的问题。我刚刚碰到了这个问题
https://stackoverflow.com/questions/61334977
复制相似问题