MiraldiLab / maxATAC

Transcription Factor Binding Prediction from ATAC-seq and scATAC-seq with Deep Neural Networks
Apache License 2.0
25 stars 8 forks source link

import error _OrderedEnqueuer_ tensorflow.keras.utils #129

Closed martinezvbs closed 1 week ago

martinezvbs commented 4 months ago

Hi,

While I was installing maxATAC with Conda

conda create -n maxatac -c bioconda python=3.9 samtools wget bedtools ucsc-bedgraphtobigwig pigz pip install maxatac

Test installation

maxatac -h

I noticed the error "import error OrderedEnqueuer tensorflow.keras.utils" ...

In case someone sees the same error, this can be solved by

!pip install tensorflow-gpu==2.8.0

Taken from issue/61468

Greetings

simontimmins commented 4 months ago

I have also had a similar problem after trying to install Maxatac with conda, however after running !pip install tensorflow-gpu==2.8.0, which appeared to be successful, I still got the following error after calling maxatac -help: ImportError: libcrypto.so.3: cannot open shared object file: No such file or directory Thanks for your help!

ANRudrapatna commented 4 months ago

Hi! Thanks for reaching out! Do you have openSSL installed in your conda environment? If so, what version do you have?

Akshata

simontimmins commented 4 months ago

Thanks for getting back to me! I have OpenSSL version 1.1.1s installed. Simon

ANRudrapatna commented 4 months ago

I have seen this error when using older versions of OpenSSL - try upgrading your version of OpenSSL in the conda environment to version 3.3.0! Hope this helps! Please let us know if you continue to have issues or have any other questions!

Akshata

simontimmins commented 4 months ago

Hi again, Thanks for the suggestion- I found I was getting recurrent errors across a few processes as in this post https://stackoverflow.com/a/57549064, so ran

$ export OPENBLAS_NUM_THREADS=2 $ export GOTO_NUM_THREADS=2 $ export OMP_NUM_THREADS=2

and also put it in my bashrc. I also installed pysam again, this time using conda not pip. This seems to have resolved the issue. Best Simon


From: Akshata N. Rudrapatna @.> Sent: 13 May 2024 18:32 To: MiraldiLab/maxATAC @.> Cc: Simon Timmins @.>; Comment @.> Subject: Re: [MiraldiLab/maxATAC] import error OrderedEnqueuer tensorflow.keras.utils (Issue #129)

This email was sent to you by someone outside the University. You should only click on links or attachments if you are certain that the email is genuine and the content is safe.

I have seen this error when using older versions of OpenSSL - try upgrading your version of OpenSSL in the conda environment to version 3.3.0! Hope this helps! Please let us know if you continue to have issues or have any other questions!

Akshata

— Reply to this email directly, view it on GitHubhttps://github.com/MiraldiLab/maxATAC/issues/129#issuecomment-2108359909, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BC3VTQ56YSNSH2ZDUF2QPVTZCD2LJAVCNFSM6AAAAABGOHKN62VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBYGM2TSOJQHE. You are receiving this because you commented.Message ID: @.***>

The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. Is e buidheann carthannais a th’ ann an Oilthigh Dhùn Èideann, clàraichte an Alba, àireamh clàraidh SC005336.

ANRudrapatna commented 4 months ago

Thank you for letting us know - we really appreciate it! Feel free to reach out any time if you have any questions!

Akshata Rudrapatna