Skip to content

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

@davidjstudholme

Description

@davidjstudholme

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 <leightonpritchard@mac.com>
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions