“No module named 'gdbm'” when command not found in Pipenv shell running on Ubuntu
See original GitHub issue$ python3 -m pipenv.help
<details><summary>$ python -m pipenv.help output</summary>
Pipenv version: `'2018.05.18'`
Pipenv location: `'/home/kingname/.local/lib/python3.6/site-packages/pipenv'`
Python location: `'/usr/bin/python3'`
Other Python installations in `PATH`:
- `2.7`: `/usr/bin/python2.7`
- `2.7`: `/usr/bin/python2.7`
- `3.5`: `/usr/bin/python3.5m`
- `3.5`: `/usr/bin/python3.5`
- `3.6`: `/usr/bin/python3.6m`
- `3.6`: `/usr/bin/python3.6`
- `2.7.12`: `/usr/bin/python`
- `2.7.12`: `/usr/bin/python2`
- `3.6.5`: `/usr/bin/python3`
PEP 508 Information:
{'implementation_name': 'cpython',
'implementation_version': '3.6.5',
'os_name': 'posix',
'platform_machine': 'x86_64',
'platform_python_implementation': 'CPython',
'platform_release': '4.4.0-43-Microsoft',
'platform_system': 'Linux',
'platform_version': '#1-Microsoft Wed Dec 31 14:42:53 PST 2014',
'python_full_version': '3.6.5',
'python_version': '3.6',
'sys_platform': 'linux'}
Expected result
show command not find
instead of raise python error.
Actual result
When possible, provide the verbose output (--verbose
), especially for locking and dependencies resolving issues.
Steps to replicate
do it in Ububtu subsystem of Windows 10
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
How do I install Python 3.6 using apt-get? - Ask Ubuntu
Just run python3 to invoke it. ... bash: pyenv: command not found , fish: Unknown command 'pyenv' ... No module named 'gdbm'.
Read more >python gdbm,GDBM不适用于Python 3.6和 ... - CSDN博客
本文记录Linux 下各种报错与解决方法. ModuleNotFoundError: No module named 'gdbm' · longma666666的博客.
Read more >python3: getting module source code using user input (inspect ...
... ImportError: No module named 'gdbm' occuring while using source ~/.bashrc · Using Python3 on Mac OS X With Visual Studio Code -...
Read more >no module named celery - OSCHINA - 中文开源技术交流社区
TypeError: index() missing 1 required positional argument: 'request' 类型 ... No module named '_gdbm' ModuleNotFoundError: No module named 'gdbm' 'apt_pkg'.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
problem solved, just to
sudo apt-get install python3.6-gdbm
I changed the title to make this more searchable, in case others need this in the future.