我正在尝试在我的 Ubuntu 18.04 机器上安装 wxPython 4。
sudo pip install wxpython
Run Code Online (Sandbox Code Playgroud)
我首先收到此警告
The directory '/home/user/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/user/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If …Run Code Online (Sandbox Code Playgroud)