Search code examples
pythoninstallationpippackagecamelcasing

Why camelcase not installed?


i try to install camelcase in my python project.
pip install camelcase

but when i want to use the package, pylance give me this error:
Import "camelcase" could not be resolved Pylance (reportMissingImports)

and i tried to install camelcase again and pip said:
Requirement already satisfied: camelcase in /home/mohammad-hgh/.local/lib/python3.8/site-packages (0.2)enter image description here


Solution

  • When this happened to me, you just had to restart visual studio code after installing a new package. Try restarting VSCODE and if that does not work try pip uninstall camelcase and then pip install camelcase