binary-husky / binary-husky/gpt_academic

python main.py 不能运行[Bug]:

Open
#1,897 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 | 安装方法与平台

Please choose | 请选择

### Version | 版本

Please choose | 请选择

### OS | 操作系统

Please choose | 请选择

### Describe the bug | 简述

网络代理状态:运行。
所有问询记录将自动保存在本地目录./gpt_log/chat_secrets.log,请注意自我隐私保护哦!
Traceback (most recent call last):
File "/Users/mac/Downloads/chatgpt_academic-master/main.py", line 34, in
chatbot.style(height=1000)
^^^^^^^^^^^^^
AttributeError: 'Chatbot' object has no attribute 'style'. Did you mean: 'scale'?

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

网络代理状态:运行。
所有问询记录将自动保存在本地目录./gpt_log/chat_secrets.log,请注意自我隐私保护哦!
Traceback (most recent call last):
File "/Users/mac/Downloads/chatgpt_academic-master/main.py", line 34, in
chatbot.style(height=1000)
^^^^^^^^^^^^^
AttributeError: 'Chatbot' object has no attribute 'style'. Did you mean: 'scale'?

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

网络代理状态:运行。
所有问询记录将自动保存在本地目录./gpt_log/chat_secrets.log,请注意自我隐私保护哦!
Traceback (most recent call last):
File "/Users/mac/Downloads/chatgpt_academic-master/main.py", line 34, in
chatbot.style(height=1000)
^^^^^^^^^^^^^
AttributeError: 'Chatbot' object has no attribute 'style'. Did you mean: 'scale'?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with main.py line 34, where chatbot.style(height=1000) raises the reported AttributeError, and inspect the Chatbot API available in the installed environment. Run python main.py to reproduce the failure; done means the application starts without this exception and the chatbot height behavior is verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
frontend
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.