-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pipenv fails to crate virtual enviroment #3143
Comments
Please try using the master branch or provide us with step by step instructions for reproducing the failure you are experiencing. I would point out that it is not recommended to run pipenv or any python packaging tools as root. |
Looks similar to an issue I am having on Fedora 29. `pipenv install requests Virtualenv location:
`pipenv --three Virtualenv location: Output of pipenv --support ` $ pipenv --supportPipenv version: Pipenv location: Python location: Other Python installations in
PEP 508 Information:
System environment variables:
Pipenv–specific environment variables: Debug–specific environment variables:
Contents of |
Sorry you are encountering this issue, but please upgrade as I can't really offer you any solutions that won't involve upgrading |
Ok - well, I don't know what or how I did it, but I ended up using the curl | python method of upgrading and things seem to be working now. I really thought I had upgraded pip and pipenv fully, but apparently had messed up something along the way. It would be good if pipenv were more aware of what the user has done and could give me a warning if I needed to update. I think it might already do this, but ??? idk..I guess I out-human-ed the pip for humans? Thanks for helping. |
Close this one now. Thanks for the updates |
Issue description
on running pipenv install and pipenv --python 3.7 it fails with the following
Expected result
I expected it to work
Actual result
root@wookie:/py# pipenv install
Creating a Pipfile for this project…
Traceback (most recent call last):
File "/usr/local/bin/pipenv", line 11, in
sys.exit(cli())
File "/usr/local/lib/python3.7/dist-packages/pipenv/vendor/click/core.py", line 764, in call
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/pipenv/vendor/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.7/dist-packages/pipenv/vendor/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.7/dist-packages/pipenv/vendor/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.7/dist-packages/pipenv/vendor/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/pipenv/vendor/click/decorators.py", line 64, in new_func
return ctx.invoke(f, obj, *args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/pipenv/vendor/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/pipenv/vendor/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/pipenv/cli/command.py", line 249, in install
editable_packages=state.installstate.editables,
File "/usr/local/lib/python3.7/dist-packages/pipenv/core.py", line 1724, in do_install
pypi_mirror=pypi_mirror,
File "/usr/local/lib/python3.7/dist-packages/pipenv/core.py", line 601, in ensure_project
validate=validate, skip_requirements=skip_requirements, system=system
File "/usr/local/lib/python3.7/dist-packages/pipenv/core.py", line 324, in ensure_pipfile
project.create_pipfile(python=python)
File "/usr/local/lib/python3.7/dist-packages/pipenv/project.py", line 644, in create_pipfile
config_parser = ConfigOptionParser(name=self.name)
File "/usr/local/lib/python3.7/dist-packages/pipenv/patched/notpip/_internal/baseparser.py", line 141, in init
assert self.name
AssertionError
pipenv --support output
$ pipenv --support
Pipenv version:
'2018.10.13'
Pipenv location:
'/usr/local/lib/python3.7/dist-packages/pipenv'
Python location:
'/usr/bin/python'
Python installations found:
3.7.1
:/usr/bin/python3.7
3.7.1
:/usr/bin/python3.7m
3.7.1
:/usr/bin/python
3.7.0
:/usr/local/bin/python3.7
3.7.0
:/usr/local/bin/python3.7m
3.5.2
:/usr/bin/python3.5m
3.5.2
:/usr/bin/python3.5
2.7.12
:/usr/bin/python2.7
2.7.0
:/usr/local/lib/jython/bin/jython
PEP 508 Information:
System environment variables:
XDG_SESSION_ID
SHELL
TERM
SSH_CLIENT
OLDPWD
SSH_TTY
GTK_MODULES
LC_ALL
USER
LS_COLORS
PYENV_VIRTUALENV_INIT
PATH
MAIL
PWD
LANG
PYENV_SHELL
HOME
SHLVL
LOGNAME
SSH_CONNECTION
LESSOPEN
DISPLAY
XDG_RUNTIME_DIR
LESSCLOSE
_
PYTHONDONTWRITEBYTECODE
PIP_SHIMS_BASE_MODULE
PIP_PYTHON_PATH
Pipenv–specific environment variables:
Debug–specific environment variables:
PATH
:/root/.pyenv/plugins/pyenv-virtualenv/shims:/root/.pyenv/shims:~/.pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
SHELL
:/bin/bash
LANG
:C.UTF-8
PWD
:/py
Contents of
Pipfile
('/Pipfile'):The text was updated successfully, but these errors were encountered: