1.Maybe it’s something similar to this issue. Deleting the init.py in top-level of your project can help resolve this issue.
2.If the above not helps, please try reloading the project.
After my test, sometimes in a python application, after the first time we install a python package, the intellisense for the new package in current project won’t work until we reload the project file to recognize the new package.
For this situation, the easy workaround is: Right-click the project
in Solution Explorer
=>choose unload the project
=>Right-click it again and choose reload the project
. Then the intellisense for the new package would work well.
Hope it helps and sorry for the delay!
Related Posts:
- How do I update\upgrade pip itself from inside my virtual environment?
- How do I update\upgrade pip itself from inside my virtual environment?
- How to install pip with Python 3?
- How to update/upgrade a package using pip?
- bash: pip: command not found
- ImportError: No module named pip
- ImportError: No module named pip
- How do I install pip on macOS or OS X?
- How can I install pip on Windows?
- ImportError: No module named tensorflow
- Where is BeautifulSoup4 hiding?
- Where does pip install its packages?
- ImportError: No module named requests
- Where does pip install its packages?
- How to install python3 version of package via pip on Ubuntu?
- Could not install packages due to an EnvironmentError:
- Could not find a version that satisfies the requirement tensorflow
- Importing requests module does not work
- “Defaulting to user installation because normal site-packages is not writeable” python message
- Could not find a version that satisfies the requirement tensorflow
- How to install pytorch in Anaconda with conda or pip?
- Can’t fix “zipimport.ZipImportError: can’t decompress data; zlib not available” when I type in “python3.6 get-pip.py”
- import opencv vs import cv2
- No module named ‘psycopg2’
- How to pip or easy_install tkinter on Windows
- Conda uninstall one package and one package only
- Error after upgrading pip: cannot import name ‘main’
- filename.whl is not supported wheel on this platform
- Permission denied error by installing matplotlib
- Updating matplotlib in virtualenv with pip
- ImportError: cannot import name main when running pip –version command in windows7 32 bit
- filename.whl is not a supported wheel on this platform
- What is the difference between pip and conda?
- bash: pip: command not found
- How to know the version of pip itself
- “ImportError: no module named ‘requests'” after installing with pip
- How do I install the yaml package for Python?
- error: Unable to find vcvarsall.bat
- error: Unable to find vcvarsall.bat
- AttributeError: Module Pip has no attribute ‘main’
- pg_config executable not found
- Can I force pip to reinstall the current version?
- How can I install Python’s pip3 on my Mac?
- Removing pip’s cache?
- setup script exited with error: command ‘x86_64-linux-gnu-gcc’ failed with exit status 1
- Could not find a version that satisfies the requirement
- What is the easiest way to remove all packages installed by pip?
- How to get pip to work behind a proxy server
- How to POST JSON data with Python Requests?
- using pip3: module “importlib._bootstrap” has no attribute “SourceFileLoader”
- Max retries exceeded with URL in requests
- Using Pip to install packages to Anaconda Environment
- How to install multiple python packages at once using pip
- How are Pipfile and Pipfile.lock used?
- pg_config executable not found
- ‘Pip’ is Not Recognized as an Internal or External Command windows 10 CMD
- How to reinstall a pip package even if it exists
- How can I install Python’s pip3 on my Mac?
- Using headers with the Python requests library’s get method
- Using headers with the Python requests library’s get method
- ImportError: No module named ‘Queue’
- No module named “Torch”
- Why does “pip install” inside Python raise a SyntaxError?
- clang error: unknown argument: ‘-mno-fused-madd’ (python package installation failure)
- Download large file in python with requests
- ‘pip install’ fails for every package (“Could not find a version that satisfies the requirement”) [duplicate]
- How do I install a pip package globally instead of locally?
- python mpl_toolkits installation issue
- Pipenv: Command Not Found
- Pip – Fatal error in launcher: Unable to create process using ‘”‘
- python pip on Windows – command ‘cl.exe’ failed
- pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available
- pip install -r requirements.txt [Errno 2] No such file or directory: ‘requirements.txt’
- pip: no module named _internal
- Zsh: Conda/Pip installs command not found
- ImportError: No module named ‘yaml’
- pip connection failure: cannot fetch index base URL http://pypi.python.org/simple/
- Getting
with Python http requests instead of INT - Find which version of package is installed with pip
- How to install PyGame on Python 3.4?
- How to use cookies in Python Requests
- Python Requests – No connection adapters
- pip3 error – ‘_NamespacePath’ object has no attribute ‘sort’
- Python 3.6 No module named pip
- How to Install pip for python 3.7 on Ubuntu 18?
- How to fix error “ERROR: Command errored out with exit status 1: python.” when trying to install django-heroku using pip
- How to change pip installation path
- pip throws TypeError: parse() got an unexpected keyword argument ‘transport_encoding’ when trying to install new packages
- Can I set max_retries for requests.request?
- Could not install packages due to an EnvironmentError: [Errno 13]
- Why am I getting ImportError: No module named pip ‘ right after installing pip?
- Python requests SSL error – certificate verify failed
- Install py2exe for python 2.7 over pip: this package requires Python 3.3 or later
- How to install NumPy for Python 3.6
- How to install numpy to Python 3.5?
- Install pip for python 3.5
- How do I install pip on macOS or OS X?
- Pip: could not find a version. No matching distribution found
- File “/usr/bin/pip”, line 9, in
from pip import main ImportError: cannot import name main - How do I list the files associated with a Python package installed using pip or easy_install?