-
Notifications
You must be signed in to change notification settings - Fork 21
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
AttributeError: 'module' object has no attribute 'perf_counter' #103
Comments
It seems |
@AlexKurek what python version do you use? |
@revoltek For Prefactor I use 2.7.17 |
The master of losoto is only python 3, I think you need to go back to an older release (1.0) |
I was able to run entire Prefactor using second to last commit :) |
Fully supporting the move of stuff to Python 3, but I think it is worth noting that this will make losoto unusable in and break prefactor currently, as the genericpipeline does not run under Python 3. This should be fixed once the CWL version is done, but I don't know the status of that. I think a lot has changed and been added since 1.0 and 2.0 that is currently being used right?
Could this commit perhaps be made a 2.1 or some other intermittent release in that case? That would give a nice reference point from where on it no longer works for Python 2 / prefactor. |
Hum, there are a large number of python3 specific parts in losoto since release 2.0, I think not all operations work in python2 nor I can be sure of the results. Actually, I really though python2 was not working at all with the latest master. The easiest is to add a 'try' to just account for this |
Ah I didn't realize that. I guess we got extremely lucky the past years then haha. |
Using current master when I try to run Prefactor Im getting at calibrator step:
Full log is attached:
pipeline-Pre-Facet-Calibrator-2020-07-27T15%3A52%3A27.zip
The text was updated successfully, but these errors were encountered: