While I was still learning how to use ARTIQ over the past few days, I noticed that there were a lot of version incompatibilities between artiq
and other packages that I want to install (e.g. artiq_comtools
, pyvisa
), so I did a fresh install of artiq
and now I wish to reflash my Kasli again (the warning is a little irritating). I installed the newest version of my variant, but I have some problems with the reflashing:
(artiq) C:\Users\Cornell Lab>artiq_flash -V cu3
Design: top;UserID=FFFFFFFF;COMPRESS=TRUE;Version=2020.1
Part name: 7a100tfgg484
Date: 2021/03/22
Time: 06:08:36
Bitstream payload length: 0x2bfa80
Traceback (most recent call last):
File "C:\Users\Cornell Lab\.conda\envs\artiq\Scripts\artiq_flash-script.py", line 9, in <module>
sys.exit(main())
File "C:\Users\Cornell Lab\.conda\envs\artiq\lib\site-packages\artiq\frontend\artiq_flash.py", line 431, in main
programmer.write_binary(*config["gateware"], gateware_bin)
File "C:\Users\Cornell Lab\.conda\envs\artiq\lib\site-packages\artiq\frontend\artiq_flash.py", line 168, in write_binary
self.load_proxy()
File "C:\Users\Cornell Lab\.conda\envs\artiq\lib\site-packages\artiq\frontend\artiq_flash.py", line 229, in load_proxy
self.load(find_proxy_bitfile(self._proxy), pld=0)
File "C:\Users\Cornell Lab\.conda\envs\artiq\lib\site-packages\artiq\frontend\artiq_flash.py", line 102, in find_proxy_bitfile
for p in [proxy_path(), os.path.expanduser("~/.migen"),
File "C:\Users\Cornell Lab\.conda\envs\artiq\lib\site-packages\artiq\frontend\artiq_flash.py", line 96, in proxy_path
os.path.dirname(os.path.realpath(shutil.which("openocd"))),
File "C:\Users\Cornell Lab\.conda\envs\artiq\lib\ntpath.py", line 526, in abspath
return normpath(_getfullpathname(path))
TypeError: _getfullpathname: path should be string, bytes or os.PathLike, not NoneType
Am I missing something silly here?