我只是运行这个命令:
\n\nsudo pip install pyodbc \n
Run Code Online (Sandbox Code Playgroud)\n\n然后我收到以下消息和错误:
\n\nsteven81@PythonWEBVM:~$ sudo pip install pyodbc\nThe directory \'/home/steven81/.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.\nThe directory \'/home/steven81/.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 …
Run Code Online (Sandbox Code Playgroud) python ×1