Zero6992 / chatGPT-discord-bot

Integrate ChatGPT into your own discord bot
GNU General Public License v2.0
2.6k stars 699 forks source link

Come across this error everytime. #372

Closed TechySkills closed 1 year ago

TechySkills commented 1 year ago

I come across this error everytime i run the code: C:\Users\alisu\OneDrive\Desktop\chatGPT-discord-bot-main\chatGPT-discord-bot-main>python main.py Traceback (most recent call last): File "C:\Users\alisu\OneDrive\Desktop\chatGPT-discord-bot-main\chatGPT-discord-bot-main\main.py", line 1, in from src import bot ImportError: cannot import name 'bot' from 'src' (C:\Users\alisu\AppData\Local\Programs\Python\Python310\lib\site-packages\src__init__.py)

image I dont know what to do...

Plz help

Zero6992 commented 1 year ago

161

TechySkills commented 1 year ago

161

Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.

'python3' is not recognized as an internal or external command, operable program or batch file.

The first error is when the Execution Alias is enabled, 2nd is when its disabled, any way if i could run it through the traditional python main.py, I even tried again running it through just "pip install -r requirements.txt" still not work,

killerjerick commented 1 year ago

I had this issue briefly, only because I didn't copy over the "src" file that has the bot.py file inside

Zero6992 commented 1 year ago

Lack of activity