#๐ import openai not working on my IDE. Send help
25 messages ยท Page 1 of 1 (latest)
@sharp totem
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
Like its there but its not working, what can i do
What's the problem?
You installed the library into the wrong environment. You need to activate the environment, and then run pip.
I've never used whatever created ".pyenv" though, so I'm not sure how you do that with your setup.
vs
VSCode is trying to use an installation in a .pyenv directory, while you installed openai into an installation in the appdata
is there a way i can just remove .pyenv
From a quick search, pyenv seems to be for allowing you to manage having multiple versions of Python installed.
It's probably best to leave it if you plan on switching between versions.
I dont as of any future plans, I want to stick to 3.9.13
I don't think I can help here. You might need to wait until someone who uses PyEnv sees this
Okay no issuess, thank you for trying
โค๏ธ
I nuked the pyenv, got it erased from the whole pc. It works fine now. Thank you so much
!close
This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.