Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No module named 'kiwisolver' #82

Closed
wernick96 opened this issue Jun 11, 2020 · 4 comments
Closed

No module named 'kiwisolver' #82

wernick96 opened this issue Jun 11, 2020 · 4 comments

Comments

@wernick96
Copy link

Hi guys, I need your help. I am trying to import matplotlib, but I always get the
ModuleNotFoundError: No module named 'kiwisolver'. I tried to reinstall and install matplotlib and kiwisolver separately via pip and via conda. But none of it worked. I am currently using the latest version of Anaconda. $ conda list says kiwisolver and matplotlib are installed. I don´t know what to do..

Thanks!
Moritz


ModuleNotFoundError Traceback (most recent call last)
in
----> 1 import matplotlib.pyplot as plt
2 import numpy as np

~\AppData\Local\Programs\Python\Python37-32\lib\site-packages\matplotlib_init_.py in
203
204
--> 205 _check_versions()
206
207

~\AppData\Local\Programs\Python\Python37-32\lib\site-packages\matplotlib_init_.py in _check_versions()
197 ("pyparsing", "2.0.1"),
198 ]:
--> 199 module = importlib.import_module(modname)
200 if LooseVersion(module.version) < minver:
201 raise ImportError("Matplotlib requires {}>={}; you have {}"

~\AppData\Local\Programs\Python\Python37-32\lib\importlib_init_.py in import_module(name, package)
125 break
126 level += 1
--> 127 return _bootstrap._gcd_import(name[level:], package, level)
128
129

ModuleNotFoundError: No module named 'kiwisolver'

@MatthieuDartiailh
Copy link
Member

I may be wrong but are you sure you are using the Python from Anaconda ? Usually it has Anaconda somewhere in the path. In your case it looks like you are using a different interpreter.

@wernick96
Copy link
Author

Ja I think so, at least I open Jupyter Notebook via Anaconda.
Is there another way to ensure that I am using Anaconda instead of another interpreter to open Jupyter Notebooks?

@MatthieuDartiailh
Copy link
Member

Ok. So both pip and conda believes that kiwisolver is installed, right (you can use pip list, conda list from the Anaconda prompt) ? when you go to the site-packages folder can you find a kiwisolver.dll or similar file ?

@MatthieuDartiailh
Copy link
Member

Closing since this appears to be an installation issue not directly related to how kiwi is packaged and since the OP stopped answering. Feel free to re-open if relevant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants