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

Missing imports -> discord.py; python-dotenv #1448

Closed
prithvi2k2 opened this issue Jun 14, 2021 · 3 comments
Closed

Missing imports -> discord.py; python-dotenv #1448

prithvi2k2 opened this issue Jun 14, 2021 · 3 comments
Labels
waiting for user response Requires more information from user

Comments

@prithvi2k2
Copy link

prithvi2k2 commented Jun 14, 2021

No.1

Module: discord.py

import discord

Response: Import "discord" could not be resolved


No.2

Module: python-dotenv

from dotenv import load_dotenv

Response: Import "dotenv" could not be resolved

Tasks

No tasks being tracked yet.
@jakebailey
Copy link
Member

You didn't fill out our bug template; can you please provide the info listed here: https://github.com/microsoft/pylance-release/blob/main/TROUBLESHOOTING.md#filing-an-issue

I would verify that your selected interpreter has these installed.

@jakebailey jakebailey added the waiting for user response Requires more information from user label Jun 14, 2021
@github-actions github-actions bot removed the triage label Jun 14, 2021
@prithvi2k2
Copy link
Author

I am closing this issue. On restarting VScode, PyLance asked me something related to a new environment, I think I should've mentioned that before that I am using a venv.
Now, everything seems to work fine after the restart.
Thnx for your patience @jakebailey

@jakebailey
Copy link
Member

Yes, that sounds like #923.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting for user response Requires more information from user
Projects
None yet
Development

No branches or pull requests

2 participants