Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip安装时出现无关异常库试图安装问题 #25

Open
flashlxy opened this issue May 4, 2022 · 1 comment
Open

pip安装时出现无关异常库试图安装问题 #25

flashlxy opened this issue May 4, 2022 · 1 comment

Comments

@flashlxy
Copy link

flashlxy commented May 4, 2022

在 用 pip install nmc-met-io 库时,出现以下安装信息:

Preparing metadata (setup.py) ... done
Requirement already satisfied: numpy>=1.17.0 in d:\anaconda3\lib\site-packages (from nmc-met-io) (1.21.5)
Requirement already satisfied: scipy>=1.4.0 in d:\anaconda3\lib\site-packages (from nmc-met-io) (1.7.3)
Requirement already satisfied: pandas>=1.0.0 in d:\anaconda3\lib\site-packages (from nmc-met-io) (1.3.4)
Requirement already satisfied: xarray>=0.16.0 in d:\anaconda3\lib\site-packages (from nmc-met-io) (0.20.2)
Collecting protobuf>=3.12.0
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/36/16/cfba8fcd817df923827233115df35dc048af12d0afa13df79b303865855a/protobuf-3.20.1-cp37-cp37m-win_amd64.whl (905 kB)
---------------------------------------- 905.1/905.1 KB 4.4 MB/s eta 0:00:00
Requirement already satisfied: urllib3>=1.25.9 in d:\anaconda3\lib\site-packages (from nmc-met-io) (1.26.9)
Requirement already satisfied: tqdm>=4.47.0 in d:\anaconda3\lib\site-packages (from nmc-met-io) (4.64.0)
Requirement already satisfied: python-dateutil>=2.8.1 in d:\anaconda3\lib\site-packages (from nmc-met-io) (2.8.2)
Requirement already satisfied: pytz>=2017.3 in d:\anaconda3\lib\site-packages (from pandas>=1.0.0->nmc-met-io) (2022.1)
Requirement already satisfied: six>=1.5 in d:\anaconda3\lib\site-packages (from python-dateutil>=2.8.1->nmc-met-io) (1.16.0)
Requirement already satisfied: colorama in d:\anaconda3\lib\site-packages (from tqdm>=4.47.0->nmc-met-io) (0.4.4)
Requirement already satisfied: typing-extensions>=3.7 in d:\anaconda3\lib\site-packages (from xarray>=0.16.0->nmc-met-io) (4.2.0)
Requirement already satisfied: importlib-metadata in d:\anaconda3\lib\site-packages (from xarray>=0.16.0->nmc-met-io) (4.11.3)
Requirement already satisfied: zipp>=0.5 in d:\anaconda3\lib\site-packages (from importlib-metadata->xarray>=0.16.0->nmc-met-io) (3.8.0)
Building wheels for collected packages: nmc-met-io
Building wheel for nmc-met-io (setup.py) ... done
Created wheel for nmc-met-io: filename=nmc_met_io-0.1.9.2-py3-none-any.whl size=114006 sha256=34658b7b6e736bdc7f7aff81c33eb94bb3977be966ec3aa32ea027733a8defd1
Stored in directory: c:\users\tom\appdata\local\pip\cache\wheels\c6\c9\0f\58fcb38edef884bd986ac3fb853ac7d7627b5fc18547e5c5b0
Successfully built nmc-met-io
Installing collected packages: protobuf, nmc-met-io
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
gm 3.0.137 requires typing>=3.6.2, which is not installed.

Successfully installed nmc-met-io-0.1.9.2 protobuf-3.20.1

加粗斜线部分显示, 一个无关紧要的 库 gm 3.0.137 requires typing>=3.6.2, which is not installed. 掘金量化sdk库 试图安装。这个库完全和 它 搭不上交道, 感觉 nmc-met-io库安装被人做了手脚。

@NMC-DAVE
Copy link
Member

NMC-DAVE commented Jun 1, 2022

gm是一个量化金融的库,不是nmc_met_io所依赖的,你把这个库删除看看

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants