I have installed Seaborn in my machine. The Seaborn is working fine. I need to find the version of Seaborn installed. What command do I use to find the version of the Seaborn?
Asked
Active
Viewed 4.4k times
13
-
Related post: https://stackoverflow.com/q/58648739/2336654 – piRSquared Nov 18 '19 at 22:20
1 Answers
20
Use __version__
import seaborn as sns
sns.__version__
'0.7.1'

piRSquared
- 285,575
- 57
- 475
- 624
-
5`__version__` is just a common convention, it may not work for other packages. The correct *command* is `pip show seaborn`. – wim Nov 18 '19 at 22:05
-
1I'm trying those lines in my jupyter notebook right now and receiving the error message "AttributeError: module 'seaborn' has no attribute '__version__'" – Non-Contradiction Apr 12 '21 at 18:44