NordicSemiconductor / pynrfjprog

Python wrapper around the nrfjprog dynamic link library (DLL)
Other
75 stars 29 forks source link

Issue installing pynrfjprog version 10.22.0 or 10.23.0. - Project name unknoown. #33

Closed weeTike closed 11 months ago

weeTike commented 1 year ago

When trying to install version 10.22.0 or 10.23.0 with pip, i get the error

WARNING: Generating metadata for package pynrfjprog produced metadata for project name unknown. Fix your #egg=pynrfjprog fragments.
Discarding https://files.pythonhosted.org/packages/70/84/361f495b74018c3736ffc9d805030544e9312e74546dc8f79cbc5339feb9/pynrfjprog-10.22.0.tar.gz#sha256=b3dad4d3d35e16ca482efca87e9f8dd3e757c78b48aa999595013eb38610f11f (from https://pypi.org/simple/pynrfjprog/) (requires-python:>=3.7):
    Requested unknown from https://files.pythonhosted.org/packages/70/84/361f495b74018c3736ffc9d805030544e9312e74546dc8f79cbc5339feb9/pynrfjprog-10.22.0.tar.gz#sha256=b3dad4d3d35e16ca482efca87e9f8dd3e757c78b48aa999595013eb38610f11f has inconsistent name:
        filename has 'pynrfjprog', but metadata has 'unknown'

pip v22.02 python v3.10.12 OS Ubuntu 22.04

Tiwalun commented 11 months ago

Please update your version of pip, and try again. With pip v23.3, this shouldn't happen.

balaji-nordic commented 11 months ago

Thanks @Tiwalun. I had the same issue and your suggestion solves it for me.

weeTike commented 11 months ago

Thanks, this solves it for me as well.