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

importlib.metadata.PackageNotFoundError: No package metadata was found for diagnostic-primers #59

Open
davidjstudholme opened this issue Nov 4, 2023 · 0 comments

Comments

@davidjstudholme
Copy link

I did git clone https://github.com/widdowquinn/find_differential_primers

Here is the result of git log | head:

commit 54e4fb3d63d2610559d93249a5e389dad1caed90
Merge: 3e3863d cb830b4
Author: Leighton Pritchard <[email protected]>
Date:   Fri Dec 18 14:20:49 2020 +0000

    Merge pull request #56 from nick-youngblut/diagnostic_primers
    
    added ArgumentDefaultsHelpFormatter to all parsers; post-hoc changes to keep to project style (PEP8) by LP.

commit cb830b4d83263a414440c727670cf32247959be2

I did conda install --file requirements.txt -y and conda install --file requirements-thirdparty-primer3_237.txt -y with no problems. Then I did python3 setup.py install --prefix ~.

This installed into my ~/bin/

ls ~/bin

delta_filter_wrapper.py  f2py  f2py3  f2py3.10  pdp  pdp.py  pdp_mafft_wrapper.py  tqdm

All good so far. But when I try to execute ~/bin/pdp I get this:

~/bin/pdp --help
Traceback (most recent call last):
  File "/data/djs217/bin/pdp", line 33, in <module>
    sys.exit(load_entry_point('diagnostic-primers==0.2.0.dev0', 'console_scripts', 'pdp')())
  File "/data/djs217/bin/pdp", line 22, in importlib_load_entry_point
    for entry_point in distribution(dist_name).entry_points
  File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 969, in distribution
    return Distribution.from_name(distribution_name)
  File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 548, in from_name
    raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: No package metadata was found for diagnostic-primers

Any ideas what's gone wrong? I could not find installation instructions for this version of pdp/find_differential_primers, only for the stable version.

@davidjstudholme davidjstudholme changed the title pdp installation problem Minor problem with documentation for installation of pdp Nov 5, 2023
@davidjstudholme davidjstudholme changed the title Minor problem with documentation for installation of pdp importlib.metadata.PackageNotFoundError: No package metadata was found for diagnostic-primers Nov 5, 2023
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