wdecoster / NanoPlot

Plotting scripts for long read sequencing data
http://nanoplot.bioinf.be
MIT License
401 stars 48 forks source link

Import Error #337

Closed tahir58 closed 10 months ago

tahir58 commented 10 months ago

I have been using NanoPlot successfully. But, suddenly, it is not working and generating the following error: " ImportError: cannot import name 'SnapGeneIO' from partially initialized module 'Bio.SeqIO' (most likely due to a circular import) (/home/osf/.local/lib/python3.10/site-packages/Bio/SeqIO/init.py) "

I will appreciate the advice/help.

wdecoster commented 10 months ago

Could you try reinstalling the tool in a fresh (conda) environment?

tahir58 commented 10 months ago

I created a new conda environment and installed with pip. It worked. Thanks for help. How can get rid of the installation in main conda environment?

wdecoster commented 10 months ago

Probably with conda uninstall nanoplot

tahir58 commented 10 months ago

I appreciate all the help!

Regards, Tahir

[A red line on a black background Description automatically generated with low confidence] M. Tahir, Ph.D. Director of Research & Regulatory Affairs Okanagan Specialty Fruits (OSF) 410 Downey Road, Lab #7/8/9, Saskatoon, SK, S7N 4N1 Canada O: 639.398.8169 C: 306.715.6245 E: @. www.osfruits.comhttp://www.osfruits.com/ www.arcticapples.comhttp://www.arcticapples.com/ @.

From: Wouter De Coster @.> Sent: Wednesday, September 6, 2023 5:14 AM To: wdecoster/NanoPlot @.> Cc: Tahir M. @.>; Author @.> Subject: [External] Re: [wdecoster/NanoPlot] Import Error (Issue #337)

Closed #337https://github.com/wdecoster/NanoPlot/issues/337 as completed.

— Reply to this email directly, view it on GitHubhttps://github.com/wdecoster/NanoPlot/issues/337#event-10294540982, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARDJI6KWYR64WZRIEUU2WLDXZBLHJANCNFSM6AAAAAA4DP7MOA. You are receiving this because you authored the thread.Message ID: @.**@.>>

CONFIDENTIAL TRANSMISSION - To the extent this electronic communication or any of its attachments contain information that is not in the public domain, such information is considered by Okanagan Specialty Fruits, Inc. to be confidential and proprietary. This communication is expected to be read and/or used only by the individual(s) for whom it is intended. If you have received this electronic communication in error, please reply to the sender advising of the error in transmission and delete the original message and any accompanying documents from your system immediately, without copying, reviewing or otherwise using them for any purpose. Thank you for your cooperation.