fspwf
Results
1
issues of
fspwf
**问题描述** 成功“pip install longport”并设置三个”Setting environment variables“后,按官网指引运行以下代码验证是否可获取股票基本信息,出现以下报错: ImportError: cannot import name 'Config' from 'openapi' 错误是"from longport.openapi import Config, QuoteContext"这一语句导致,而我发现openapi.py内容为空,所以出现这个报错?请问这个问题是我安装longport的方法有问题,还是有什么其他原因? **代码例子** ```py from longport.openapi import Config, QuoteContext # Load configuration from environment...