-
Notifications
You must be signed in to change notification settings - Fork 15
numpy attribute error #48
Comments
Hi @ulloaa, That's a strange error. Is it picking up the correct version of the snakemake executable? If you do It might be worth pinning a specific version of numpy in the Sorry - that's all I can think of for now. |
To build off of the above, I received a very similar Attribute Error when I ran it; though it returned |
Update: I appear to still receive the same Attribute Error message even after pinning numpy 1.23.0 in the environment.yml file. I also then tried pinning numpy 1.24.0 but got the same results. |
There's something wrong with your python environment - have you successfully created conda environments before? It's a long shot, but you don't have a "numpy.py" file in your path? (https://bobbyhadz.com/blog/python-attributeerror-module-numpy-has-no-attribute-array). It might help to attach the output of the "env" command along with "which python" |
Hello, we continue to have the same error, with two independently created environments, one by @jlguidubaldi1 and the other one by myself. Can I ask which python version did your use in your tests? Thanks. |
I also faced the same problem, but I solved it by reinstalling numpy 2.3.1 version. |
Not only will there be problems with the |
Completely agree. We fixed our attribute error(s) by downgrading numpy in the main environment as well as in the other environments that were automatically created by the first snakemake run. In retrospect, this was an easy fix but we spent many days working on it because we were overlooking the environments automatically created by snakemake at runtime. A more permanent fix could be achieved by specifying the complete environment in the yml files. It would be great if the authors could do that directly in the repository. Thanks! |
Hello, I followed the steps to install a linux conda environment and run pore-c-snakemake. However, I get the following error when running the test data set:
The following are the versions of numpy and python that came with the environment:
Do you have any suggestions on how to solve the error above?
Thank you.
The text was updated successfully, but these errors were encountered: