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

External news

  • Linux Security Roundup Privilege Escalation DoS Code Execution August 2026
    by LinuxSecurity Editors
    This week’s Linux security updates cover several areas administrators cannot afford to overlook. Debian, Ubuntu, Fedora, SUSE, openSUSE, and other distributions released fixes for privilege escalation, remote code execution, denial of service, and flaws affecting network-facing services.
  • New Linux Private Futex Race Can Trigger Kernel Use-After-Free
    by LinuxSecurity Editors
    A proposed Linux kernel patch addresses a private-futex race that a recent security fix left unresolved. Security researcher Hyunwoo Kim found that a rare sequence involving nested vfork() calls can allow two tasks sharing the same memory to run concurrently and reach private futex hash initialization at nearly the same time.
  • Public SCTPhantom Exploit Tests Linux Container Security Defaults
    by LinuxSecurity Editors
    Public exploit code is now available for SCTPhantom, a Linux kernel flaw that researchers used to escape an unprivileged container and take control of the underlying host. 
  • CopyKat Finds 122 Linux Kernel Objects That Can Amplify Memory Corruption
    by LinuxSecurity Editors
    Modern Linux kernel hardening has made many traditional exploit techniques harder to use, but new research from IBM Research Europe and Vrije Universiteit Amsterdam suggests attackers may have a much larger set of alternatives than defenders realized.
  • Linux Vulnerability Prioritization with Threat Intelligence Insight
    by LinuxSecurity Editors
    A Linux vulnerability scan can create almost as many questions as it answers. The scan may identify dozens of affected packages, several CVEs marked High or Critical, and a mix of fixes that are available now or still working through a distribution's update process.
Feito com Wordpress | Template _s(UNDERSCORES) + algumas customizações.