小编AKA*_*AKA的帖子

无法安装 .sh 文件

我正在尝试使用一个名为 mgl-tools 的包,当我运行 ./install.sh 时,它不起作用。几天前它曾经有效。

错误:

./install.sh 
Installing MGLTools to /home/aka/Desktop/Expt 10/mgltools_x86_64Linux2_1.5.7
Installing Python Interpreter to 
tar (child): /home/aka/Desktop/Expt: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
Error in Python installation
Run Code Online (Sandbox Code Playgroud)

.sh文件的内容:

#!/bin/sh

# MGL Tools installation script
pythonargs=" "
pyoptimize=0
TarDir=`pwd`
export MGL_ROOT=""

# Parse the command-line arguments
opts=`getopt "hlc:d:" "$@"`
if [ "$?" != 0 ]
then
   echo "Usage: …
Run Code Online (Sandbox Code Playgroud)

python command-line tar python3 sh

3
推荐指数
1
解决办法
1395
查看次数

标签 统计

command-line ×1

python ×1

python3 ×1

sh ×1

tar ×1