关于安装问题
按照仓库要求安装时,一直报如下错误,请问是否遇到过类似问题或有无解决方式?
/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.
没遇到过类似问题。你可以参考https://github.com/Dao-AILab/fast-hadamard-transform安装fast-hadamard-transform依赖。
按照仓库要求安装时,一直报如下错误,请问是否遇到过类似问题或有无解决方式?
/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.
解决了吗