T008/10/15/16/18/20: AttributeError: module 'numpy' has no attribute 'typeDict' #294
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Fix
AttributeError: module 'numpy' has no attribute 'typeDict'
for T008/10/15/16/18/20.#299
Example: T008 fails for all OS and Python versions:
I checked if the
opencadd
package (mamba create -n oc opencadd
install) shows the same fail but it does not. So how doesteachopencadd
differ?Difference between (a)
teachopencadd
install (error) and (b)opencadd
install (no error), versions:opencadd
same - 1.0.1mdanalysis
same - 2.3.0numpy
same - (a) 1.24.0 and (b) 1.24.0h5py
not the same - (a) 2.10.0 and (b) 3.7.0 because oftensorflow
installation!Solution
tensorflow
pin and move it to the end of the env listnumpy
mention inteachopencadd
env (was needed at some point to fix conflicts withmdanalysis
but not needed anymore Fix env:numpy
version conflicts withmdanalysis
#150)tensorflow
) from CI (deal with these notebooks in follow-up PR)numpy
<1.24 and unpintensorflow
(see discussion here)Status