我正在使用 Virtual Box 6.1 和 Ubuntu 18.04。
这是我的步骤:
Devices
->Install Guest Additions
sudo apt-get install build-essential linux-headers-generic
Applications
-> Accessories
-> Terminal
)我已经在设置中启用了双向复制/粘贴,但仍然无法正常工作。我也试过重启机器。我在这里缺少什么,请帮忙?
另外,我试过 -
sudo apt-get install virtualbox-guest-dkms virtualbox-guest-utils
Run Code Online (Sandbox Code Playgroud) 我已经看过一些笔记,说使用 sudo 命令进行 pip upgrade 不是一个好主意。我的问题是,如果我不给 sudo,我会收到权限错误。我该如何解决这个问题?另外,不建议使用 sudo 来升级 pip 的原因是什么?
$python -m pip install --upgrade pip
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Collecting pip
Using cached https://files.pythonhosted.org/packages/54/0c/d01aa759fdc501a58f431eb594a17495f15b88da142ce14b5845662c13f3/pip-20.0.2-py2.py3-none-any.whl
Installing collected packages: pip
Found existing installation: …
Run Code Online (Sandbox Code Playgroud)