Painting Blue Code

Simple, self-explanatory code snippets.

2024-07-29

Python - Upgrade existing pip package

pip install --upgrade package_name

By Carlos Alvidrez No comments:

Python - List all pip packages and filter for a given one

 pip list | grep package_name

By Carlos Alvidrez No comments:

Python - Check if a given library is installed or not

python -c "import library_name; print(librar_name.__file__)"

By Carlos Alvidrez No comments:

Python - Automatic installation of all pip packages in requirements.txt

pip install -r pip_requirements.txt


By Carlos Alvidrez No comments:

Python - Anaconda automatic installation of all requirements

conda install --file conda_requirements.txt


By Carlos Alvidrez No comments:

Python - Conda active environment check and setup

conda activate parser3

which python

python -m site

which -a python


By Carlos Alvidrez No comments:

Python - Create automatic list of pip packages, automatic requirements.txt file for existing project

 pip freeze > pip_requirements.txt


By Carlos Alvidrez No comments:

Python - Create conda installed packages file automatically

cd ~/path_to/your_project/

conda list --export > conda_requirements.txt

By Carlos Alvidrez No comments:
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Search...

Archive...

  • ▼  2024 (23)
    • ►  November (4)
    • ►  October (2)
    • ►  August (1)
    • ▼  July (8)
      • Python - Upgrade existing pip package
      • Python - List all pip packages and filter for a gi...
      • Python - Check if a given library is installed or not
      • Python - Automatic installation of all pip package...
      • Python - Anaconda automatic installation of all re...
      • Python - Conda active environment check and setup
      • Python - Create automatic list of pip packages, au...
      • Python - Create conda installed packages file auto...
    • ►  June (1)
    • ►  May (1)
    • ►  April (2)
    • ►  March (3)
    • ►  January (1)
  • ►  2023 (18)
    • ►  December (1)
    • ►  November (2)
    • ►  October (3)
    • ►  September (2)
    • ►  August (1)
    • ►  March (2)
    • ►  February (1)
    • ►  January (6)
  • ►  2022 (14)
    • ►  August (1)
    • ►  July (2)
    • ►  June (4)
    • ►  April (3)
    • ►  March (4)
  • ►  2021 (15)
    • ►  November (2)
    • ►  October (3)
    • ►  September (1)
    • ►  August (3)
    • ►  June (1)
    • ►  May (1)
    • ►  April (1)
    • ►  March (3)
  • ►  2020 (50)
    • ►  December (4)
    • ►  August (14)
    • ►  July (4)
    • ►  June (1)
    • ►  May (9)
    • ►  April (14)
    • ►  February (2)
    • ►  January (2)
  • ►  2019 (45)
    • ►  December (1)
    • ►  November (2)
    • ►  October (1)
    • ►  September (3)
    • ►  August (2)
    • ►  July (6)
    • ►  June (6)
    • ►  May (6)
    • ►  April (3)
    • ►  March (10)
    • ►  February (2)
    • ►  January (3)
  • ►  2018 (29)
    • ►  November (5)
    • ►  September (4)
    • ►  August (2)
    • ►  July (2)
    • ►  June (1)
    • ►  May (8)
    • ►  April (1)
    • ►  February (5)
    • ►  January (1)
  • ►  2017 (38)
    • ►  November (1)
    • ►  October (3)
    • ►  September (1)
    • ►  August (4)
    • ►  July (5)
    • ►  June (8)
    • ►  May (8)
    • ►  April (1)
    • ►  February (1)
    • ►  January (6)
  • ►  2016 (70)
    • ►  December (13)
    • ►  November (5)
    • ►  October (6)
    • ►  August (2)
    • ►  June (2)
    • ►  March (10)
    • ►  February (28)
    • ►  January (4)
  • ►  2015 (102)
    • ►  December (9)
    • ►  November (4)
    • ►  September (6)
    • ►  August (40)
    • ►  July (21)
    • ►  May (6)
    • ►  April (11)
    • ►  March (2)
    • ►  February (1)
    • ►  January (2)
  • ►  2014 (45)
    • ►  December (2)
    • ►  November (1)
    • ►  September (6)
    • ►  August (17)
    • ►  July (1)
    • ►  June (2)
    • ►  May (3)
    • ►  April (3)
    • ►  February (1)
    • ►  January (9)
  • ►  2013 (33)
    • ►  December (5)
    • ►  October (1)
    • ►  September (2)
    • ►  August (7)
    • ►  July (4)
    • ►  June (5)
    • ►  May (2)
    • ►  April (2)
    • ►  March (3)
    • ►  February (2)
  • ►  2012 (37)
    • ►  December (6)
    • ►  November (4)
    • ►  September (2)
    • ►  August (5)
    • ►  July (6)
    • ►  June (6)
    • ►  May (3)
    • ►  April (3)
    • ►  March (1)
    • ►  February (1)
  • ►  2011 (56)
    • ►  December (3)
    • ►  November (1)
    • ►  October (8)
    • ►  September (44)
  • ►  2010 (3)
    • ►  June (1)
    • ►  April (2)

Search This Blog

Report Abuse

  • Home

About Me

Carlos Alvidrez
View my complete profile
© Falconer & Loi, LLC. Powered by Blogger.