Open itsalljustdata opened 1 year ago
Seemingly the "vscode" user cannot import pipx, but root can
vscode ➜ / $ python
Python 3.11.2 (main, Feb 11 2023, 02:24:27) [GCC 10.2.1 20210110] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pipx
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'pipx'
>>>
vscode ➜ / $ sudo -i
root ➜ ~ $ python
Python 3.11.2 (main, Feb 11 2023, 02:24:27) [GCC 10.2.1 20210110] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pipx
>>>
root ➜ ~ $
Upon further investigation, pipx
is in root's secret world...
root ➜ ~ $ python
Python 3.11.2 (main, Feb 11 2023, 02:24:27) [GCC 10.2.1 20210110] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pipx
>>> print (pipx.__file__)
/root/.local/lib/python3.11/site-packages/pipx/__init__.py
>>>
Complete list of packages in /root/.local/......
Huh. Maybe I should make the devcontainer here more "plain vanilla". I can't open the devcontainer here either.
The referenced container is mine over here: https://github.com/matthewdeanmartin/convenient_py_devcontainer
and is unrelated to njvack's work.
I'll update the devcontainer to something with fewer things that can go wrong this evening or tomorrow.
I'm getting an error when i run the tool on some (admittedly large) markdown, so i thought i'd take a look at the repo.
very kindly you've defined a devcontainer, but it's creation is failing for me...
It looks like pipx is (somehow) being considered missing from the underlying image
any thoughts?