<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Stable-Diffusion on Blog GoHugo de Fredô : Linux, Proxmox, IA, Trail, Course, Randonnée, Gravel, Ski de Randonnée</title>
    <link>https://move.cyber-neurones.org/tags/stable-diffusion/</link>
    <description>Recent content in Stable-Diffusion on Blog GoHugo de Fredô : Linux, Proxmox, IA, Trail, Course, Randonnée, Gravel, Ski de Randonnée</description>
    <generator>Hugo</generator>
    <language>fr</language>
    <lastBuildDate>Mon, 02 Jun 2025 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://move.cyber-neurones.org/tags/stable-diffusion/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Ubuntu 24 : Stable diffusion : Problème avec Python 3.12 &amp; torch</title>
      <link>https://move.cyber-neurones.org/post/2025/06/2025-06-02-ubuntu-24-stable-diffusion-probleme-avec-python-3-12-torch/</link>
      <pubDate>Mon, 02 Jun 2025 00:00:00 +0000</pubDate>
      <guid>https://move.cyber-neurones.org/post/2025/06/2025-06-02-ubuntu-24-stable-diffusion-probleme-avec-python-3-12-torch/</guid>
      <description>&lt;p&gt;Avec Python 3.12.3 :&lt;/p&gt;&#xA;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;Python 3.12.3 (main, Feb  4 2025, 14:48:35) [GCC 13.3.0]&#xA;Version: v1.10.1&#xA;Commit hash: 82a973c04367123ae98bd9abdf80d9eda9b910e2&#xA;Installing torch and torchvision&#xA;Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu121&#xA;ERROR: Could not find a version that satisfies the requirement torch==2.1.2 &#xA;(from versions: 2.2.0, 2.2.0+cu121, 2.2.1, 2.2.1+cu121, 2.2.2, 2.2.2+cu121, &#xA;2.3.0, 2.3.0+cu121, 2.3.1, 2.3.1+cu121, 2.4.0, 2.4.0+cu121, 2.4.1, &#xA;2.4.1+cu121, 2.5.0, 2.5.0+cu121, 2.5.1, 2.5.1+cu121, 2.6.0, 2.7.0)&#xA;ERROR: No matching distribution found for torch==2.1.2&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Donc j&amp;rsquo;utilise Python 3.11 :&lt;/p&gt;&#xA;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# apt-get install python3-setuptools&#xA;# apt-get install python3-build&#xA;# python3.11 -m pip install --upgrade pip setuptools wheel&#xA;# virtualenv -p /usr/bin/python3.11 venv&#xA;created virtual environment CPython3.11.12.final.0-64 in 1366ms&#xA;  creator CPython3Posix(dest=/home/XXXX/stable-diffusion-webui/venv, clear=False, &#xA;no_vcs_ignore=False, global=False)&#xA;  seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, &#xA;via=copy, app_data_dir=/home/XXXX/.local/share/virtualenv)&#xA;    added seed packages: pip==24.0, setuptools==68.1.2, wheel==0.42.0&#xA;  activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator&#xA;$ source venv/bin/activate&#xA;$ python3.11 -m pip install --upgrade pip setuptools wheel&#xA;$ bash webui.sh --api --listen&lt;/code&gt;&lt;/pre&gt;</description>
    </item>
  </channel>
</rss>
