title: How to install PySide6?
body: <p>I am following the documentation in <a href="https://doc.qt.io/qtforpython/quickstart.html" rel="nofollow noreferrer">here</a></p>
  <p><strong>First installation issue (Solved):</strong></p>
  <p>It is suggested to install pyside6 in a virtual environment, so I follow each step.</p>
  <p><code>python -m venv env</code></p>
  <p><code>env\Scripts\activate.bat</code></p>
  <p><code>pip install pyside6</code></p>
  <p>However, I get the warning prompt:</p>
  <p><em>&quot;Could not find a version that satisfies the requirement pyside6 (from versions: )
  No matching distribution found for pyside6&quot;</em></p>
  <p>I tried installing other packages like pandas to check if pip was the problem. But there was no issues installing it into the environment.</p>
  <p>Update: as mentioned by @eyllanesc the python version must be &gt;=3.6 and must be 64-bit python (not mentioned in the doc page I looked at)</p>
  <p><strong>Second installation issue:</strong></p>
  <p>However, a related issue to installing PySide6 is when I try to install PySide6 with other packages in a conda environment using pip (PySide6 is not available in conda yet).</p>
  <p>Using the anaconda prompt,</p>
  <p><code>conda create --name test_env python=3.9.5</code> then</p>
  <p><code>pip install PySide6</code></p>
  <p>At this point running PySide6 modules will have no problem. But if I add certain libraries then there will be an issue:</p>
  <p><code>conda activate test_env</code></p>
  <p><code>conda env update --file test_env.yml</code> #includes pandas, matplotlib, seaborn, and requests</p>
  <p>The error below will show up:</p>
  <p><a href="https://i.stack.imgur.com/8KCIm.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8KCIm.jpg" alt="enter image description here" /></a></p>
  <p>I tried reversing the order by building the conda libraries first:</p>
  <p><code>conda env create --file test_env.yml</code> then</p>
  <p><code>pip install PySide6</code></p>
  <p>The same error will show up.</p>
  <p>So upon installing each package one by one after installing PySide6, I learned PySide6 starts to fail and show the error after I do <code>conda install matplotlib</code> or <code>conda install seaborn</code> (as it installs matplotlib as well)</p>
  <p>Update: upon checking further, there is a compatibility issue with matplotlib and PySide6 at the moment as shown <a href="https://stackoverflow.com/questions/67815851/pyside6-1-not-compatible-with-matplotlib-3-4">here</a></p>