Issues installing labscript on a new machine

50 views
Skip to first unread message

Andre Roths

unread,
Jul 11, 2022, 1:08:27 PM7/11/22
to the labscript suite
Hi,
I am trying to install labscript on a windows 10 machine, and I am getting the error Traceback (most recent call last):
  File "C:\Users\Rubidium\anaconda3\envs\py38\Scripts\setuptools-conda-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\Rubidium\anaconda3\envs\py38\lib\site-packages\setuptools_conda\__main__.py", line 434, in main
    project_name = get_project_name(proj)
  File "C:\Users\Rubidium\anaconda3\envs\py38\lib\site-packages\setuptools_conda\__main__.py", line 220, in get_project_name
    return get_output([sys.executable, *setup_py(proj), '--name'], cwd=str(proj))
  File "C:\Users\Rubidium\anaconda3\envs\py38\lib\site-packages\setuptools_conda\setuptools_conda.py", line 69, in setup_py
    raise RuntimeError(' '.join(msg.split()))
RuntimeError: runmanager does not look like a python project directory: contains no setup.py, setup.cfg, or pyproject.toml

This error comes around when running the command:
 setuptools-conda install-requirements ^ labscript runmanager blacs lyse runviewer labscript-devices labscript-utils
This is a part of the developer install of labscript using anaconda cloud. Please let me know if you have a solution to this problem. I have tried installing both using the anacona powershell prompt and the normal anaconda prompt.

Thanks,
Andre Roths

dihm....@gmail.com

unread,
Jul 11, 2022, 4:04:32 PM7/11/22
to the labscript suite
Andre,

Sorry to hear about your continued troubled getting things up and running. Based on the error you are seeing, I'd suspect that setuptools-conda is finding a runmanager folder that doesn't actually have the runmanager package source in it. If I remember correctly, that command needs to be run from a parent directory that contains folders with the source code (ie git repos) for all the listed components. If you don't have that exact folder structure, I'd expect an error like this (ie say you nested your folders with an extra level). In any case, you should confirm that the directory you are running the command from has a runmanager folder in it and that folder contains a setup.py, setup.cfg, and pyproject.toml.

-David

Reply all
Reply to author
Forward
0 new messages