nidaqmx-python
nidaqmx-python copied to clipboard
Missing dependancies when installing with Conda
When installing with Conda and using NI-DAQmx 2024 Q4, a number of dependancies are not installed. Minimum this causes issues when setting up devices. Missing at least, hightime, click, requests and tzlocal.
E.g. nidaqmx.system.device.Device(port) results in import errors.
yml file that causes issues:
channels:
- conda-forge
- defaults
dependencies:
- python=3.12
- nidaqmx-python=1.0.2
- pyvisa=1.14
- scipy=1.14
- matplotlib=3.9
- h5py=3.12
yml file that fixes missing imports:
channels:
- conda-forge
- defaults
dependencies:
- python=3.12
- nidaqmx-python=1.0.2
- pyvisa=1.14
- scipy=1.14
- matplotlib=3.9
- h5py=3.12
- python-decouple=3.8
-pip:
- hightime==0.2.2
- click==8.0.0
- requests==2.25.0
- tzlocal==5.0
Hmm, I'm not familiar with Conda, but those dependencies you added are in our 1.0.2 pyproject.toml and also in the lock file.
Yeah, I spotted they were. I'm not sure why they are not getting picked up when doing the install via conda, it ought to find everything!