问题描述
我正在尝试将pip3与python 3.9一起使用来安装模块...我阅读了有关Windows的答复,这些答复建议安装Visual Studio,因为我们需要一个好的C ++编译器
我使用macOS
输入:
android:path="/profile/friendslist"
输出:
rohansaswade@Rohans-MBP ~ % pip3 install numpy
我没有提及完整的错误输出,因为它似乎无关紧要,但是如果您需要它来帮助我,请发表评论。
我使用macOS Catalina 10.15.7和python 3.9
解决方法
我遇到了同样的问题。 就我而言,以下步骤虽然很耗时,但很有帮助。
#准备pip install cython
git clone https://github.com/numpy/numpy.git
#步骤cd numpy
python setup.py build
python setup.py install
我希望它也适用于您。