我愿意使用代码,它需要首先安装。
要按照上的说明安装太极遗产,我运行以下命令
wget https://raw.githubusercontent.com/yuanminghu/taichi/legacy/install.py
然后是python3.8 install.py,它提供了以下错误消息:
In file included from /home/sourena/taichi/include/taichi/common/util.h:263,
from /home/sourena/taichi/include/taichi/util.h:6,
我的问题最好用一个例子来解释。
设置-x或设置-v“打开”功能
设置+x或设置+v“关闭”功能
但是,如果我的脚本调用另一个脚本或shell函数,在另一个脚本/函数中,我如何获取这些设置的状态。例如,
# In called script/function
# <save status of "set">
set -abcdef
# do stuff
# <restore status of "set">
谢谢!