-
Notifications
You must be signed in to change notification settings - Fork 29
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
oauth.py is no longer python 2 compatible #349
Comments
pylabrad will still work with python2.7 after the referenced change, but there are some additional dependencies that must be installed. All the dependencies are listed in |
We pip install so just doing pip install pylabrad is not sufficient I will try pip install futures |
Another thing to check for is if you have some other |
It's great to see that someone is having the same trouble. :) I just started to try upgrading to the latest version of pylabrad and everything else from a version that is 6-7 years old. Using Python 2.7 and running into the same trouble. The latest Data Vault 3.0.1 refuses to start with http.server error. My solution is commenting out the 3 lines in the oauth file that are related to http.server and replacing them with BaseHTTPServer. Then the data vault can start now (although I am having much bigger issues trying to jump from old Delphi era to end of 2017). I will try the pip requirement.txt upgrade and report back. --Update: I just checked and confirmed that I've met all the requirement mentioned in requirement.txt but http.server still reports an error. I still have to hack the file and import BaseHTTPServer to run Data Vault. |
at some point the oauth file switched its import from the python 2 package BaseHTTPServer to they python 3 package http.server which seems to affect servers such as the gpib server for python 2 users. We have since downgraded to an old version of pylabrad (0.95.3)
The text was updated successfully, but these errors were encountered: