#๐Ÿ”’ Python not installed

35 messages ยท Page 1 of 1 (latest)

wheat dockBOT
#

@median fractal

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.

median fractal
#

Python Stable Diffusion

glass pendant
#

You probably installed the package to the version of Python you're not using in Visual Studio

#

You can choose the interpreter you want to use in Visual Studio

median fractal
#

but if python works in vs why doesnt it show in cmd then ?

glass pendant
#

Because the pip you're calling is for the other version of Python

#

in cmd type where pip and show the output

#

you can also do py -0 to list the installed versions of Python

median fractal
glass pendant
#

So it's probably installing the package for 3.12

median fractal
#

this shows for py -0

glass pendant
#

if you want to install it for 3.10 do something like py -3.10 -m pip install stable-diffusion or whatever the module is called

median fractal
#

stable diffusion is already installed and stuff but when i try to run the web ui

#

it says its not uk

glass pendant
#

Which version of Python are you using in Visual Studio?

median fractal
#

3.12

glass pendant
#

in cmd can you do py -3.12 -m pip list?

#

You should see stable-diffusion listed there if it's installed for 3.12

median fractal
#

hm it isnt

glass pendant
#

so it isn't installed

median fractal
#

i downloaded the stable diffusion with git clone if it changes anything

glass pendant
#

no it does not

#

try py -3.10 -m pip list

#

see if you installed it there

median fractal
#

nope

glass pendant
#

it is possible to install a python package locally but usually it's easier to just install it via pip

#

If you want to install a package for a particular version it's best to just use py -<version> -m pip install <package-name> that way you know for sure

median fractal
#

could it maybe be that it doesnt work since i got the stable diffusion before downloading the py 3.10 ? cuz i thought it works with the 3.12 aswell

glass pendant
#

If the module is not listed for 3.10 or 3.12 you do not have it installed.

median fractal
#

cuz normally i did the exact same as he did in the yt video

#

but anyway thx for trying to help but gotta go sleep now have a great day/ night

wheat dockBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, 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.

#

๐Ÿ”’ Python Stable Diffusion

wheat dockBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, 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.