Defaulting to user installation because normal site-packages is not writeable 问题

 直接输入 pip install numpy 报如下错误

Defaulting to user installation because normal site-packages is not writeable
ERROR: Could not find a version that satisfies the requirement num.py (from versions: none)
ERROR: No matching distribution found for num.py

改用如下代码可以解决问题

python2 -m pip install numpy

你可能感兴趣的:(numpy,python,开发语言)