manifold安装记录

官方文档安装指导

Github添加链接描述

# under the manifold root directory, install all dependencies
yarn
# demo app is in examples/manifold directory
cd examples/manifold
# instal demo app dependencies
yarn
# start the app
npm run start

实际安装过程

2.1 安装yarn
brew install yarn

期间会安装icu4c,并有如下提示:
icu4c is keg-only, which means it was not symlinked into /usr/local,
because macOS provides libicucore.dylib (but nothing else).

If you need to have icu4c first in your PATH run:
echo ‘export PATH="/usr/local/opt/icu4c/bin: P A T H " ′ > >   / . b a s h p r o f i l e e c h o ′ e x p o r t P A T H = " / u s r / l o c a l / o p t / i c u 4 c / s b i n : PATH"' >> ~/.bash_profile echo 'export PATH="/usr/local/opt/icu4c/sbin: PATH">> /.bashprofileechoexportPATH="/usr/local/opt/icu4c/sbin:PATH"’ >> ~/.bash_profile

For compilers to find icu4c you may need to set:
export LDFLAGS="-L/usr/local/opt/icu4c/lib"
export CPPFLAGS="-I/usr/local/opt/icu4c/include"

==> Summary
🍺 /usr/local/Cellar/icu4c/64.2: 257 files, 69.2MB

当时并没有执行以上提示。

2.2 用yarn安装依赖
cd manifolde
yarn

报错:
gyp verb check python checking for Python executable “python2” in the PATH
gyp verb which failed Error: not found: python2

最终解决办法:
执行2.1 icu4c 安装过程中的提示。

之后的安装过程没有出现问题。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值