allisonkarlitskaya / cimg

1 stars 0 forks source link

ModuleNotFoundError: No module named 'argcomplete' #1

Closed garrett closed 4 years ago

garrett commented 4 years ago

I ran install.sh:

./install.sh 
++ realpath -m ./install.sh/..
+ srcdir=/var/home/garrett/Source/cimg
+ mkdir -p /home/garrett/.local/bin
+ ln -Tsf /var/home/garrett/Source/cimg/cimg /home/garrett/.local/bin/cimg
+ mkdir -p /home/garrett/.local/share/bash-completion/completions
+ ln -Tsf /var/home/garrett/Source/cimg/cimg.bash-completion /home/garrett/.local/share/bash-completion/completions/cimg

However, I guess I don't have an argcomplete dependency.

$ cimg
Traceback (most recent call last):
  File "/home/garrett/.local/bin/cimg", line 4, in <module>
    import argcomplete
ModuleNotFoundError: No module named 'argcomplete'
garrett commented 4 years ago

I'm assuming, on Fedora, installing the python-3-argcomplete package works.

dnf install python3-argcomplete

I get another error, but it gets past the above one, so I guess that solves that problem.

Perhaps the docs should mention the dependency in the installation section?

allisonkarlitskaya commented 4 years ago

hi @garrett. Thanks for reporting this. It should be fixed with the latest commit.