Numpy/ Pandas/ Matplotlib安装时间太长
我已经决定安装MacOs Big Sur,现在我必须重新安装所有的软件包……但我正面临着一些问题。
我没有太多使用终端的经验,但是安装一些数据科学库的时间太长了。例如,安装numpy需要几分钟的时间,而现在,距离我开始尝试安装pandas库已经过去了15分钟
代码语言:javascript运行复制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版本上安装它的时候花了这么多时间……我做错了什么吗?谢谢。