problem in importing matplotlib
My default python version on the system is python3.6. I am using a tool that works on python 2.7, the tools works well when i mention python2.7 before running the python script. However, at the final phase of plotting it says no matplotlib module. I installed it using conda but the same error persists. I think there is no matplotlib in pyhton2.7. How to install metplotlib for python2.7 while i have a default version of python3.6? Thanks
• 1,024 views
•
link
1 answer
try:
python2 -m "pip install matplotlib"
or
python2.7 -m "pip install matplotlib"
• 0 views
•
link
Log in to answer this question.
Hello bisht20diksha!
We believe that this post does not fit the main topic of this site.
This is a Computer Science question, please search/ask Stack Overflow
For this reason we have closed your question. This allows us to keep the site focused on the topics that the community can help with.
If you disagree please tell us why in a reply below, we'll be happy to talk about it.
Cheers!