typer-slim won't install in user site-packages #1512
Answered
by
svlandeg
gabor-borbely
asked this question in
Questions
-
First Check
Commit to Help
Example Codepython -m pip install typer-slimDescription
Operating SystemLinux Operating System DetailsAmazon Linux 2023 The issue is specific to this OS and venv because I can install To reproduce:
Using pip 25.3 from /opt/pytorch/lib/python3.12/site-packages/pip (python 3.12)
Collecting typer-slim
Obtaining dependency information for typer-slim from https://files.pythonhosted.org/packages/c8/0a/4aca634faf693e33004796b6cee0ae2e1dba375a800c16ab8d3eff4bb800/typer_slim-0.21.1-py3-none-any.whl.metadata
Using cached typer_slim-0.21.1-py3-none-any.whl.metadata (16 kB)
Requirement already satisfied: click>=8.0.0 in /opt/pytorch/lib/python3.12/site-packages (from typer-slim) (8.3.1)
Requirement already satisfied: typing-extensions>=3.7.4.3 in /opt/pytorch/lib/python3.12/site-packages (from typer-slim) (4.15.0)
Using cached typer_slim-0.21.1-py3-none-any.whl (47 kB)
Installing collected packages: typer-slim
ERROR: Could not install packages due to an OSError.
Check the permissions.
Traceback (most recent call last):
File "/opt/pytorch/lib/python3.12/site-packages/pip/_internal/commands/install.py", line 458, in run
installed = install_given_reqs(
^^^^^^^^^^^^^^^^^^^
File "/opt/pytorch/lib/python3.12/site-packages/pip/_internal/req/__init__.py", line 84, in install_given_reqs
requirement.install(
File "/opt/pytorch/lib/python3.12/site-packages/pip/_internal/req/req_install.py", line 781, in install
install_wheel(
File "/opt/pytorch/lib/python3.12/site-packages/pip/_internal/operations/install/wheel.py", line 737, in install_wheel
_install_wheel(
File "/opt/pytorch/lib/python3.12/site-packages/pip/_internal/operations/install/wheel.py", line 595, in _install_wheel
file.save()
File "/opt/pytorch/lib/python3.12/site-packages/pip/_internal/operations/install/wheel.py", line 362, in save
os.unlink(self.dest_path)
PermissionError: [Errno 13] Permission denied: '/opt/pytorch/lib/python3.12/site-packages/typer/__init__.py'
[notice] A new release of pip is available: 25.3 -> 26.0
[notice] To update, run: pip install --upgrade pipTyper Version0.21.1 Python Version3.12.10 Additional ContextNo response |
Beta Was this translation helpful? Give feedback.
Answered by
svlandeg
Feb 3, 2026
Replies: 1 comment 4 replies
-
|
is Is there a specific reason why you want |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ok, thanks for clarifying. So yes, it's the same underlying issue with
typerandtyper-slim, unfortunately. We're aware of this and it's high on our TODO list. To help us inform the best course of action, we've created a Typer survey which also asks abouttyper-slim. If you have time and would like to help us, feel free to fill it in!Typer user Survey