-
Notifications
You must be signed in to change notification settings - Fork 335
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 install -U chatglm-cpp报错 #59
Comments
I installed g++, but still get error:
|
Changing OS to ubuntu:22.04, get different error when pip install:
|
Hi, would you try upgrading your pip and then retry: python3 -m pip install -U pip |
Thanks a lot for reply. Pip is already the latest version
|
源码安装也报错了,错误信息:
|
如果是从Pypy下载的安装包,用pip install 安装则会报如下错误:
|
如果方便,是否能将您编译好的wheel文件给出?@li-plus |
目前为止,只有Mac平台的 pip install 成功了。希望能帮忙解决下其它平台的安装问题。@li-plus |
ERROR: Could not build wheels for chatglm-cpp, which is required to install pyproject.toml-based projects |
@li-plus Do you plan to fix this issue? |
@zqkou Would you try installing the latest |
@li-plus Tried again, still got the similar error:
|
same error Could not build wheels for chatglm-cpp, which is required to install pyproject.toml-based projects |
你需要读取 submodule,执行 |
我也遇到了这个问题,明确cuda版本的软连接实际对应的版本(我装了多个cuda版本,比如我这边是ln -s /usr/local/cuda-12.2/ /usr/local/cuda/ )后再按以下的命令指定了编译器(gcc和g++用的devtoolset-7的),我编译成功了,供参考 |
我是用下面这个方法解决的,值得一试
|
Debian12 我这边是安装对应版本的dev包后就可以了, 检查下是否有对应版本的包, 比如
|
this is work for me on mac m1: 'git submodule update --init --recursive' |
这个方法有用,谢谢 |
如果是在windows下报错,可以命令行执行cmake -h查看 CMAKE默认生成器,如果需要安装相应的生成器,我这边使用的是Visual Studio 17 2022,所以在Visual Studio Installer安装C++的桌面开发环境就可以了 |
@li-plus 我也遇到了相同的问题,这里说的方式我都尝试了,还是没法在服务器上pip install -U chatglm-cpp;本地mac不报错; 请抽空解决一下 |
我手动的 pip install whl 解决了这个问题 contOS7.9 |
Can someone please update the Python package? Also cross-reference to #287 |
Same error.
|
OS: Debian GNU/Linux 12
Python 3.9.17
pip 23.2
报错:
The text was updated successfully, but these errors were encountered: