Skip to content

Inconsistent behavior with conda/pip #1000

@adusamr

Description

@adusamr

Question

I ran below commands in powershell and the import texterrors crashed only with uv:

uv venv --python 3.12
uv pip install PyQt6==6.9.1 texterrors==0.5.1
uv run python -X faulthandler -c 'import texterrors; import PyQt6; print("success")' # success
uv run python -X faulthandler -c 'import PyQt6; import texterrors; print("success")' # Windows fatal exception: access violation
conda create -n conda_test python=3.12
conda activate conda_test
pip install PyQt6==6.9.1 texterrors==0.5.1
python -X faulthandler -c 'import texterrors; import PyQt6; print("success")' # success
python -X faulthandler -c 'import PyQt6; import texterrors; print("success")' # success

there was no error also with pip only.

For this specific issue, just sticking with the import texterrors; import PyQt6 order or updating both to the newest versions resolve the issue.

I'm reporting this for showing the possible inconsistency with conda/pip.
If there is any way to avoid this kind of issue, I'd appreciate it.

Platform

Windows 11 24H2

Version

uv 0.10.2 (a788db7e5 2026-02-10)

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionAsking for clarification or support

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions