Skip to content

Installation issues #3909

@csbrasnett

Description

@csbrasnett

Describe the bug
Following the user install instructions on INSTALL.md does not result in successful installation. When the program is launched, an import error is thrown.

To Reproduce
Install SasView using one of the two command line user install instructions:

uv tool install sasview # tool installation
uv pip install sasview # inside a new virtual environment

Then launch with sasview.

Traceback gives:

  File "/pathstart/.venv/lib/python3.12/site-packages/sas/qtgui/MainWindow/PackageGatherer.py", line 5, in <module>
    import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'

This I do not understand because this dependency was removed in fa2d844, but appears to still persist from the pypi deployment.

Expected behavior
Program launches without error

SasView version (please complete the following information):

  • Version: 6.1.3

Operating system (please complete the following information):

  • OS: MacOS 26.2, RHEL 8.10

Installation method (please complete the following information):

  • Installed: as described above

Additional context
Python 3.12 used across both OS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions