小编Kev*_*vin的帖子

MacOS,Python:ModuleNotFoundError:没有名为'kiwisolver'的模块

我试图在MacOS Sierra上的Atom中导入kiwisolver,我收到错误:

输入:

import kiwisolver as kiwi
Run Code Online (Sandbox Code Playgroud)

输出:

Traceback (most recent call last):
File "/Users/Kev/Documents/Uvic/Python/PHYS 321B/A6Q5&6_Coupled_Oscillators_Matrix.py", line 3, in <module>
import kiwisolver as kiwi
ModuleNotFoundError: No module named 'kiwisolver'
Run Code Online (Sandbox Code Playgroud)

问题是它已经安装:

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 …
Run Code Online (Sandbox Code Playgroud)

python macos atom-editor

8
推荐指数
1
解决办法
7399
查看次数

标签 统计

atom-editor ×1

macos ×1

python ×1