I'm trying to go to work with pipenv, but I have problems with the launch of the virtual environment.
errors:
➜ test_pipenv pipenv shell
Launching subshell in virtual environment…
. /home/user/.local/share/virtualenvs/test_pipenv-mzRyHdZF/bin/activate
➜ test_pipenv . /home/user/.local/share/virtualenvs/test_pipenv-mzRyHdZF/bin/activate
cd: **This is not a directory:** /home/user/.local/share/virtualenvs/test_pipenv-mzRyHdZF/bin/activate
or
➜ test_pipenv /home/user/.local/share/virtualenvs/venv-mzRyHdZF/bin/activate
zsh: **Access denied:** /home/user/.local/share/virtualenvs/venv-mzRyHdZF/bin/activate
or
➜ test_pipenv source /home/user/.local/share/virtualenvs/venv-mzRyHdZF/bin/activate
(test_pipenv) ➜ test_pipenv pip freeze
certifi==2018.10.15
chardet==3.0.4
idna==2.7
requests==2.19.1
urllib3==1.23
I installed the pipenv twice and get the same error:
sudo pip install pipenv
and
pip install --user pipenv
I get the same error I use arch linux and zsh
.zshrc
export PATH=/usr/local/bin:$PATH
export SHELL=/bin/zsh
PIPENV_SHELL=/use/bin/zsh
export ZSH=/home/user/.oh-my-zsh
export PATH="$HOME/.local/bin:$PATH"
Help me please. Why does not it work pipenv shell?
Try doing this:
pip uninstall pipenv
this will uninstall existing pipenv after doing that re-install pipenv by doing this:
pip install pipenv
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With