Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing dependancies when installing with Conda #662

Open
alexanderwelbourne opened this issue Dec 6, 2024 · 2 comments
Open

Missing dependancies when installing with Conda #662

alexanderwelbourne opened this issue Dec 6, 2024 · 2 comments

Comments

@alexanderwelbourne
Copy link

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
@zhindes
Copy link
Collaborator

zhindes commented Dec 10, 2024

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.

@alexanderwelbourne
Copy link
Author

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants