Created
February 26, 2024 12:59
-
-
Save tomerun/20a5d20d1e984c3676c78f6c690b0146 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ docker run --rm -it python:3.12.2-slim-bullseye bash | |
root@909f0138a0f1:/# python -c "import sys; print(sys.path)" | |
['', '/usr/local/lib/python312.zip', '/usr/local/lib/python3.12', '/usr/local/lib/python3.12/lib-dynload', '/usr/local/lib/python3.12/site-packages'] | |
root@909f0138a0f1:/# pip install numpy --user | |
(略) | |
root@909f0138a0f1:/# python -c "import sys; print(sys.path)" | |
['', '/usr/local/lib/python312.zip', '/usr/local/lib/python3.12', '/usr/local/lib/python3.12/lib-dynload', '/root/.local/lib/python3.12/site-packages', '/usr/local/lib/python3.12/site-packages'] | |
^^^^^^^^ これ誰がどうやって追加してるの? ^^^^^^^^ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment