binary-husky / binary-husky/gpt_academic

[Bug]: ModuleNotFoundError: No module named 'loguru'

Open
#2,037 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
71.3k
Forks
8.3k
PR merge metrics
No merged PRs in 30d

Description

### Installation Method | 安装方法与平台

Pip Install (I used latest requirements.txt)

### Version | 版本

Others | 非最新版

### OS | 操作系统

Mac

### Describe the bug | 简述

Traceback (most recent call last):
File "/Users/kongxi/Documents/chatgpt_academic/main.py", line 16, in
from loguru import logger
ModuleNotFoundError: No module named 'loguru'

### Screen Shot | 有帮助的截图

![CleanShot 2024-11-12 at 22 02 08@2x](https://github.com/user-attachments/assets/829d4a64-4355-473f-a542-dac3c70ac31b)

### Terminal Traceback & Material to Help Reproduce Bugs | 终端traceback(如有) + 帮助我们复现的测试材料样本(如有)

_No response_

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with requirements.txt and the import shown at main.py line 16, then reproduce the pip installation on macOS. Confirm that a fresh installation includes loguru and that starting main.py no longer raises ModuleNotFoundError.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.