3DGS相关项目已经跑通,但是最近突然出现段错误,询问chatgpt说污染了底层内核,让我重装conda环境。不知道会不会有这个影响。在重装conda过程中使用requirements.txt安装diff-gaussian-rasterzation和simple-knn一直报错.在原项目路径里安装又报了段错误和每次都不同的错误。所以重建了文件夹重新拉取了源代码再重新建了conda虚拟环境。仍然报错如下:
Resolved https://github.com/graphdeco-inria/diff-gaussian-rasterization.git to commit 59f5f77e3ddbac3ed9db93ec2cfe99ed6c5d121d
Running command git submodule update --init --recursive -q
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [16 lines of output]
……
File "/home/xxx/miniconda3/envs/gs/lib/python3.9/sre_compile.py", line 804, in compile
return _sre.compile(
RuntimeError: invalid SRE code
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
再运行一次又报不同的错
Resolved https://github.com/graphdeco-inria/diff-gaussian-rasterization.git to commit 59f5f77e3ddbac3ed9db93ec2cfe99ed6c5d121d
Running command git submodule update --init --recursive -q
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: -11
╰─> [0 lines of output]
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
尝试降级setuptools为57.5.0仍然报错
```bash
File "/home/xxx/miniconda3/envs/gs/lib/python3.9/enum.py", line 12, in _is_descriptor
def _is_descriptor(obj):
SystemError: unknown opcode
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
有没有遇到相似问题的朋友指导一下,该怎么解决?