Skip to content

Instantly share code, notes, and snippets.

@ftnext
Last active April 7, 2018 04:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ftnext/e4e6b49a091654cdbe6af0e14dbf083b to your computer and use it in GitHub Desktop.
Save ftnext/e4e6b49a091654cdbe6af0e14dbf083b to your computer and use it in GitHub Desktop.
pip installに失敗。(Mac OS High Sierraのターミナルの出力のコピー)プロンプトのホスト名、ユーザ名は省略しています。
study $ mkdir test_pip_install
study $ cd test_pip_install
test_pip_install $ python3 -V
Python 3.5.1
test_pip_install $ python3 -m venv env
test_pip_install $ ls
env
test_pip_install $ source env/bin/activate
(env) test_pip_install $ python -V
Python 3.5.1
(env) test_pip_install $ pip freeze
(env) test_pip_install $ pip freeze --all
Usage:
pip freeze [options]
no such option: --all
(env) test_pip_install $ pip --version
pip 7.1.2 from /Users//study/test_pip_install/env/lib/python3.5/site-packages (python 3.5)
(env) test_pip_install $ pip install numpy
Collecting numpy
Could not find a version that satisfies the requirement numpy (from versions: )
No matching distribution found for numpy
(env) test_pip_install $ pip install -U pip
Requirement already up-to-date: pip in ./env/lib/python3.5/site-packages
(env) test_pip_install $ pip --version
pip 7.1.2 from /Users//study/test_pip_install/env/lib/python3.5/site-packages (python 3.5)
(env) test_pip_install $ pip install --upgrade pip
Requirement already up-to-date: pip in ./env/lib/python3.5/site-packages
(env) test_pip_install $ pip --version
pip 7.1.2 from /Users//study/test_pip_install/env/lib/python3.5/site-packages (python 3.5)
(env) test_pip_install $ python -m pip install -U pip
Requirement already up-to-date: pip in ./env/lib/python3.5/site-packages
(env) test_pip_install $ pip --version
pip 7.1.2 from /Users//study/test_pip_install/env/lib/python3.5/site-packages (python 3.5)
(env) test_pip_install $ deactivate
test_pip_install $ which python3
/Library/Frameworks/Python.framework/Versions/3.5/bin/python3
test_pip_install $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment