【发布时间】:2020-11-16 23:04:12
【问题描述】:
我已决定安装 MacOs Big Sur,现在我必须重新安装所有软件包...但我遇到了一些问题。
我没有太多使用终端的经验,但是安装一些数据科学库需要很长时间。例如,安装 numpy 需要几分钟,而现在,距离我开始尝试安装 pandas lib 已经有 15 分钟了
pip3 install pandas
Defaulting to user installation because normal site-packages is not writeable
Collecting pandas Using cached pandas-1.1.4.tar.gz (5.2 MB)
Installing build dependencies ... -
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Requirement already satisfied: numpy>=1.15.4 in ./Library/Python/3.8/lib/python/site-packages (from pandas) (1.19.4)
Collecting pytz>=2017.2
Downloading pytz-2020.4-py2.py3-none-any.whl (509 kB)
|████████████████████████████████| 509 kB 1.2 MB/s
Requirement already satisfied: python-dateutil>=2.7.3 in ./Library/Python/3.8/lib/python/site-packages (from pandas) (2.8.1)
Requirement already satisfied: six>=1.5 in /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages (from python-dateutil>=2.7.3->pandas) (1.15.0)
Building wheels for collected packages: pandas
Building wheel for pandas (PEP 517) ... \
我已经卡在这个屏幕上很久了。至少 15 分钟。我能听到电脑风扇全速运转的声音,笔记本电脑也开始发热。为什么需要这么长时间?因为它只是一个小库......我不记得以前在另一个 MacOs 版本上安装它时花了这么多时间......我做错了什么吗?谢谢。
【问题讨论】: