【问题标题】:Why does pip install not work for catboost? Problem with python distribution为什么 pip install 不适用于 catboost? python分发的问题
【发布时间】:2023-02-09 21:48:36
【问题描述】:

我必须安装 catboost 但不能通过 pip install catboost 来安装。 Pip sad 'No matching distribution found for catboost' 但这不是我想的那样。

我读了这个问题Why does pip install not work for catboost? 并确保我使用的是 python x64,并且可以使用 pip 安装库。

命令输出:

C:\Users\uname\AppData\Local\Programs\Python\Python311>python.exe -m pip install cx_oracle
Collecting cx_oracle
Using cached cx_Oracle-8.3.0-cp311-cp311-win_amd64.whl
Installing collected packages: cx_oracle
Successfully installed cx_oracle-8.3.0

C:\Users\uname\AppData\Local\Programs\Python\Python311>python
Python 3.11.2 (tags/v3.11.2:878ead1, Feb  7 2023, 16:38:35) \[MSC v.1934 64 bit (AMD64)\] on win32
Type "help", "copyright", "credits" or "license" for more information.

>>> import cx_Oracle
>>> exit()

C:\Users\uname\AppData\Local\Programs\Python\Python311>python.exe -m pip install catboost
ERROR: Could not find a version that satisfies the requirement catboost (from versions: 0.1.1)
ERROR: No matching distribution found for catboost

可能是 PATH 中的问题,因为我没有管理员权限来检查这个但是在 pyhton 安装期间我确认将 python 添加到路径。

点子版本是:

C:\Users\uname\AppData\Local\Programs\Python\Python311>python -m pip -V pip 23.0 from C:\Users\uname\AppData\Local\Programs\Python\Python311\Lib\site-packages\pip (python 3.11)

我应该怎么办?

【问题讨论】:

    标签: python pip package pythonpath catboost


    【解决方案1】:

    我得到的解决方案非常简单,python 3.11 现在不支持 catboost

    在这里查看https://pypi.org/project/catboost/#files

    【讨论】:

      猜你喜欢
      • 2019-07-03
      • 1970-01-01
      • 2022-11-08
      • 1970-01-01
      • 2020-05-09
      相关资源
      最近更新 更多