Re: astropy.io.ascii

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 14 Sep 2018 17:13:53 +0200
"Patrick Dupre" <pdupre@xxxxxxx> wrote:

> I am running fedora28.
> 
> But, by default it run python2
> Also under geany, it run pyhton2
> 
> even if I put
> #!/usr/bin/python3
> in my file
> 
> if I run python3 mypy.py
> 
> Then it run pyhton3
> 
> However, I get an error:
> 
>   import matplotlib.pyplot as plt
> ModuleNotFoundError: No module named 'matplotlib'
> 
> Do I need to install another matplotlib for python3?

John has the right of it.  There are python3 and python2 matplotlib
packages in Fedora, and you have to use the appropriate one for the
python version you are running.  You are better off running python3 if
you can, as python2 is deprecated and will reach EOL in 2020.  At that
point, it will be dropped from Fedora, unless a group takes on the task
of backporting fixes from python3, an unlikely scenario.  Python3 will
be the default python in F29 as part of Fedora preparation for that EOL.

Python2 and python3 are almost identical, but just like chimpanzees and
humans share 99% of their DNA and are incompatible, so too are python2
and python3.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux