Cmd 错误属性错误:模块';twint';没有属性';配置';

Cmd 错误属性错误:模块';twint';没有属性';配置';,cmd,jupyter-notebook,config,Cmd,Jupyter Notebook,Config,我已安装了twint,其中包括: git clone --depth=1 https://github.com/twintproject/twint.git cd twint pip3 install . -r requirements.txt 这导致了成功的安装: Successfully installed twint-2.1.21 它可以使用命令提示符(cmd.exe)命令从twitter获取推文,但当我尝试在jupyter notebook中运行该示例时,它给出了一个错误: Attr

我已安装了
twint
,其中包括:

git clone --depth=1 https://github.com/twintproject/twint.git
cd twint
pip3 install . -r requirements.txt
这导致了成功的安装:

Successfully installed twint-2.1.21
它可以使用命令提示符(cmd.exe)命令从twitter获取推文,但当我尝试在jupyter notebook中运行该示例时,它给出了一个错误:

AttributeError                            Traceback (most recent call last)
<ipython-input-6-f48dbefa5025> in <module>
      1 # Configure
----> 2 c = twint.Config()
      3 c.Search = "wfh"
      4 
      5 # Run

AttributeError: module 'twint' has no attribute 'Config'
import twint
# Configure
c = twint.Config()
c.Search = "wfh"

# Run
twint.run.Search(c)