0

我试过了:import ifcopenshell

之后我尝试了:!pip install -q ifcopenshell

之后使用:!apt-get -qq install -y ifcopenshell

在所有三种情况下我都有一个错误:找不到满足 ifcopenshell 要求的版本(来自版本:)没有为 ifcopenshell 找到匹配的发行版

...如何在 google-colaboratory 中安装“ifcopenshell”?

提前致谢

4

2 回答 2

0

使用康达

!wget -c https://repo.continuum.io/archive/Anaconda3-5.1.0-Linux-x86_64.sh
!chmod +x Anaconda3-5.1.0-Linux-x86_64.sh
!bash ./Anaconda3-5.1.0-Linux-x86_64.sh -b -f -p /usr/local
!conda install -c conda-forge -c oce -c dlr-sc -c ifcopenshell ifcopenshell

import sys
sys.path.append('/usr/local/lib/python3.6/site-packages/')
于 2019-03-13T20:32:47.453 回答
0

我相信我们必须以 linux 身份离开,因为我们正在 google colab 中克隆一个 repo。只需在 googlecollab 中打开一个笔记本,复制并粘贴预览建议的确切行,然后运行。

于 2021-07-24T08:49:21.253 回答