DangerOnTheRanger / xonsh-apt-tabcomplete

APT tabcomplete for the Xonsh shell
BSD 2-Clause "Simplified" License
9 stars 3 forks source link

Does not install. #4

Open Khalian opened 7 years ago

Khalian commented 7 years ago

$ xonsh The following xontribs are enabled but not installed: apt_tabcomplete To install them run pip install xonsh-apt-tabcomplete

Which is weird because I just installed it using pip.

The directory '/Users/arunavs/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. The directory '/Users/arunavs/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.

DangerOnTheRanger commented 7 years ago

First off, sorry for the late response. I'll try to do a better job of supporting my own software!

Your directory structure seems to indicate you're running xonsh off of a Mac machine - is this correct? Full disclosure, I've never tried xonsh-apt-tabcomplete on a Mac, so there could be a lot of issues. Getting back to your error message, that seems to indicate some issue during the installation process, not the runtime process. Have you had any similar errors installing packages from pip?

You could try running pip with sudo as per the error message since it seems there are permission issues, but as long as you're not trying to install to the global Python package folder, this shouldn't be necessary: https://pip.pypa.io/en/stable/user_guide/#user-installs