gpt4 book ai didi

python - 安装 gruobipy 包 - 错误

转载 作者:太空宇宙 更新时间:2023-11-04 12:23:24 24 4
gpt4 key购买 nike

我无法安装 Python 包 Gurobipy。我在尝试时得到以下输出:

running install

running build running build_py running install_lib running

install_egg_info Removing

/usr/local/lib/python2.7/dist-packages/gurobipy-7.5.1.egg-info Writing

/usr/local/lib/python2.7/dist-packages/gurobipy-7.5.1.egg-info

removing 'build/lib.linux-x86_64-2.7' (and everything under it)

'build/bdist.linux-x86_64' does not exist -- can't clean it

'build/scripts-2.7' does not exist -- can't clean it removing 'build'

我运行 Ubuntu 16.04、Python 2.7 和 Gurobi 7.5.1。 gurobi.sh 工作正常...

最佳答案

您可以通过命令 from gurobipy import * 测试 gurobipy。如果没有错误,则安装成功,您可以忽略运行 setup.py 的消息。

关于python - 安装 gruobipy 包 - 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45437617/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com