Raspbian Stretch wolframscript不工作
问题描述:
看来wolframscript不再适用于最新版本的raspbian。我试图在命令行上运行“wolframscript”,但它说它不是一个命令。当我尝试运行.wls脚本,它给我的错误:Raspbian Stretch wolframscript不工作
bash: /usr/local/bin/wolframscript: bad interpreter: No such file or directory
任何方式重新安装或wolframscript得到它的工作?
答
我也不能在最新树莓派3找到wolframscript,但下面的工作:
[email protected]:~ $ cat >hello.wsc <<'EOF'
#!/usr/bin/wolfram -script
Print["Hello"]
Print[$CommandLine]
EOF
[email protected]:~ $ chmod +x hello.wsc
[email protected]:~ $ ./hello.wsc one 2 three
Hello
{/opt/Wolfram/WolframEngine/11.0/SystemFiles/Kernel/Binaries/Linux-ARM/WolframKernel, -script, ./hello.wsc, one, 2, three}