我一直在尝试在我的计算机(Windows 操作系统)上安装 google-colab 失败。
我运行“pip install google-colab”时的输出很长,但我收到的一些错误是:
> Building wheel for pandas (setup.py) ... error ERROR: Command
> errored out with exit status 1: command:
> 'C:\Users\...\Anaconda3\python.exe' -u -c 'import sys, setuptools,
> tokenize; sys.argv[0] =
> '"'"'C:\\Users\\...\\AppData\\Local\\Temp\\pip-install-ifymdm95\\pandas\\setup.py'"'"';
> __file__='"'"'C:\\Users\\...\\AppData\\Local\\Temp\\pip-install-ifymdm95\\pandas\\setup.py'"'"';f=getattr(tokenize,
> '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"',
> '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))'
> bdist_wheel -d 'C:\Users\...\AppData\Local\Temp\pip-wheel-02i01qsx'
Run Code Online (Sandbox Code Playgroud)
然后经过长时间的错误输出,最后是:
Rolling back uninstall of pandas
Moving to c:\users\...\anaconda3\lib\site-packages\pandas-1.2.0.dist-info\
from C:\Users\...\Anaconda3\Lib\site-packages\~andas-1.2.0.dist-info
Moving to c:\users\...\anaconda3\lib\site-packages\pandas\
from C:\Users\...\Anaconda3\Lib\site-packages\~-ndas
ERROR: Command errored out with exit status 1: 'C:\Users\...\Anaconda3\python.exe' -u -c 'import sys, …Run Code Online (Sandbox Code Playgroud)