You are not logged in.
Pages: 1
after the upgrade I have a problem installing python modules, either by using easy_install or by python2 setup.py install with python code.
Traceback (most recent call last):
File "setup.py", line 26, in <module>
from setuptools import setup
File "/usr/lib/python2.7/site-packages/setuptools/__init__.py", line 11, in <module>
from setuptools.extern.six.moves import filterfalse, map
File "/usr/lib/python2.7/site-packages/setuptools/extern/__init__.py", line 1, in <module>
from pkg_resources.extern import VendorImporter
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2900, in <module>
@_call_aside
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2886, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2913, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 633, in _build_master
ws = cls()
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 626, in __init__
self.add_entry(entry)
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 682, in add_entry
for dist in find_distributions(entry, True):
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1956, in find_on_path
path_item, entry, metadata, precedence=DEVELOP_DIST
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2343, in from_location
py_version=py_version, platform=platform, **kw
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2660, in _reload_version
md_version = _version_from_file(self._get_metadata(self.PKG_INFO))
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2308, in _version_from_file
line = next(iter(version_lines), '')
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2476, in _get_metadata
for line in self.get_metadata_lines(name):
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1847, in get_metadata_lines
return yield_lines(self.get_metadata(name))
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1842, in get_metadata
metadata = f.read()
File "/usr/lib/python2.7/codecs.py", line 314, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xf6 in position 203: invalid start byteany help would be apprecieated
regards
y
Offline
this error also happens when I try to run python based applications,
it made my system completely unusable ![]()
UnicodeDecodeError: 'utf8' codec can't decode byte 0xf6 in position 203: invalid start byteOffline
Mod note: Not a System Administration topic, moving to NC.
What was in "the upgrade"? What is your locale set to?
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
When did you upgrade? How did you upgrade? Post the full command here. Also post your pacman.log file.
Moving to NC.
Edit: too slow.
Offline
cat /etc/locale
LANG=pl_PL.UTF-8also python3 says it uses utf-8 and python2 ascii - is it normal?
/usr/bin/python -c 'import sys; print(sys.getdefaultencoding())'
utf-8
/usr/bin/python2 -c 'import sys; print(sys.getdefaultencoding())'
asciiI think the problem might be related to: https://bbs.archlinux.org/viewtopic.php?id=210515
but according to info in this thread my locale is set ok.
I'm not sure when exactly the problem occured, I made two big updates during last couple of weeks, and it is probably something that was udgraded then. i used sudo pacman -Syu
the pacman log from last month is here: http://pastebin.com/aSxnRd4M
Last edited by dryemu (2016-03-31 12:14:21)
Offline
i still haven't managed to deal with this problem
and I'm considering reinstalling arch (after almost 3 years of using without major problems).
i would be grateful if you could give me any clues how could I resolve this issue.
Offline
Pages: 1