Intel MacOS平台报错 No module named 'typer'
- Dominant language
- Python
- Stars
- 36.9k
- Forks
- 5.2k
- PR merge metrics
- No merged PRs in 30d
Description
**Summary[问题简述(一句话)]**
Intel MacOS平台报错 No module named 'typer'
**Env & To Reproduce[复现与环境]**
```
% python3.7 -m pip install torch torchvision torchaudio
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: torch in /opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (1.9.0)
Requirement already satisfied: torchvision in /opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (0.10.0)
Requirement already satisfied: torchaudio in /opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (0.9.0)
Requirement already satisfied: typing-extensions in /opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from torch) (4.3.0)
Requirement already satisfied: pillow>=5.3.0 in /opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from torchvision) (9.2.0)
Requirement already satisfied: numpy in /Users/migriane/Library/Python/3.7/lib/python/site-packages (from torchvision) (1.19.4)
migriane@MigrainedeMBP MockingBird-main % python3.7 web.py
Traceback (most recent call last):
File "web.py", line 3, in
import typer
ModuleNotFoundError: No module named 'typer'
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with web.py, where the traceback shows the failing import, and inspect the project's dependency or installation instructions for how Python packages are declared. Reproduce the command with Python 3.7 on Intel macOS, then verify that the documented setup allows web.py to start without the missing-module error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, pytorch
- Domain
- ai
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100