简体   繁体   中英

'pip install regressors' - error is : " python setup.py egg_info did not run successfully. "

I can't install the regressors package with pip install regressors command in Windows 11.

The returned error is:

 python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [32 lines of output]

I have upgraded below libraries/dependencies.

pip install --upgrade pip
pip install --upgrade setuptools
pip install ez_setup

Tried many suggestions from Web, none of them worked Any help would be appreciated,

将此库克隆到您的项目中,从您克隆的regressors包中的setup.py中删除use_2to3参数,然后使用以下命令使用 pip 安装它,之后您可以在项目中使用此包:

pip install -e ./name_of_your_clone_instance

I fixed a similar error when installing a different package by downgrading my version of setup tools:

pip install --upgrade pip setuptools==57.5.0
pip install {package}

I got to this solution from this: https://github.com/Thibauth/python-pushover/issues/42

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM