No, this is my first time lol
pipenv shell
If you do
Traceback (most recent call last):
File "/usr/local/Cellar/pipenv/2020.6.2/libexec/bin/pipenv", line 5, in <module>
from pipenv import cli
ModuleNotFoundError: No module named 'pipenv'
What? I'm not sure about small errors, so the method I tried was successful, so I'll describe it.
What is pipenv for the time being? That's why
brew list
Then you're in your own environment, right?
I thought I'd try to put it back in for the time being
brew reinstall pipenv
Then
==> Downloading https://homebrew.bintray.com/bottles/pipenv-2020.6.2.catalina.bottle.tar.gz
Already downloaded: /Users/hoge/Library/Caches/Homebrew/downloads/4d0e7223005e0a1d0846471afb6356cb634de5855ad4102613aa6b0cc94c3bbc--pipenv-2020.6.2.catalina.bottle.tar.gz
==> Reinstalling pipenv
==> Pouring pipenv-2020.6.2.catalina.bottle.tar.gz
==> Caveats
Bash completion has been installed to:
/usr/local/etc/bash_completion.d
zsh completions have been installed to:
/usr/local/share/zsh/site-functions
Successful reinstallation normally. .. ..
again
pipenv shell
Then
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.
Launching subshell in virtual environment…
. /Users/hoge/.local/share/virtualenvs/hoge-hogehoge/bin/activate
Will it work normally? I wonder why it suddenly stopped working ...
By reinstalling pipenv, the Warning </ font> that appeared on Terminal in jupyter notebook
is no longer displayed.
Thank you for watching till the end! !!
Recommended Posts