【自用】ARF环境搭建,续上一篇(2)

首先使用create_env.sh搭建环境,然后运行opt中的脚本时,会提示缺少svox2脚本,需要手动安装。

在根文件夹,执行:

pip install .

会报错:

distutils.errors.DistutilsError: Command '['/root/miniconda3/envs/plenoxel/bin/python', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpr038djse', '--quiet', 'pybind11>=2.5.0']' returned non-zero exit status 1.

pip install pybind11后,还会报错:

UserWarning: The environment variable `CUB_HOME` was not found.Installation will fail if your system CUDA toolkit version is less than 11.NVIDIA CUB can be downloaded from `https://github.com/NVIDIA/cub/releases`. You can unpack it to a location of your choice and set the environment variable `CUB_HOME` to the folder containing the `CMakeListst.txt` file.

检查以后发现安装环境的脚本可能安装成cpu版本了(通过import torch后torch.cuda.is_available()是否为True检查,如果是False那就是不对的)。卸载掉现在的pytorch以后通过以下命令重下载一遍(下载前,根据上一篇博客引用的链接添加清华源):

pip install torch==1.10.1+cu113 torchvision==0.11.2+cu113 torchaudio==0.10.1 -f https://download.pytorch.org/whl/cu113/torch_stable.html

然后还是执行pip install .

花了好长时间,应该是成功了。

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值