2023-05-09

ehowton: (BSD)
I wanted to add how I was finally able to resolve, using xvgray's suggestion once I figured out how to install Python 3.10. This issue has been driving me nuts all day as a new Linux user, and I'm hoping to help spare someone else the pain.

Since I couldn't install Python 3.10 with the simple command (sudo apt install python3.10 led to error ...couldn't find package by glob 'python3.10'), I had to install it manually. Python 3.10 has various dependencies that neither apt nor aptitude could resolve on their own without some prodding. Here are the steps to install it, but note that since I'm a new Linux user, I don't have any idea if this will screw up your OS otherwise. Use this solution at your own risk.

    Open the "Software & Updates" app. (I used the GUI version that comes with Ubuntu Cinnamon 23.04. I think this same GUI is in all versions of Ubuntu.)
    In the "Other Software" tab, click the "Add..." button and add these (one at a time, but the second one might populate for you automatically after you enter the first):

    deb http://security.ubuntu.com/ubuntu jammy-security main
    deb-src http://security.ubuntu.com/ubuntu jammy-security main

    Go to close the "Software & Updates" window and allow it to refresh the software packages list.
    Switching gears -- navigate to this site in a web browser (https://packages.ubuntu.com/jammy/amd64/libmpdec3/download), and download "libmpdec3." This is a subdependency for Python 3.10, and it's not available otherwise as far as I could tell.
    Once "libmpdec3" is downloaded, double-click it to install it from your Downloads. You might have to tell it to "Open With..." and choose "Software Manager."
    Once that's installed, open your Terminal and install aptitude with sudo apt install aptitude. (This step might be optional, but aptitude is what I used instead of apt in these next steps. You can try it with apt instead if you want.)
    Once installed, issue these commands:

sudo aptitude install libpython3.10-stdlib
sudo aptitude install python3.10

    Follow xvgray's comment (quoted below).

    python3.10 -m pip install --user virtualenv

    * Delete the `stable-diffusion-webui/venv` directory.

    * Edit the `'./webui.sh'` script and change two entries:

    Line 38: From: python_cmd="python3" To: python_cmd="python3.10"

    Line 161: From: ${python_cmd}" -m venv "${venv_dir}" To: virtualenv --python="/usr/bin/python3.10" "${venv_dir}"

Good luck!


https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/9791
◾ Tags:
ehowton: (my_lovers)

After kneeling at the alter numerous times yesterday in mutual supplication, wife said to me, "You need another lover, and it will be BFF, just give her time." I think I replied something along the lines of,

"But she's not in any way even attracted to me, and that's kind of an important piece."

"When she's healed, she will be."

I wonder now if wife isn't doing her own version of manifestation visualization - which admittedly is far more powerful than my own. And I'm downright giddy at the thought of the two of us working in unison. And I'm still thinking about that love letter.
◾ Tags:
ehowton: (navy)






◾ Tags:

September 2025

S M T W T F S
 1 2 3 4 56
789 10111213
14151617181920
21222324252627
282930    

Most Popular Tags

Expand Cut Tags

No cut tags