QQQ icon indicating copy to clipboard operation
QQQ copied to clipboard

关于安装问题

Open qingkongby opened this issue 1 year ago • 2 comments

按照仓库要求安装时,一直报如下错误,请问是否遇到过类似问题或有无解决方式?

/code/QQQ/third-party/fast-hadamard-transform/build/temp.linux-x86_64-cpython-39/csrc/fast_hadamard_transform.o: file not recognized: file format not recognized collect2: error: ld returned 1 exit status error: command '/usr/bin/g++' failed with exit code 1 error: subprocess-exited-with-error

× python setup.py develop did not run successfully. │ exit code: 1 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

qingkongby avatar Nov 14 '24 12:11 qingkongby

没遇到过类似问题。你可以参考https://github.com/Dao-AILab/fast-hadamard-transform安装fast-hadamard-transform依赖。

HandH1998 avatar Nov 18 '24 06:11 HandH1998

按照仓库要求安装时,一直报如下错误,请问是否遇到过类似问题或有无解决方式?

/code/QQQ/third-party/fast-hadamard-transform/build/temp.linux-x86_64-cpython-39/csrc/fast_hadamard_transform.o: file not recognized: file format not recognized collect2: error: ld returned 1 exit status error: command '/usr/bin/g++' failed with exit code 1 error: subprocess-exited-with-error

× python setup.py develop did not run successfully. │ exit code: 1 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

解决了吗

qwerty3564 avatar Dec 05 '24 06:12 qwerty3564