#πŸ”’ Cant import PIL

18 messages Β· Page 1 of 1 (latest)

storm hazel
#

I have checked that I am running this version of python from these files. I installed PIL with pip but it refuses to import into my vscode. Is there another way of using the PIL library or does someone know what is wrong with the import? None of these imports work.

import PIL import Pillow import Image

vocal hazelBOT
#

@storm hazel

Python help channel opened

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.

storm hazel
#

probably not I dont know what that is

#

googled it and no i dont think so

ivory pendant
storm hazel
#

So I do have python3 but that isnt the one im using or want to use. Also google says python3 is supposed to come with pip but mine doesnt, but thats besides the point.

lapis mirage
#

do u have pip3

#

?

storm hazel
#

do I want pip3 if im using the normal python command/installation and not python3

lapis mirage
#

idk if u want it but u may have it if pip isnt a thing

charred burrow
#

The name of the executable can be different than the program and the version. You have python 3, as in version, but it's not accessible using python3 command - use py

storm hazel
#

I reinstalled python and now it works. fml.

#

well i uninstalled all verisons of python

#

then reinstalled

vocal hazelBOT
#
Python help channel closed using Discord native close action

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.