clade / PyDAQmx

Interface to National Instrument NIDAQmx driver
Other
133 stars 55 forks source link

Error in PyDAQmx setup command: use_2to3 is invalid #64

Open TimonEichhorn opened 3 years ago

TimonEichhorn commented 3 years ago

Hi there, I have trouble in installing PyDAQmx with Python 3. When manually downloading the package and running python setup.py build from the terminal inside the package folder, I get the error that the command "use_2to3" is invalid.

Does anyone know how to fix this?

clade commented 3 years ago

Python 3 don't support the 2to3 in the setup.py anymore. I update the master branch and release the version 1.4.5 with files that should now work directly with Python 3.

Could you please try it and confirm it works. You should be able to install it directly from githib with a command like : pip install git+https://github.com/clade/PyDAQmx.git

ptbrown1729 commented 3 years ago

I had the same issue, and this resolved the problem for me