Skip to content
This repository was archived by the owner on Nov 4, 2021. It is now read-only.

pkg_ressources not found for non root user #25

Open
Sommcrane opened this issue Oct 28, 2021 · 0 comments
Open

pkg_ressources not found for non root user #25

Sommcrane opened this issue Oct 28, 2021 · 0 comments

Comments

@Sommcrane
Copy link

I installed pyxtrlock as root and if I try to run it as a non root user, I get the following error :

user@myserver:~$ pyxtrlock
Traceback (most recent call last):
  File "/usr/local/bin/pyxtrlock", line 4, in <module>
    __import__('pkg_resources').run_script('pyxtrlock==0.4', 'pyxtrlock')
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3095, in <module>
    @_call_aside
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3079, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3108, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 570, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 888, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 774, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'pyxtrlock==0.4' distribution was not found and is required by the application
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant