0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

「There was a problem confirming the ssl certificate」の格闘記録

Posted at
akiyamaryoutanoMacBook-puro:sample akiyamaryota$ brew reinstall openssl
==> Downloading https://homebrew.bintray.com/bottles/openssl%401.1-1.1.1g.high_sierra.bottle.tar.gz
Already downloaded: /Users/akiyamaryota/Library/Caches/Homebrew/downloads/f4d1e61cbd0320c46bbc34cb5f14a50df34a634093b8d209a753a952e2dc6447--openssl@1.1-1.1.1g.high_sierra.bottle.tar.gz
==> Reinstalling openssl@1.1 
==> Pouring openssl@1.1-1.1.1g.high_sierra.bottle.tar.gz
==> Caveats
A CA file has been bootstrapped using certificates from the system
keychain. To add additional certificates, place .pem files in
  /usr/local/etc/openssl@1.1/certs

and run
  /usr/local/opt/openssl@1.1/bin/c_rehash

openssl@1.1 is keg-only, which means it was not symlinked into /usr/local,
because macOS provides LibreSSL.

If you need to have openssl@1.1 first in your PATH run:
  echo 'export PATH="/usr/local/opt/openssl@1.1/bin:$PATH"' >> ~/.profile

For compilers to find openssl@1.1 you may need to set:
  export LDFLAGS="-L/usr/local/opt/openssl@1.1/lib"
  export CPPFLAGS="-I/usr/local/opt/openssl@1.1/include"

==> Summary
🍺  /usr/local/Cellar/openssl@1.1/1.1.1g: 8,059 files, 18.4MB
akiyamaryoutanoMacBook-puro:sample akiyamaryota$ pip3 install --upgrade pip3
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Collecting pip3
  Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.",)': /simple/pip3/
  Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.",)': /simple/pip3/
  Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.",)': /simple/pip3/
  Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.",)': /simple/pip3/
  Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.",)': /simple/pip3/
  Could not fetch URL https://pypi.org/simple/pip3/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip3/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.",)) - skipping
  Could not find a version that satisfies the requirement pip3 (from versions: )
No matching distribution found for pip3
You are using pip version 10.0.1, however version 20.2b1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
akiyamaryoutanoMacBook-puro:sample akiyamaryota$ pip3 --version
pip 10.0.1 from /usr/local/lib/python3.6/site-packages/pip (python 3.6)
akiyamaryoutanoMacBook-puro:sample akiyamaryota$ pip3 install pipenv
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Collecting pipenv
  Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.",)': /simple/pipenv/
  Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.",)': /simple/pipenv/
  Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.",)': /simple/pipenv/
  Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.",)': /simple/pipenv/
  Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.",)': /simple/pipenv/
  Could not fetch URL https://pypi.org/simple/pipenv/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pipenv/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.",)) - skipping
  Could not find a version that satisfies the requirement pipenv (from versions: )
No matching distribution found for pipenv
You are using pip version 10.0.1, however version 20.2b1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
akiyamaryoutanoMacBook-puro:sample akiyamaryota$ which ssl
akiyamaryoutanoMacBook-puro:sample akiyamaryota$ which openssl
/usr/bin/openssl
akiyamaryoutanoMacBook-puro:sample akiyamaryota$ cd
akiyamaryoutanoMacBook-puro:~ akiyamaryota$ ls
Applications    Documents       Library         Music           Public
Desktop         Downloads       Movies          Pictures        VirtualBox VMs
akiyamaryoutanoMacBook-puro:~ akiyamaryota$ which .bash_profile
akiyamaryoutanoMacBook-puro:~ akiyamaryota$ which .bash_profile -a
akiyamaryoutanoMacBook-puro:~ akiyamaryota$ which openssl
/usr/bin/openssl
akiyamaryoutanoMacBook-puro:~ akiyamaryota$ pip3 install --upgrade pip3
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Collecting pip3
  Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.",)': /simple/pip3/
  Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.",)': /simple/pip3/
  Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.",)': /simple/pip3/
  Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.",)': /simple/pip3/
  Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.",)': /simple/pip3/
  Could not fetch URL https://pypi.org/simple/pip3/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip3/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.",)) - skipping
  Could not find a version that satisfies the requirement pip3 (from versions: )
No matching distribution found for pip3
You are using pip version 10.0.1, however version 20.2b1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
akiyamaryoutanoMacBook-puro:~ akiyamaryota$ brew update && brew upgrade
Updated 1 tap (homebrew/core).
==> New Formulae
cpr                                                                            gravity
==> Updated Formulae
aws-cdk               dgraph                gobo                  mackup                ocrmypdf              protoc-gen-grpc-web   xmake
balena-cli            di                    grakn                 minisign              okteto                pulp
beanstalkd            eslint                helmfile              mpv                   phpunit               rex
bitcoin               exploitdb             jhipster              mu                    picard-tools          tflint
camlp5                firebase-cli          ldid                  navi                  plantuml              topgrade
cargo-completion      fwup                  libgosu               nomad                 pnpm                  vale
csvq                  gatsby-cli            little-cms2           numpy                 poetry                wxmaxima
Updating Homebrew...
akiyamaryoutanoMacBook-puro:~ akiyamaryota$ brew uninstall --ignore-dependencies openssl; brew install https://github.com/tebelorg/Tump/releases/download/v1.0.0/openssl.rb
Uninstalling /usr/local/Cellar/openssl@1.1/1.1.1g... (8,059 files, 18.4MB)

Warning: The following openssl@1.1 configuration files have not been removed!
If desired, remove them manually with `rm -rf`:
  /usr/local/etc/openssl@1.1
  /usr/local/etc/openssl@1.1/cert.pem
  /usr/local/etc/openssl@1.1/certs
  /usr/local/etc/openssl@1.1/ct_log_list.cnf
  /usr/local/etc/openssl@1.1/ct_log_list.cnf.dist
  /usr/local/etc/openssl@1.1/misc
  /usr/local/etc/openssl@1.1/misc/CA.pl
  /usr/local/etc/openssl@1.1/misc/tsget
  /usr/local/etc/openssl@1.1/misc/tsget.pl
  /usr/local/etc/openssl@1.1/openssl.cnf
  /usr/local/etc/openssl@1.1/openssl.cnf.dist
  /usr/local/etc/openssl@1.1/private
Warning: Calling Non-checksummed download of openssl formula file from an arbitrary URL is deprecated! Use 'brew extract' or 'brew create' and 'brew tap-new' to create a formula file in a tap on GitHub instead.
######################################################################## 100.0%
==> Downloading https://homebrew.bintray.com/bottles/openssl-1.0.2t.high_sierra.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/20/20fa4d39cbc0ba091aed2ce72a4404e87c3bc323243ab3f92ccfd75c48cbe132?__gda__=exp=1591599859~hmac=1173aad2bc66
######################################################################## 100.0%
Warning: openssl 1.1.1g is available and more recent than version 1.0.2t.
==> Pouring openssl-1.0.2t.high_sierra.bottle.tar.gz
==> Caveats
A CA file has been bootstrapped using certificates from the SystemRoots
keychain. To add additional certificates (e.g. the certificates added in
the System keychain), place .pem files in
  /usr/local/etc/openssl/certs

and run
  /usr/local/opt/openssl/bin/c_rehash

openssl is keg-only, which means it was not symlinked into /usr/local,
because Apple has deprecated use of OpenSSL in favor of its own TLS and crypto libraries.

If you need to have openssl first in your PATH run:
  echo 'export PATH="/usr/local/opt/openssl/bin:$PATH"' >> /Users/akiyamaryota/.bash_profile

For compilers to find openssl you may need to set:
  export LDFLAGS="-L/usr/local/opt/openssl/lib"
  export CPPFLAGS="-I/usr/local/opt/openssl/include"

==> Summary
🍺  /usr/local/Cellar/openssl/1.0.2t: 1,795 files, 12.1MB
Removing: /Users/akiyamaryota/Library/Caches/Homebrew/openssl--1.0.2t.high_sierra.bottle.tar.gz... (3.7MB)
akiyamaryoutanoMacBook-puro:~ akiyamaryota$ brew reinstall python
==> Downloading https://homebrew.bintray.com/bottles/openssl%401.1-1.1.1g.high_sierra.bottle.tar.gz
Already downloaded: /Users/akiyamaryota/Library/Caches/Homebrew/downloads/f4d1e61cbd0320c46bbc34cb5f14a50df34a634093b8d209a753a952e2dc6447--openssl@1.1-1.1.1g.high_sierra.bottle.tar.gz
==> Downloading https://homebrew.bintray.com/bottles/python-3.7.7.high_sierra.bottle.tar.gz
Already downloaded: /Users/akiyamaryota/Library/Caches/Homebrew/downloads/7e3602e37bee8cde24b6592f6741d18fe669de389ff3899c6dc9d9f29bb7b974--python-3.7.7.high_sierra.bottle.tar.gz
==> Reinstalling python 
==> Installing dependencies for python: openssl@1.1
==> Installing python dependency: openssl@1.1
==> Pouring openssl@1.1-1.1.1g.high_sierra.bottle.tar.gz
==> Caveats
A CA file has been bootstrapped using certificates from the system
keychain. To add additional certificates, place .pem files in
  /usr/local/etc/openssl@1.1/certs

and run
  /usr/local/opt/openssl@1.1/bin/c_rehash

openssl@1.1 is keg-only, which means it was not symlinked into /usr/local,
because macOS provides LibreSSL.

If you need to have openssl@1.1 first in your PATH run:
  echo 'export PATH="/usr/local/opt/openssl@1.1/bin:$PATH"' >> /Users/akiyamaryota/.bash_profile

For compilers to find openssl@1.1 you may need to set:
  export LDFLAGS="-L/usr/local/opt/openssl@1.1/lib"
  export CPPFLAGS="-I/usr/local/opt/openssl@1.1/include"

==> Summary
🍺  /usr/local/Cellar/openssl@1.1/1.1.1g: 8,059 files, 18.4MB
==> Installing python
==> Pouring python-3.7.7.high_sierra.bottle.tar.gz
cp: cannot overwrite directory /usr/local/Cellar/python/./3.7.7/Frameworks/Python.framework/Resources with non-directory /var/folders/zw/pmw75qq169b_m6mqhsl_j1s40000gn/T/d20200608-18887-y218ex/python/./3.7.7/Frameworks/Python.framework/Resources
cp: cannot overwrite directory /usr/local/Cellar/python/./3.7.7/Frameworks/Python.framework/Versions/Current with non-directory /var/folders/zw/pmw75qq169b_m6mqhsl_j1s40000gn/T/d20200608-18887-y218ex/python/./3.7.7/Frameworks/Python.framework/Versions/Current
cp: cannot overwrite directory /usr/local/Cellar/python/./3.7.7/Frameworks/Python.framework/Versions/3.7/Headers with non-directory /var/folders/zw/pmw75qq169b_m6mqhsl_j1s40000gn/T/d20200608-18887-y218ex/python/./3.7.7/Frameworks/Python.framework/Versions/3.7/Headers
cp: cannot overwrite directory /usr/local/Cellar/python/./3.7.7/Frameworks/Python.framework/Headers with non-directory /var/folders/zw/pmw75qq169b_m6mqhsl_j1s40000gn/T/d20200608-18887-y218ex/python/./3.7.7/Frameworks/Python.framework/Headers
Error: Failure while executing; `cp -pR /var/folders/zw/pmw75qq169b_m6mqhsl_j1s40000gn/T/d20200608-18887-y218ex/python/. /usr/local/Cellar/python` exited with 1. Here's the output:
cp: cannot overwrite directory /usr/local/Cellar/python/./3.7.7/Frameworks/Python.framework/Resources with non-directory /var/folders/zw/pmw75qq169b_m6mqhsl_j1s40000gn/T/d20200608-18887-y218ex/python/./3.7.7/Frameworks/Python.framework/Resources
cp: cannot overwrite directory /usr/local/Cellar/python/./3.7.7/Frameworks/Python.framework/Versions/Current with non-directory /var/folders/zw/pmw75qq169b_m6mqhsl_j1s40000gn/T/d20200608-18887-y218ex/python/./3.7.7/Frameworks/Python.framework/Versions/Current
cp: cannot overwrite directory /usr/local/Cellar/python/./3.7.7/Frameworks/Python.framework/Versions/3.7/Headers with non-directory /var/folders/zw/pmw75qq169b_m6mqhsl_j1s40000gn/T/d20200608-18887-y218ex/python/./3.7.7/Frameworks/Python.framework/Versions/3.7/Headers
cp: cannot overwrite directory /usr/local/Cellar/python/./3.7.7/Frameworks/Python.framework/Headers with non-directory /var/folders/zw/pmw75qq169b_m6mqhsl_j1s40000gn/T/d20200608-18887-y218ex/python/./3.7.7/Frameworks/Python.framework/Headers

Warning: Bottle installation failed: building from source.
==> Installing dependencies for python: pkg-config
==> Installing python dependency: pkg-config
==> Pouring pkg-config-0.29.2_3.high_sierra.bottle.tar.gz
tar: Error opening archive: Failed to open '/Users/akiyamaryota/Library/Caches/Homebrew/downloads/ee726a3b088a649297b8c9a3d61274377a55c7d66b3ae36d81aa5428efc633d7--pkg-config-0.29.2_3.high_sierra.bottle.tar.gz'
Error: Failure while executing; `tar xof /Users/akiyamaryota/Library/Caches/Homebrew/downloads/ee726a3b088a649297b8c9a3d61274377a55c7d66b3ae36d81aa5428efc633d7--pkg-config-0.29.2_3.high_sierra.bottle.tar.gz -C /var/folders/zw/pmw75qq169b_m6mqhsl_j1s40000gn/T/d20200608-18887-6zl9d8` exited with 1. Here's the output:
tar: Error opening archive: Failed to open '/Users/akiyamaryota/Library/Caches/Homebrew/downloads/ee726a3b088a649297b8c9a3d61274377a55c7d66b3ae36d81aa5428efc633d7--pkg-config-0.29.2_3.high_sierra.bottle.tar.gz'

Warning: Bottle installation failed: building from source.
==> Downloading https://pkgconfig.freedesktop.org/releases/pkg-config-0.29.2.tar.gz
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/pkg-config/0.29.2_3 --disable-host-tool --with-internal-glib --with-pc-path=/usr/local/lib/pkgconfig:/usr/local/s
==> make
==> make install
🍺  /usr/local/Cellar/pkg-config/0.29.2_3: 11 files, 628KB, built in 1 minute 11 seconds
==> Downloading https://www.python.org/ftp/python/3.7.7/Python-3.7.7.tar.xz
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/python/3.7.7 --enable-ipv6 --datarootdir=/usr/local/Cellar/python/3.7.7/share --datadir=/usr/local/Cellar/python/
==> make
==> make install PYTHONAPPSDIR=/usr/local/Cellar/python/3.7.7
==> make frameworkinstallextras PYTHONAPPSDIR=/usr/local/Cellar/python/3.7.7/share/python
==> Downloading https://files.pythonhosted.org/packages/df/ed/bea598a87a8f7e21ac5bbf464102077c7102557c07db9ff4e207bd9f7806/setuptools-46.0.0.zip
######################################################################## 100.0%
==> Downloading https://files.pythonhosted.org/packages/8e/76/66066b7bc71817238924c7e4b448abdb17eb0c92d645769c223f9ace478f/pip-20.0.2.tar.gz
######################################################################## 100.0%
==> Downloading https://files.pythonhosted.org/packages/75/28/521c6dc7fef23a68368efefdcd682f5b3d1d58c2b90b06dc1d0b805b51ae/wheel-0.34.2.tar.gz
######################################################################## 100.0%
==> /usr/local/Cellar/python/3.7.7/bin/python3 -s setup.py --no-user-cfg install --force --verbose --install-scripts=/usr/local/Cellar/python/3.7.7/bin --in
==> /usr/local/Cellar/python/3.7.7/bin/python3 -s setup.py --no-user-cfg install --force --verbose --install-scripts=/usr/local/Cellar/python/3.7.7/bin --in
==> /usr/local/Cellar/python/3.7.7/bin/python3 -s setup.py --no-user-cfg install --force --verbose --install-scripts=/usr/local/Cellar/python/3.7.7/bin --in
==> Caveats
Python has been installed as
  /usr/local/bin/python3

Unversioned symlinks `python`, `python-config`, `pip` etc. pointing to
`python3`, `python3-config`, `pip3` etc., respectively, have been installed into
  /usr/local/opt/python/libexec/bin

You can install Python packages with
  pip3 install <package>
They will install into the site-package directory
  /usr/local/lib/python3.7/site-packages

See: https://docs.brew.sh/Homebrew-and-Python
==> Summary
🍺  /usr/local/Cellar/python/3.7.7: 8,615 files, 120.7MB, built in 2 minutes 17 seconds
==> Caveats
==> openssl@1.1
A CA file has been bootstrapped using certificates from the system
keychain. To add additional certificates, place .pem files in
  /usr/local/etc/openssl@1.1/certs

and run
  /usr/local/opt/openssl@1.1/bin/c_rehash

openssl@1.1 is keg-only, which means it was not symlinked into /usr/local,
because macOS provides LibreSSL.

If you need to have openssl@1.1 first in your PATH run:
  echo 'export PATH="/usr/local/opt/openssl@1.1/bin:$PATH"' >> /Users/akiyamaryota/.bash_profile

For compilers to find openssl@1.1 you may need to set:
  export LDFLAGS="-L/usr/local/opt/openssl@1.1/lib"
  export CPPFLAGS="-I/usr/local/opt/openssl@1.1/include"

For pkg-config to find openssl@1.1 you may need to set:
  export PKG_CONFIG_PATH="/usr/local/opt/openssl@1.1/lib/pkgconfig"

==> python
Python has been installed as
  /usr/local/bin/python3

Unversioned symlinks `python`, `python-config`, `pip` etc. pointing to
`python3`, `python3-config`, `pip3` etc., respectively, have been installed into
  /usr/local/opt/python/libexec/bin

You can install Python packages with
  pip3 install <package>
They will install into the site-package directory
  /usr/local/lib/python3.7/site-packages

See: https://docs.brew.sh/Homebrew-and-Python
akiyamaryoutanoMacBook-puro:~ akiyamaryota$ python3 --version
Python 3.7.7
akiyamaryoutanoMacBook-puro:~ akiyamaryota$ pip3 --version
pip 20.0.2 from /usr/local/lib/python3.7/site-packages/pip (python 3.7)
akiyamaryoutanoMacBook-puro:~ akiyamaryota$ pip3 install pipenv
Collecting pipenv
  Downloading pipenv-2020.6.2-py2.py3-none-any.whl (3.9 MB)
     |████████████████████████████████| 3.9 MB 2.6 MB/s 
Collecting virtualenv-clone>=0.2.5
  Downloading virtualenv_clone-0.5.4-py2.py3-none-any.whl (6.6 kB)
Collecting virtualenv
  Downloading virtualenv-20.0.21-py2.py3-none-any.whl (4.7 MB)
     |████████████████████████████████| 4.7 MB 6.1 MB/s 
Requirement already satisfied: pip>=18.0 in /usr/local/lib/python3.7/site-packages (from pipenv) (20.0.2)
Requirement already satisfied: setuptools>=36.2.1 in /usr/local/lib/python3.7/site-packages (from pipenv) (46.0.0)
Collecting certifi
  Downloading certifi-2020.4.5.2-py2.py3-none-any.whl (157 kB)
     |████████████████████████████████| 157 kB 6.0 MB/s 
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
     |████████████████████████████████| 571 kB 8.5 MB/s 
Collecting six<2,>=1.9.0
  Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.6.1-py2.py3-none-any.whl (31 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting zipp>=0.5
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py) ... done
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=48884fdc114b1af87804fde536a184c3c17e7cd772eaf3882c7fbbadfe299af0
  Stored in directory: /Users/akiyamaryota/Library/Caches/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b
Successfully built distlib
Installing collected packages: virtualenv-clone, distlib, six, appdirs, zipp, importlib-metadata, filelock, virtualenv, certifi, pipenv
Successfully installed appdirs-1.4.4 certifi-2020.4.5.2 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.1 pipenv-2020.6.2 six-1.15.0 virtualenv-20.0.21 virtualenv-clone-0.5.4 zipp-3.1.0
akiyamaryoutanoMacBook-puro:~ akiyamaryota$ ls
Applications    Documents       Library         Music           Public
Desktop         Downloads       Movies          Pictures        VirtualBox VMs
akiyamaryoutanoMacBook-puro:~ akiyamaryota$ cd Documents
akiyamaryoutanoMacBook-puro:Documents akiyamaryota$ ls
React   shuron
akiyamaryoutanoMacBook-puro:Documents akiyamaryota$ cd shuron
akiyamaryoutanoMacBook-puro:shuron akiyamaryota$ ls
Master-research
akiyamaryoutanoMacBook-puro:shuron akiyamaryota$ cd Master-research/
akiyamaryoutanoMacBook-puro:Master-research akiyamaryota$ ls
README.md       lidar           predict         sample          server
akiyamaryoutanoMacBook-puro:Master-research akiyamaryota$ mkdir hoge
akiyamaryoutanoMacBook-puro:Master-research akiyamaryota$ cd hoge
akiyamaryoutanoMacBook-puro:hoge akiyamaryota$ pipenv --python 3.7
Courtesy Notice: Pipenv found itself running within a virtual environment, so it will automatically use that environment, instead of creating its own for any project. You can set PIPENV_IGNORE_VIRTUALENVS=1 to force pipenv to ignore that environment and create its own instead. You can set PIPENV_VERBOSITY=-1 to suppress this warning.
Creating a Pipfile for this project…
akiyamaryoutanoMacBook-puro:hoge akiyamaryota$ ls
Pipfile
akiyamaryoutanoMacBook-puro:hoge akiyamaryota$ pipenv install django
Courtesy Notice: Pipenv found itself running within a virtual environment, so it will automatically use that environment, instead of creating its own for any project. You can set PIPENV_IGNORE_VIRTUALENVS=1 to force pipenv to ignore that environment and create its own instead. You can set PIPENV_VERBOSITY=-1 to suppress this warning.
Installing django…
⠋ Installing...Failed to load paths: /bin/sh: /Users/akiyamaryota/.local/share/virtualenvs/hoge-W5HLuKP_/bin/python: No such file or directory

Output: 
⠙ Installing django...Failed to load paths: /bin/sh: /Users/akiyamaryota/.local/share/virtualenvs/hoge-W5HLuKP_/bin/python: No such file or directory

Output: 
Failed to load paths: /bin/sh: /Users/akiyamaryota/.local/share/virtualenvs/hoge-W5HLuKP_/bin/python: No such file or directory

Output: 
Adding django to Pipfile's [packages]…
✔ Installation Succeeded 
Pipfile.lock not found, creating…
Locking [dev-packages] dependencies…
Locking [packages] dependencies…
Building requirements...
Resolving dependencies...
✔ Success! 
Updated Pipfile.lock (c5b79e)!
Installing dependencies from Pipfile.lock (c5b79e)…
  🐍   ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 4/4 — 00:00:01
akiyamaryoutanoMacBook-puro:hoge akiyamaryota$ git status
On branch master
Your branch is up to date with 'origin/master'.

Untracked files:
  (use "git add <file>..." to include in what will be committed)

        ./
        ../sample/
        ../server/

nothing added to commit but untracked files present (use "git add" to track)
akiyamaryoutanoMacBook-puro:hoge akiyamaryota$ git branch
* master
akiyamaryoutanoMacBook-puro:hoge akiyamaryota$ 
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?