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

Issue getting shortcut going #2

Open
polyglotdev opened this issue Mar 14, 2022 · 0 comments
Open

Issue getting shortcut going #2

polyglotdev opened this issue Mar 14, 2022 · 0 comments

Comments

@polyglotdev
Copy link

I am running ULanucher 5.14.3 and I installed the prerequisites listed. The issue that I am having is that:

The extension crashed because it could not import module validator_collection. 
Try installing this module manually: pip3 install validator_collection --user and then restart Ulauncher. 
If that doesn't help, report the issue on [Github](https://github.com/sergius02/ulauncher-shortit/issues/new).

Below I will show where I installed those prerequisites as well as where python lives.

What I think is wrong

Pyenv is maybe mucking up something and the packages that its trying to import are not being seen by the plugin.

I use pyenv which is on my $PATH which I also list below but the plugin appears to not see the modules as well as pip3 points to the shims path for pyenv /home/polyglotdev/.pyenv/shims/pip3

pyenv on $PATH

echo $PATH | rg pyenv
/home/polyglotdev/.rbenv/shims /home/polyglotdev/.rbenv/bin /usr/local/go/bin /home/polyglotdev/.fzf/bin /home/polyglotdev/.asdf/shims /opt/asdf-vm/bin /home/polyglotdev/.pyenv/plugins/pyenv-virtualenv/shims /home/polyglotdev/.pyenv/shims /home/polyglotdev/.pyenv/bin /home/polyglotdev/.cargo/bin /home/polyglotdev/.local/bin /usr/local/sbin /usr/local/bin /usr/bin /usr/lib/jvm/default/bin /usr/bin/site_perl /usr/bin/vendor_perl /usr/bin/core_perl /var/lib/snapd/snap/bin /home/polyglotdev/go/bin

Packages installed

❯ pip list | rg validator
validator            0.7.1
validator-collection 1.5.0
❯ pip list | rg requests
requests             2.27.1

Proof python is on $PATH

❯ which python
/home/polyglotdev/.pyenv/shims/python
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

1 participant