-
Notifications
You must be signed in to change notification settings - Fork 177
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 with installing flux on manjaro #157
Comments
Hello. This is a strange looking problem: a type error deep inside importlib. I tried doing the install myself with Python 3.10.0 (I see from your stack trace that you're using some 3.10.X Python) and I didn't have any trouble. |
I am facing the same issue 😥 |
I get something similar: |
If you are on unix, just use redshift directly. That's what I am doing now 🤷♂️. |
I have the same problem. I first installed flux, opened it, messed something up with configuration, and decided to reinstall. This is when the error happened. |
I believe this is a duplicate #178 . |
Hey! I'm using manjaro xfce and am trying to install flux since I really enjoyed it when I had Windows. Now I'm a new Linux User and not that experienced in fixing problems myself, so that's why it may be a problem, which can be solved easily:
When I'm trying to do a manual installation, I've put in the command from the README: "sudo ./setup.py install --record installed.txt" and what comes out is the following:
Traceback (most recent call last):
File "/tmp/fluxgui/./setup.py", line 84, in
setup(name = "f.lux indicator applet",
File "/usr/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 147, in setup
_setup_distribution = dist = klass(attrs)
File "/usr/lib/python3.10/site-packages/setuptools/dist.py", line 474, in init
for ep in metadata.entry_points(group='distutils.setup_keywords'):
File "/usr/lib/python3.10/importlib/metadata/init.py", line 1009, in entry_points
return SelectableGroups.load(eps).select(**params)
File "/usr/lib/python3.10/importlib/metadata/init.py", line 459, in load
ordered = sorted(eps, key=by_group)
File "/usr/lib/python3.10/importlib/metadata/init.py", line 1006, in
eps = itertools.chain.from_iterable(
File "/usr/lib/python3.10/importlib/metadata/_itertools.py", line 16, in unique_everseen
k = key(element)
File "/usr/lib/python3.10/importlib/metadata/init.py", line 941, in _normalized_name
return self._name_from_stem(stem) or super().normalized_name
File "/usr/lib/python3.10/importlib/metadata/init.py", line 622, in normalized_name
return Prepared.normalize(self.name)
File "/usr/lib/python3.10/importlib/metadata/init.py", line 871, in normalize
return re.sub(r"[-.]+", "-", name).lower().replace('-', '')
File "/usr/lib/python3.10/re.py", line 209, in sub
return _compile(pattern, flags).sub(repl, string, count)
TypeError: expected string or bytes-like object
I would greatly appreciate it, if it could be solved. But since I'm using manjaro it's probably not the last issue I will be having, so if a solution brought me further in the installation process, I would be glad, if you don't just close this thread, but rather let me experience flux a few days for if a new problem comes up.
Thanks alot in advance!
Kind regards,
Dankra30
The text was updated successfully, but these errors were encountered: