我在 Python 中使用 Selenium,我尝试运行 webdriver 函数:
default_browser = webdriver.Firefox()
此异常:
WebDriverException: Message: 'geckodriver' executable needs to be in PATH.
geckodriver在本站:https : //github.com/mozilla/geckodriver
但是如何在 Ubuntu 16.04 中安装,我可以解决这个问题吗?
我正在使用zshwhichgs作为git status. 但在 Ubuntu 上,gs是 ghostscript 的别名。我尝试卸载 ghostscript,但后来我得到了这个:
The program 'gs' is currently not installed. You can install it by typing:
sudo apt install ghostscript
zsh: command not found: gs
Run Code Online (Sandbox Code Playgroud)
我也试过:
unalias gs
Run Code Online (Sandbox Code Playgroud)
正如这里所解释的:
但这给了我unalias: no such hash table element: gs。
我该如何解决这个问题?
我得到这个使用df -h:
root@server:/home/username# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_main-lv_main 39G 39G 0 100% /
udev 993M 4.0K 993M 1% /dev
tmpfs 401M 264K 401M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 1002M 0 1002M 0% /run/shm
/dev/sda1 453M 30M 401M 7% /boot
Run Code Online (Sandbox Code Playgroud)
我尝试过清除、自动删除等。什么是/dev/mapper/vg_main-lv_main以及如何清除它?