Pipx error
Hi community!
I tried to install gitfive on Debian ARM 64 using pipx.
However, the package seems to be not available through pipx:
pipx install gitfive
Note: Dependent package 'charset-normalizer' contains 1 apps
- normalizer
Note: Dependent package 'httpx' contains 1 apps
- httpx
Note: Dependent package 'imagehash' contains 1 apps
- find_similar_images.py
Note: Dependent package 'numpy' contains 2 apps
- f2py
- numpy-config
Note: Dependent package 'markdown-it-py' contains 1 apps
- markdown-it
Note: Dependent package 'pygments' contains 1 apps
- pygmentize
Note: Dependent package 'unidecode' contains 1 apps
- unidecode
No apps associated with package gitfive. Try again with '--include-deps' to include apps of dependent packages, which are listed above. If you are attempting to install a library,
pipx should not be used. Consider using pip or a similar tool instead."
Then, I tried with --include-deps. I got the logs below:
pipx install --include-deps gitfive
⚠️ Note: normalizer was already on your PATH at /usr/bin/normalizer
⚠️ Note: f2py was already on your PATH at /usr/bin/f2py
⚠️ Note: pygmentize was already on your PATH at /usr/bin/pygmentize
installed package gitfive 1.1.9, installed using Python 3.11.2
These apps are now globally available
- f2py
- find_similar_images.py
- httpx
- markdown-it
- normalizer
- numpy-config
- pygmentize
- unidecode
done! ✨ 🌟 ✨
I have lot of other packages installed through pipx and directly accessible from the user path (thx to pipx ensurepath). However, gitfive is not accessible and seems to not be a package.
Can you help me please ?
Hey, the package exists : https://pypi.org/project/gitfive/
same problem as Wh1t3Rabyt3.
The wheel package on PyPI is missing the entry_points.txt file
Clone the repository and run:
pip install build
python -m build
pipx install dist\gitfive-1.1.10-py3-none-any.whl
OR if you want to fix the pre-existent wheel package:
Go to PyPI -> Download Files -> Download the latest wheel package
Create a new file anywhere called entry_points.txt which contains:
[console_scripts]
gitfive=gitfive.gitfive:main
Open the .whl package inside something like WinRAR or 7-Zip
Navigate to gitfive-1.1.9.dist-info and place the .txt file inside ofi t
Run pipx install gitfive-1.1.9-py3-none-any.whl
This'll give you a gitfive.exe you can use globally 👍🏼
Option 1 — Rebuild wheel locally
Clone the GitFive repo:
- git clone https://github.com/mxrch/gitfive.git
- cd gitfive
Install build tools:
- python -m pip install --upgrade pip setuptools wheel build
Build a new wheel:
- python -m build
This creates a dist/ folder with a .whl file, e.g., gitfive-1.1.10-py3-none-any.whl.
Install the new wheel via pipx:
- pipx install dist\gitfive-1.1.10-py3-none-any.whl
Now pipx will see the entry_points and generate gitfive.exe.
gitfive login and other CLI commands will work globally.
Hey, the package exists : https://pypi.org/project/gitfive/
@mxrch, the problem is in the package. Please rebuild a new version.