You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<metaname="description" content="Install QECTOR Decoder with the robust AIO installer for Git Bash and Windows. Handles Rust, Python 3.11 wheel fallback, thin checkout repair, dev dependencies, and pytest.">
6
+
<metaname="description" content="Install QECTOR Decoder with the robust AIO installer for Git Bash and Windows. Handles Python 3.11 wheel fallback, native extension source sync, dev dependencies, Rust source builds, and pytest.">
<metaproperty="og:title" content="QECTOR Installer | Robust Git Bash and Windows Setup">
9
-
<metaproperty="og:description" content="Install QECTOR Decoder with the robust AIO installer for Git Bash and Windows. Handles Rust, Python 3.11 wheel fallback, thin checkout repair, dev dependencies, and pytest.">
8
+
<metaproperty="og:title" content="QECTOR Installer | Git Bash and Windows Setup">
9
+
<metaproperty="og:description" content="Robust installer for QECTOR Decoder. Handles Python 3.11 wheel fallback, native extension source sync, dev dependencies, Rust source builds, and pytest.">
<h1class="hero-title">Install QECTOR without fighting Rust, Python, or Git Bash.</h1>
40
-
<pclass="hero-subtitle">Use the installer instead of the fragile manual sequence. The verified Windows path selects Python 3.11 when the bundled cp311 wheel exists, repairs thin checkouts, installs dev dependencies, and runs pytest through the virtual environment.</p>
40
+
<pclass="hero-subtitle">Use the installer instead of the fragile manual sequence. It selects Python 3.11 for the bundled cp311 wheel, installs dev dependencies, syncs the compiled native extension into the local source package, and runs pytest through the virtual environment.</p>
<pstyle="margin-top:1rem;max-width:760px;">If Python 3.11 is installed and you want the bundled cp311 wheel path, run <code>py -3.11 install.py</code>.</p>
80
+
<pstyle="margin-top:1rem;max-width:760px;">If Python 3.11 is installed and the bundled cp311 wheel exists, the installer will select Python 3.11 automatically.</p>
81
81
</div>
82
82
</section>
83
83
84
-
<sectionid="verified">
85
-
<divclass="container">
86
-
<divclass="section-label">Verified result</div>
87
-
<h2>Confirmed working on Windows Git Bash</h2>
88
-
<pstyle="max-width:820px;margin-bottom:1.5rem;">The current installer has been verified on Windows Git Bash with Python 3.11. It selected Python 3.11 automatically for the bundled cp311 wheel, created the virtual environment, installed QECTOR Decoder v3 from the compatible wheel, installed the dev and benchmark dependencies, and started the 832 item pytest suite.</p>
89
-
<divclass="proof-grid">
90
-
<divclass="card"><h3>Python selected</h3><p>Python 3.11 was selected because a cp311 wheel exists in the release payload.</p></div>
91
-
<divclass="card"><h3>Wheel installed</h3><p>The installer used the compatible qector_decoder_v3 0.4.0 cp311 Windows wheel.</p></div>
92
-
<divclass="card"><h3>Dependencies installed</h3><p>pytest, hypothesis, Stim, PyMatching, Sinter, LDPC, beliefmatching, SciPy, psutil, matplotlib, and tooling were installed into the virtual environment.</p></div>
93
-
<divclass="card"><h3>Test suite started</h3><p>pytest discovered 832 tests using Python 3.11 on Windows.</p></div>
94
-
</div>
95
-
</div>
96
-
</section>
97
-
98
-
<section>
84
+
<sectionid="fix">
99
85
<divclass="container">
100
-
<divclass="section-label">What it fixes</div>
101
-
<h2>Real installer coverage</h2>
86
+
<divclass="section-label">Latest fix</div>
87
+
<h2>Native extension source sync</h2>
88
+
<pstyle="max-width:840px;margin-bottom:1.5rem;">The installer now fixes the exact failure seen when examples or reproduction scripts force the repository <code>python/</code> directory onto <code>PYTHONPATH</code>. After the wheel is installed, the compiled native extension is copied into <code>python/qector_decoder_v3/</code>, so local source imports resolve correctly during pytest, examples, and script help checks.</p>
102
89
<divclass="proof-grid">
103
-
<divclass="card"><h3>Missing Rust</h3><p>Installs Rust with rustup and detects Cargo paths after setup.</p></div>
104
-
<divclass="card"><h3>Wrong Python</h3><p>Detects bundled wheel tags like cp311 and recreates the virtual environment with a compatible interpreter when available.</p></div>
105
-
<divclass="card"><h3>Thin checkout</h3><p>Searches the parent release folder and Downloads for the real source payload and repairs the clone.</p></div>
<divclass="card"><h3>Problem fixed</h3><p><code>ModuleNotFoundError: qector_decoder_v3.qector_decoder_v3</code> caused by local source shadowing the installed wheel.</p></div>
91
+
<divclass="card"><h3>Installer action</h3><p>Finds the installed native <code>.pyd</code> / <code>.so</code> extension and syncs it into the source package.</p></div>
92
+
<divclass="card"><h3>Verification</h3><p>Checks both installed import and <code>PYTHONPATH=python</code> local source import before running pytest.</p></div>
93
+
<divclass="card"><h3>Test coverage</h3><p>Targets the 832 item pytest suite through the virtual environment.</p></div>
<pstyle="max-width:780px;margin-bottom:1.5rem;">If no matching wheel is available and QECTOR must compile from source on Windows, install Visual Studio Build Tools with the C++ build tools workload. The MSVC Rust target needs Microsoft linker support.</p>
0 commit comments