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

grip Command Fails with ModuleNotFoundError: No module named 'path_and_address' #394

Open
ashish-kus opened this issue Oct 14, 2024 · 1 comment

Comments

@ashish-kus
Copy link

I installed grip using yay -S python-grip, but when trying to use the grip command, I encountered the following error:

ModuleNotFoundError: No module named path_and_address

Steps to Reproduce:
1. Install grip using yay -S python-grip.
2. Run the grip command.

Error Log

Traceback (most recent call last): File "/usr/bin/grip", line 33, in <module> sys.exit(load_entry_point('grip==4.6.1', 'console_scripts', 'grip')()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/bin/grip", line 25, in importlib_load_entry_point return next(matches).load() ^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 205, in load module = import_module(match.group('module')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 1387, in _gcd_import File "<frozen importlib._bootstrap>", line 1360, in _find_and_load File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 935, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 995, in exec_module File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed File "/usr/lib/python3.12/site-packages/grip/__init__.py", line 23, in <module> from .command import main File "/usr/lib/python3.12/site-packages/grip/command.py", line 52, in <module> from path_and_address import resolve, split_address ModuleNotFoundError: No module named 'path_and_address'

@chrishrb
Copy link

Hi, I think that grip is no longer maintained, so I created my own version of it in go - without the need of the github api. Check it out: https://github.com/chrishrb/go-grip. Feel free to raise issues or feature requests!

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

2 participants