Optimus-manager not working after update to Manajaro 18.1.3

Hi, Can anyone help? optimus-manager is not working after updated to Manjaro 18.1.3.

āžœ  ~ optimus-manager --switch nvidia
Traceback (most recent call last):
  File "/usr/bin/optimus-manager", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3250, in <module>
    @_call_aside
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3234, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3263, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 583, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 900, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 786, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'optimus-manager==1.2.2' distribution was not found and is required by the application

I have the same problem.

Downgrading optimus manager did work as a workaround:

sudo pacman -U /var/cache/pacman/pkg/optimus-manager-1.2.2-1-any.pkg.tar.xz
1 Like
Traceback (most recent call last):
  File "/usr/bin/optimus-manager", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3250, in <module>
    @_call_aside
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3234, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3263, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 583, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 900, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 786, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'optimus-manager==1.2.2' distribution was not found and is required by the application

i had the same problem. the downgrade could fix it. optimus-manager_1.2.2 is not working.

1 Like

Unstable update to Python 3.8 requires a lot of rebuilds

I assume an unstable branch package got uploaded also to stable branch. We will fix that.

2 Likes

Thanks for your fast troubleshooting.I installed the new version 1.2.2.-2.1 after updating the mirrors and it works now.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by