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

Error in PyDAQmx setup command: use_2to3 is invalid #64

Open
TimonEichhorn opened this issue Oct 15, 2021 · 2 comments
Open

Error in PyDAQmx setup command: use_2to3 is invalid #64

TimonEichhorn opened this issue Oct 15, 2021 · 2 comments

Comments

@TimonEichhorn
Copy link

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
Copy link
Owner

clade commented Oct 18, 2021

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
Copy link

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

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

3 participants