maxATAC icon indicating copy to clipboard operation
maxATAC copied to clipboard

import error _OrderedEnqueuer_ tensorflow.keras.utils

Open martinezvbs opened this issue 1 year ago • 6 comments

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

martinezvbs avatar Apr 19 '24 00:04 martinezvbs

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!

simontimmins avatar May 10 '24 13:05 simontimmins

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

Akshata

ANRudrapatna avatar May 10 '24 16:05 ANRudrapatna

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

simontimmins avatar May 13 '24 08:05 simontimmins

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

ANRudrapatna avatar May 13 '24 17:05 ANRudrapatna

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.

simontimmins avatar May 14 '24 10:05 simontimmins

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

Akshata Rudrapatna

ANRudrapatna avatar May 14 '24 16:05 ANRudrapatna