我试图在MacOS Sierra上的Atom中导入kiwisolver,但我得到了一个错误:找不到它:
输入:import kiwisolver as kiwi
输出:Traceback (most recent call last):
File "/Users/Kev/Documents/Uvic/Python/PHYS 321B/A6Q5&6_Coupled_Oscillators_Matrix.py", line 3, in
import kiwisolver as kiwi
ModuleNotFoundError: No module named 'kiwisolver'
问题是它已经安装:w134-87-183-190:~ Kev$ sudo python -m pip install kiwisolver
The directory '/Users/Kev/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/Users/Kev/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may wa