简体   繁体   中英

Installing TeX: MacOS terminal launch with -bash: /Applications/MiKTeX: No such file or directory

I have tried a few times using TeX on my MacOS through installing MiKTeX console, including changing environmental variables. However, every time I opens terminal, it always automatically shows:

-bash: /Applications/MiKTeX: No such file or directory .

Command echo $PATH returns /anaconda3/bin:/anaconda3/condabin:/Library/Frameworks/Python.framework/Versions/3.7/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/user/bin

是的,在我卸载MiKTeX并将其删除到.bash_profile后,现在可以解决

export PATH=$PATH:/user/bin;/Applications/MiKTeX Console.app/Contents/bin/cjklatex

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM