Skip to content

danillo lima

mv important_files/* /dev/null

  • About
  • Links
  • Social

Category: Python

Printing and Installing Specific Versions of Python Libraries

Print the number of version of a installed library:

# Syntax: LIBRARY_NAME.__version__ Examples:
pandas.__version__
scipy.__version__

To install a specific version of a library:

# Syntax: !pip install LIBRARY_NAME=='0.0.0' Examples:
!pip install pandas=='0.21.0'
!pip install scipy=='1.1.0'
Posted in Python Leave a Comment on Printing and Installing Specific Versions of Python Libraries

Topics

  • Angular
  • Continuous Integration
  • Java
  • Javascript
  • npm
  • Privacy
  • Python
  • Selenium
  • Wordpress

Recent Posts

  • How deploy your application just on successful stage(s) on GitLab CI
  • Privacy Invasion Alert: How Much is WhatsApp Overstepping Boundaries?
  • Method .size() vs property .length in Java
  • Printing and Installing Specific Versions of Python Libraries
  • The “Cannot find symbol” error when using MapStruct with Lombok

Recent Comments

  1. Anonymous on Correcting the positioning of Mega Menu in Oxygen Builder
  2. Nyakoni Nyambane on Correcting the positioning of Mega Menu in Oxygen Builder
  3. Danillo L. on How to fix permissions on globally installing npm packages on linux
  4. Danillo L. on How to fix permissions on globally installing npm packages on linux
  5. Anonymous on How to fix permissions on globally installing npm packages on linux
Feito com Wordpress | Template _s(UNDERSCORES) + algumas customizações.