tkfy920 / qstock

qstock由“Python金融量化”公众号开发,试图打造成个人量化投研分析包,目前包括数据获取(data)、可视化(plot)、选股(stock)和量化回测(策略backtest)模块。 qstock将为用户提供简洁的数据接口和规整化后的金融市场数据。可视化模块为用户提供基于web的交互图形的简单接口; 选股模块提供了同花顺的选股数据和自定义选股,包括RPS、MM趋势、财务指标、资金流模型等; 回测模块为大家提供向量化(基于pandas)和基于事件驱动的基本框架和模型。 关注“Python金融量化“微信公众号,获取更多应用信息。
MIT License
829 stars 228 forks source link

安装依赖环境后运行示例代码出现问题 #27

Open pjyaaa opened 8 months ago

pjyaaa commented 8 months ago

先通过conda create -n qstock python=3.9创建一个虚拟环境 通过pip install -r requirements.txt后,全部安装后出现以下错误信息: ERROR: Could not find a version that satisfies the requirement six (from plotly) (from versions: none) ERROR: No matching distribution found for six 后没有去理会,直接在vsCode中运行示例代码news.py后出现以下错误。 (base) D:\githubtest1\qstock20231109\qstock>python d:\githubtest1\qstock20231109\qstock\data\money.py C:\Users\p'j'y\AppData\Roaming\Python\Python39\site-packages\pandas\core\computation\expressions.py:21: UserWarning: Pandas requires version '2.8.0' or newer of 'numexpr' (version '2.7.3' currently installed). from pandas.core.computation.check import NUMEXPR_INSTALLED C:\Users\p'j'y\AppData\Roaming\Python\Python39\site-packages\pandas\core\arrays\masked.py:62: UserWarning: Pandas requires version '1.3.4' or newer of 'bottleneck' (version '1.3.2' currently installed). from pandas.core import ( C:\ProgramData\Anaconda3\lib\site-packages\scipy__init__.py:146: UserWarning: A NumPy version >=1.16.5 and <1.23.0 is required for this version of SciPy (detected version 1.26.1 warnings.warn(f"A NumPy version >={np_minversion} and <{np_maxversion}"

(base) D:\githubtest1\qstock20231109\qstock>python d:\githubtest1\qstock20231109\qstock\data\news.py C:\Users\p'j'y\AppData\Roaming\Python\Python39\site-packages\pandas\core\computation\expressions.py:21: UserWarning: Pandas requires version '2.8.0' or newer of 'numexpr' (version '2.7.3' currently installed). from pandas.core.computation.check import NUMEXPR_INSTALLED C:\Users\p'j'y\AppData\Roaming\Python\Python39\site-packages\pandas\core\arrays\masked.py:62: UserWarning: Pandas requires version '1.3.4' or newer of 'bottleneck' (version '1.3.2' currently installed). from pandas.core import (

(base) D:\githubtest1\qstock20231109\qstock>python d:\githubtest1\qstock20231109\qstock\data\news.py C:\Users\p'j'y\AppData\Roaming\Python\Python39\site-packages\pandas\core\computation\expressions.py:21: UserWarning: Pandas requires version '2.8.0' or newer of 'numexpr' (version '2.7.3' currently installed). from pandas.core.computation.check import NUMEXPR_INSTALLED C:\Users\p'j'y\AppData\Roaming\Python\Python39\site-packages\pandas\core\arrays\masked.py:62: UserWarning: Pandas requires version '1.3.4' or newer of 'bottleneck' (version '1.3.2' currently installed). from pandas.core import (