sb10q I went through the NDSP section of the ARTIQ manual and tried the hello
example on my system. Everything worked okay for me until the part of integration with the ARTIQ experiment. I prepared the driver.py
, aqctl_hello.py
, aqcli_hello.py
, as well as an empty __init__.py
file in a directory of hello
in my artiq-master
work directory. I also prepared the device_db.py
file as this
device_db = {
"hello": {
"type": "controller",
"host": "::1",
"port": 3249,
"command": "python hello/aqctl_hello.py -p {port}"
},
}
To test this, I started the artiq_master
in one terminal and started the artiq_ctlmgr
in a separate terminal (both terminals with the Nix environment enabled). However, immediately after I issued the artiq_ctlmgr
, I got the following message indicating that no module of sipyco
:
INFO:controller(hello):print:Traceback (most recent call last):
INFO:controller(hello):print: File "/home/fts/artiq-master/hello/aqctl_hello.py", line 4, in <module>
INFO:controller(hello):print: from sipyco.common_args import simple_network_args
INFO:controller(hello):print:ModuleNotFoundError: No module named 'sipyco'
WARNING:ctlmgr(fts-desktop):artiq_comtools.ctlmgr:Controller hello exited
WARNING:ctlmgr(fts-desktop):artiq_comtools.ctlmgr:Restarting in 5.0 seconds
(In the aqctl_hello.py
I imported the sipyco
module...)
I thought that sipyco
comes with the ARTIQ installation and we don't need to install it separately. Indeed, if I enter the Nix environment and start python, I can import sipyco
no problem. So, my question is why sipyco
is not compatible with artiq_ctlmgr
and how to fix it??
I tried with ARTIQ-7 and ARTIQ-8 software on my computer and they have same issue. Thanks.