亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

特定軟件包版本的 pip 依賴樹

特定軟件包版本的 pip 依賴樹

一只斗牛犬 2022-11-09 16:58:39
我正在嘗試查看特定包所需的所有依賴項(在這種情況下,我使用的是 pipdeptree),但事實證明它只向我顯示了已安裝包的依賴項樹。假設我正在使用石墨烯:2.1.0,例如:$ pipdeptree -p grapheneWarning!!! Possibly conflicting dependencies found:* graphql-relay==0.5.0 - graphql-core [required: >=0.5.0,<2, installed: 2.3.1]* social-auth-core==3.2.0 - requests [required: >=2.9.1, installed: 2.8.1]------------------------------------------------------------------------現在當我嘗試時$ pipdeptree -p graphene==40.0.2 (不存在)。Warning!!! Possibly conflicting dependencies found:* graphql-relay==0.5.0 - graphql-core [required: >=0.5.0,<2, installed: 2.3.1]* social-auth-core==3.2.0 - requests [required: >=2.9.1, installed: 2.8.1]------------------------------------------------------------------------似乎它只考慮了一個穩定的版本,我想要的是一個與我通過控制臺提供的特定版本相關的依賴樹,我希望我對此很清楚。
查看完整描述

1 回答

?
翻閱古今

TA貢獻1780條經驗 獲得超5個贊

我相信johnnydep可以提供幫助:

$ johnnydep --verbose 0 'graphene==2.1.0'

name                            summary

------------------------------  ---------------------------------------

graphene==2.1.0                 GraphQL Framework for Python

├── aniso8601<4,>=3             A library for parsing ISO 8601 strings.

├── graphql-core<3,>=2.0        GraphQL implementation for Python

│   ├── promise<3,>=2.3         Promises/A+ implementation for Python

│   │   └── six                 Python 2 and 3 compatibility utilities

│   ├── rx<2,>=1.6              Reactive Extensions (Rx) for Python

│   └── six>=1.10.0             Python 2 and 3 compatibility utilities

├── graphql-relay<1,>=0.4.5     Relay implementation for Python

│   ├── graphql-core<2,>=0.5.0  GraphQL implementation for Python

│   │   ├── promise>=2.0        Promises/A+ implementation for Python

│   │   │   └── six             Python 2 and 3 compatibility utilities

│   │   └── six>=1.10.0         Python 2 and 3 compatibility utilities

│   ├── promise>=0.4.0          Promises/A+ implementation for Python

│   │   └── six                 Python 2 and 3 compatibility utilities

│   └── six>=1.10.0             Python 2 and 3 compatibility utilities

├── promise<3,>=2.1             Promises/A+ implementation for Python

│   └── six                     Python 2 and 3 compatibility utilities

└── six<2,>=1.10.0              Python 2 and 3 compatibility utilities


查看完整回答
反對 回復 2022-11-09
  • 1 回答
  • 0 關注
  • 159 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號