Hi all,
i'm trying to use pipenv, installing works, now I wanted to start the shell with pipenv shell and I got the error below. At first I thought I messed too much with pipenv, but in a new useraccount the same error occurs.
The directory '/proc/xxxxx/stat doesn't exist', so the error message is in my opinion correct, unfortunately I don't know how to fix this...
Traceback (most recent call last): File
"/home/florisnetten/.local/bin/pipenv", line 11, in <module>
sys.exit(cli()) File "/home/florisnetten/.local/lib/python3.6/site-packages/pipenv/vendor/click/core.py",
line 722, in __call__
return self.main(*args, **kwargs) File "/home/florisnetten/.local/lib/python3.6/site-packages/pipenv/vendor/click/core.py",
line 697, in main
rv = self.invoke(ctx) File "/home/florisnetten/.local/lib/python3.6/site-packages/pipenv/vendor/click/core.py",
line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/home/florisnetten/.local/lib/python3.6/site-packages/pipenv/vendor/click/core.py",
line 895, in invoke
return ctx.invoke(self.callback, **ctx.params) File "/home/florisnetten/.local/lib/python3.6/site-packages/pipenv/vendor/click/core.py",
line 535, in invoke
return callback(*args, **kwargs) File "/home/florisnetten/.local/lib/python3.6/site-packages/pipenv/cli.py",
line 664, in shell
three=three, python=python, fancy=fancy, shell_args=shell_args, pypi_mirror=pypi_mirror File
"/home/florisnetten/.local/lib/python3.6/site-packages/pipenv/core.py",
line 2149, in do_shell
shell = choose_shell() File "/home/florisnetten/.local/lib/python3.6/site-packages/pipenv/shells.py",
line 217, in choose_shell
type_, command = detect_info() File "/home/florisnetten/.local/lib/python3.6/site-packages/pipenv/shells.py",
line 25, in detect_info
return shellingham.detect_shell() File "/home/florisnetten/.local/lib/python3.6/site-packages/pipenv/vendor/shellingham/__init__.py",
line 24, in detect_shell
shell = get_shell(pid, max_depth=max_depth) File "/home/florisnetten/.local/lib/python3.6/site-packages/pipenv/vendor/shellingham/posix/__init__.py",
line 20, in get_shell
mapping = _get_process_mapping() File "/home/florisnetten/.local/lib/python3.6/site-packages/pipenv/vendor/shellingham/posix/__init__.py",
line 13, in _get_process_mapping
return impl.get_process_mapping() File "/home/florisnetten/.local/lib/python3.6/site-packages/pipenv/vendor/shellingham/posix/linux.py",
line 14, in get_process_mapping
with open('/proc/{0}/stat'.format(os.getpid())) as f: FileNotFoundError: [Errno 2] No such file or directory:
'/proc/31027/stat'
[edit by admin: formatting]