open3d安装相关问题

1.安装:Anaconda

参照:
Ubuntu安装Anaconda详细步骤(Ubuntu21.10,Anaconda3)
下载链接为Anaconda
按照以下步骤完成安装:
(1)运行Anaconda3-2021.11-Linux-x86_64.sh文件

bash Anaconda3-2021.11-Linux-x86_64.sh

(2)输入yes

wwtx@wwtx:~/下载$ bash Anaconda3-2022.05-Linux-x86_64.sh 

Welcome to Anaconda3 2022.05

In order to continue the installation process, please review the license
agreement.
Please, press ENTER to continue
>>> yes

(3)

2.conda:未找到命令

参照:conda:未找到命令

3.在ubuntu20.04上装open3d 0.9.0

参照:
ubuntu1604安装open3d 0.9.0版本
ubuntu20.04
使用新版本的open3d
要使用新版本可以更换系统(ubuntu1804以上或者windows),安装好python环境后,升级pip
用windows下python3.8环境举例(anaconda默认环境base),在没升级pip之前
输入命令查看可用版本

pip install open3d==

结果是

ERROR: Could not find a version that satisfies the requirement open3d==
ERROR: No matching distribution found for open3d==

升级pip

python -m pip install --upgrade pip

再输入命令

pip install open3d==

可以看到可用版本为0.10以后的

ERROR: Could not find a version that satisfies the requirement open3d== (from versions: 0.10.0.0, 0.10.0.1, 0.11.0, 0.11.1, 0.11.2, 0.12.0, 0.13.0)
ERROR: No matching distribution found for open3d==

比如安装最新的0.13.0,输入

pip install open3d==0.13.0

在ubuntu1604上装0.9.0

如果不能更换系统,则使用以下方式在ubuntu1604上装0.9.0版本
安装anaconda,退出默认的conda环境

conda deactivate

创建新的python环境,python版本为3.7

conda create -n env_open3d_09 python=3.7

进入环境

conda activate env_open3d_09

升级pip

python -m pip install --upgrade pip

查看可用版本

pip install open3d==

结果

ERROR: Could not find a version that satisfies the requirement open3d== (from versions: 0.8.0.0, 0.9.0.0, 0.10.0.0, 0.10.0.1, 0.11.0, 0.11.1, 0.11.2, 0.12.0, 0.13.0)
ERROR: No matching distribution found for open3d==

有0.9.0的可用版本了
安装

pip install open3d==0.9.0
ERROR: Exception:
Traceback (most recent call last):
  File "/home/wwtx/anaconda3/envs/env_open3d_09/lib/python3.7/site-packages/pip/_vendor/urllib3/response.py", line 435, in _error_catcher
    yield
  File "/home/wwtx/anaconda3/envs/env_open3d_09/lib/python3.7/site-packages/pip/_vendor/urllib3/response.py", line 516, in read
    data = self._fp.read(amt) if not fp_closed else b""

原因:网速不行

猜你喜欢

转载自blog.csdn.net/weixin_47552638/article/details/125924300
今日推荐