小编Yas*_*man的帖子

linux bash中没有这样的文件或目录

我在 linux (UBUNTU) 上安装了一个程序,我设置了环境变量。不幸的是,当我键入启动程序的命令时,它给了我消息:没有这样的文件或目录。

我可以看到该文件,其权限设置为可执行。我不明白为什么?

我之前在 Mac 和 Windows 上安装过这个程序,但从未发生过!:( 这是软件的链接http://www2.parc.com/isl/groups/nltt/xle/doc/xle.html#sec1.5

这是更多信息:它是 XLE!

**~/XLE/bin$ ls**
approx-rand-sigtest              lexbase               unpack
client-server-support.tcl        mt-sigtest            unpack-counts
cometc                           node_label_rules.pl   variables.tcl
commands.tcl                     pdb                   xfr_benchmark.tcl
default-gen-tokenizer.fst        print-feature-forest  xfr_exe
default-morph-config             select-best-parse     xfr-extract-feature-list
default-parse-tokenizer.fsmfile  semantics.tcl         xfr_main
dummy_translate_rules.pl         sp-3.12.0             xfr-print-feature-forest
extract                          sp-3.12.2             xfr-select-n-best
foreign_language_interface       transfer              xle
fs_triples.pl                    transfer.sav          xledate.tcl
fstructures.tcl                  transfer.tcl          xle-inspector.tcl
gen.tcl                          translate.tcl         xle.tcl
getProperSubsets                 trees.tcl             xle-unix.tcl
gtags                            triples               xle-win.tcl
identify-sparse-features         triples_match

:~/Desktop$ xle
bash: /home/yasaman/Desktop/XLE/bin/xle: No such file or directory
Run Code Online (Sandbox Code Playgroud)

正如您所看到的,环境变量设置正确,因为它知道在哪里查找 xle 命令,但是 ..

yasaman@yasaman-desktop:~$ $PATH
bash: /home/yasaman/Desktop/XLE/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games: …
Run Code Online (Sandbox Code Playgroud)

linux

4
推荐指数
1
解决办法
2702
查看次数

标签 统计

linux ×1