Skip to content

Keycode

More flesh, less fluff.

Tag: virtual environment

Check where python packages are installed in a docker

Usually here:

/usr/local/lib/<python version>/site-packages

Or

pip show request <package name>
Author pashanhuPosted on 13/08/202513/08/2025Categories Linux, PythonTags virtual environmentLeave a comment on Check where python packages are installed in a docker

Create a virtual environment

Create a virtual environment:

$ python3 -m venv myenv

Activate it:

$ source myenv/bin/activate
[myenv] $ 

Leave/Deactivate it:

[myenv] $ deactivate
$ 

Author pashanhuPosted on 12/10/2019Categories PythonTags activate, deactivate, virtual environmentLeave a comment on Create a virtual environment

Recent Posts

  • Simple Dockerfile to test AWS ECR and ECS
  • Count how many tests related to a keyword via pytest
  • Count how many tests each module has via pytest
  • Make git colourful
  • A solution to “git” not working

Recent Comments

No comments to show.
  • October 2026
  • September 2026
  • July 2026
  • March 2026
  • December 2025
  • October 2025
  • August 2025
  • September 2022
  • July 2022
  • June 2022
  • April 2022
  • August 2021
  • November 2020
  • October 2020
  • June 2020
  • May 2020
  • February 2020
  • October 2019
  • September 2019
  • August 2019
  • Algorithm
  • AWS
  • Boost
  • C/C++
  • Debug
  • git
  • GitHub
  • GTest
  • Image/Graphics
  • Java
  • Linux
  • Node.js
  • Other
  • Python
  • Qt
  • Swift
  • Unreal Engine
Keycode Proudly powered by WordPress