PyDAQmx icon indicating copy to clipboard operation
PyDAQmx copied to clipboard

Error in PyDAQmx setup command: use_2to3 is invalid

Open TimonEichhorn opened this issue 4 years ago • 2 comments

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?

TimonEichhorn avatar Oct 15 '21 07:10 TimonEichhorn

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

clade avatar Oct 18 '21 16:10 clade

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

ptbrown1729 avatar Oct 26 '21 18:10 ptbrown1729