Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qchatgpt ubuntu 22.04 - No module named 'openai' #7

Open
albertograva opened this issue Feb 20, 2023 · 2 comments
Open

qchatgpt ubuntu 22.04 - No module named 'openai' #7

albertograva opened this issue Feb 20, 2023 · 2 comments

Comments

@albertograva
Copy link

Hi! trying to use it in QGIS | 3.28.3-Firenze on ubuntu 22.04 [1] it doesn't work.
It asks me to install openai [2], but if when I confirm it gives thi errore [3]

[1] image
[2] image
[3]
image

qchatgpt_error.txt

thanx for help!

@GiorgosPram
Copy link

I had the same issue and resolved it like that:

sudo apt install python3-pip
pip3 install --upgrade pip
pip install openai

Mainly I needed to upgrade pip, because when I tried to install openai module, it was returning ModuleNotFoundError: No module named 'aiohttp' error. Even if the aiohttp was installed

@albertograva
Copy link
Author

thanks! it works!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants