LoginSignup
1
0

More than 5 years have passed since last update.

virtualenv コマンド一覧

Posted at
virtualenv --system-site-packages -p python3 ./venv
# Activate the virtual environment using a shell-specific command:

source ./venv/bin/activate  # sh, bash, ksh, or zsh
# When virtualenv is active, your shell prompt is prefixed with (venv).

# Install packages within a virtual environment without affecting the host system setup. Start by upgrading pip:

pip install --upgrade pip

# pip list  # show packages installed within the virtual environment
And to exit virtualenv later:

deactivate  # don't exit until you're done using TensorFlow
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0