Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

circlator Command Fails with ModuleNotFoundError: No module named 'pkg_resources' #190

Open
AymanMkhalifa opened this issue Jul 25, 2024 · 0 comments

Comments

@AymanMkhalifa
Copy link

I am trying to use circlator but encounter the following error when running the command:

circlator all --threads 4 --verbose canu_outdir/canu.contigs.fasta canu_outdir/canu.correctedReads.fasta.gz circlator_outdir --debug

Steps to Reproduce:

Create a new conda environment: conda create -n fresh_circlator python=3.12
Activate the environment: conda activate fresh_circlator
Install circlator: pip install circlator
Run the circlator command with the arguments provided.


Error Message:

Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.12/bin/circlator", line 57, in
exec('import circlator.tasks.' + task)
File "", line 1, in
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/circlator/init.py", line 1, in
from pkg_resources import get_distribution
ModuleNotFoundError: No module named 'pkg_resources'

Environment Details:

Operating System: macOS 14.1
Python Version: 3.12.4
Conda Version: 23.5.2
Circlator Version: 1.5.5

I have tried reinstalling setuptools and creating a fresh conda environment, but the issue persists. Any help would be appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant