先通过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 (
先通过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 (