Skip to content

Messed up conda envs in build on Windows #6

Open
@chrisjbillington

Description

@chrisjbillington

The windows build fails with:

Traceback (most recent call last):
  File "make_packages.py", line 3, in <module>
    import toml
ModuleNotFoundError: No module named 'toml'

Despite that the workflow has:

conda install -c labscript-suite setuptools-conda && ^
python make_packages.py ${{ runner.temp }}

where setuptools-conda depends on toml.

The log output shows conda installing toml, however the job I'm looking at is supposed to be for Python 3.6, whereas some of the packages being installed are clearly 3.9 builds. So something is wrong about the conda environment setup. Like, the conda command is installing packages to one environment, but then the python command is a different environment (or different Python interpreter altogether).

Grumble grumble

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