You are not logged in.

#1 2020-01-30 22:02:54

predmijat
Member
Registered: 2014-09-30
Posts: 39

[SOLVED] Python/pip issue: "ImportError: No module named tags"

Hi,

I'm having issue upgrading certain package (from AUR) - 'urlgrabber'.
Output:

Traceback (most recent call last):
  File "setup.py", line 56, in <module>
    ('lib', ['scripts/urlgrabber-ext-down']),
  File "/usr/lib/python2.7/site-packages/setuptools/__init__.py", line 145, in setup
    return distutils.core.setup(**attrs)
  File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
    dist.run_commands()
  File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.7/site-packages/setuptools/command/install.py", line 61, in run
    return orig.install.run(self)
  File "/usr/lib/python2.7/distutils/command/install.py", line 575, in run
    self.run_command(cmd_name)
  File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.7/site-packages/setuptools/command/install_scripts.py", line 17, in run
    import setuptools.command.easy_install as ei
  File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 56, in <module>
    from setuptools.package_index import (
  File "/usr/lib/python2.7/site-packages/setuptools/package_index.py", line 28, in <module>
    from setuptools.wheel import Wheel
  File "/usr/lib/python2.7/site-packages/setuptools/wheel.py", line 15, in <module>
    from packaging.tags import sys_tags
ImportError: No module named tags
==> ERROR: A failure occurred in package().
    Aborting...
Error making: urlgrabber

I'm guessing it's because some time ago I messed something with 'pip install' instead of using Pacman, not sure.
I've tried to uninstall all Python 2 packages I found in /usr/lib/python2.7/site-packages (pacman -Rnsdd ... ), then installing all those via Pacman, but I get the same error.

I've already encountered this when I was trying to upgrade 'sabnzbd' - https://aur.archlinux.org/packages/sabnzbd/?O=10&PP=10 - and I _think_ I solved it by uninstalling everything and reinstalling with Pacman, but it's not working now smile

Can someone explain to me what is going on here and what should I do to fix it (and what not to do in the future)?

Last edited by predmijat (2020-01-31 21:13:08)

Offline

#2 2020-01-30 22:10:30

loqs
Member
Registered: 2014-03-06
Posts: 19,089

Re: [SOLVED] Python/pip issue: "ImportError: No module named tags"

What is the output of

pacman -Qi python2-packaging
pacman -Qkk python2-packaging

Offline

#3 2020-01-31 06:55:49

predmijat
Member
Registered: 2014-09-30
Posts: 39

Re: [SOLVED] Python/pip issue: "ImportError: No module named tags"

Name            : python2-packaging
Version         : 20.0-1
Description     : Core utilities for Python packages
Architecture    : any
URL             : https://github.com/pypa/packaging
Licenses        : Apache
Groups          : None
Provides        : None
Depends On      : python2-pyparsing  python2-six
Optional Deps   : None
Required By     : python2-pip  python2-setuptools
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 191.84 KiB
Packager        : Felix Yan <felixonmars@archlinux.org>
Build Date      : Tue 07 Jan 2020 10:45:31 AM CET
Install Date    : Thu 30 Jan 2020 10:49:54 PM CET
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature

python2-packaging: 34 total files, 0 altered files

Offline

#4 2020-01-31 12:51:50

loqs
Member
Registered: 2014-03-06
Posts: 19,089

Re: [SOLVED] Python/pip issue: "ImportError: No module named tags"

What is the output of the following.  There may be no output from the first command.

python2 -c 'from packaging.tags import sys_tags'
stat /usr/lib/python2.7/site-packages/packaging/tags.py

Offline

#5 2020-01-31 14:54:18

predmijat
Member
Registered: 2014-09-30
Posts: 39

Re: [SOLVED] Python/pip issue: "ImportError: No module named tags"

Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named tags


  File: /usr/lib/python2.7/site-packages/packaging/tags.py
  Size: 23517     	Blocks: 48         IO Block: 4096   regular file
Device: 853h/2131d	Inode: 5247853     Links: 1
Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2020-01-30 22:49:54.000000000 +0100
Modify: 2020-01-07 10:45:31.000000000 +0100
Change: 2020-01-30 22:49:54.997288602 +0100
 Birth: 2020-01-30 22:49:54.997288602 +0100

Offline

#6 2020-01-31 15:49:16

loqs
Member
Registered: 2014-03-06
Posts: 19,089

Re: [SOLVED] Python/pip issue: "ImportError: No module named tags"

which python2
python2 -c 'import sys; print sys.path'

Offline

#7 2020-01-31 17:12:33

predmijat
Member
Registered: 2014-09-30
Posts: 39

Re: [SOLVED] Python/pip issue: "ImportError: No module named tags"

/usr/bin/python2

['', '/usr/lib/python27.zip', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/home/predmijat/.local/lib/python2.7/site-packages', '/usr/lib/python2.7/site-packages']

Offline

#8 2020-01-31 20:53:39

loqs
Member
Registered: 2014-03-06
Posts: 19,089

Re: [SOLVED] Python/pip issue: "ImportError: No module named tags"

strace -e trace=%file python2 -c 'from packaging.tags import sys_tags'

Offline

#9 2020-01-31 20:59:23

predmijat
Member
Registered: 2014-09-30
Posts: 39

Re: [SOLVED] Python/pip issue: "ImportError: No module named tags"

execve("/usr/bin/python2", ["python2", "-c", "from packaging.tags import sys_t"...], 0x7ffdcf304b10 /* 40 vars */) = 0
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/usr/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/usr/lib/libpython2.7.so.1.0", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/usr/lib/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/usr/lib/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/usr/lib/libutil.so.1", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/usr/lib/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
stat("/usr/local/sbin/python2", 0x7ffcee7e2310) = -1 ENOENT (No such file or directory)
stat("/usr/local/bin/python2", 0x7ffcee7e2310) = -1 ENOENT (No such file or directory)
stat("/usr/bin/python2", {st_mode=S_IFREG|0755, st_size=14088, ...}) = 0
readlink("/usr/bin/python2", "python2.7", 4096) = 9
readlink("/usr/bin/python2.7", 0x7ffcee7e43c0, 4096) = -1 EINVAL (Invalid argument)
stat("/usr/bin/Modules/Setup", 0x7ffcee7e2240) = -1 ENOENT (No such file or directory)
stat("/usr/bin/lib/python2.7/os.py", 0x7ffcee7e2230) = -1 ENOENT (No such file or directory)
stat("/usr/bin/lib/python2.7/os.pyc", 0x7ffcee7e2230) = -1 ENOENT (No such file or directory)
stat("/usr/lib/python2.7/os.py", {st_mode=S_IFREG|0644, st_size=25910, ...}) = 0
stat("/usr/bin/pybuilddir.txt", 0x7ffcee7e2240) = -1 ENOENT (No such file or directory)
stat("/usr/bin/lib/python2.7/lib-dynload", 0x7ffcee7e2240) = -1 ENOENT (No such file or directory)
stat("/usr/lib/python2.7/lib-dynload", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/usr/lib/python27.zip", 0x7ffcee7e2eb0) = -1 ENOENT (No such file or directory)
stat("/usr/lib", {st_mode=S_IFDIR|0755, st_size=237568, ...}) = 0
stat("/usr/lib/python27.zip", 0x7ffcee7e3e70) = -1 ENOENT (No such file or directory)
stat("/usr/lib/python2.7", {st_mode=S_IFDIR|0755, st_size=20480, ...}) = 0
stat("/usr/lib/python2.7", {st_mode=S_IFDIR|0755, st_size=20480, ...}) = 0
stat("/usr/lib/python2.7/site", 0x7ffcee7e4040) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/site.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/sitemodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/site.py", O_RDONLY) = 3
openat(AT_FDCWD, "/usr/lib/python2.7/site.pyc", O_RDONLY) = 4
stat("/usr/lib/python2.7/os", 0x7ffcee7e3b80) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/os.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/osmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/os.py", O_RDONLY) = 4
openat(AT_FDCWD, "/usr/lib/python2.7/os.pyc", O_RDONLY) = 5
stat("/usr/lib/python2.7/posixpath", 0x7ffcee7e36c0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/posixpath.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/posixpathmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/posixpath.py", O_RDONLY) = 5
openat(AT_FDCWD, "/usr/lib/python2.7/posixpath.pyc", O_RDONLY) = 6
stat("/usr/lib/python2.7/stat", 0x7ffcee7e3200) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/stat.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/statmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/stat.py", O_RDONLY) = 6
openat(AT_FDCWD, "/usr/lib/python2.7/stat.pyc", O_RDONLY) = 7
stat("/usr/lib/python2.7/genericpath", 0x7ffcee7e3200) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/genericpath.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/genericpathmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/genericpath.py", O_RDONLY) = 6
openat(AT_FDCWD, "/usr/lib/python2.7/genericpath.pyc", O_RDONLY) = 7
stat("/usr/lib/python2.7/warnings", 0x7ffcee7e3200) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/warnings.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/warningsmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/warnings.py", O_RDONLY) = 6
openat(AT_FDCWD, "/usr/lib/python2.7/warnings.pyc", O_RDONLY) = 7
stat("/usr/lib/python2.7/linecache", 0x7ffcee7e2d40) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/linecache.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/linecachemodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/linecache.py", O_RDONLY) = 7
openat(AT_FDCWD, "/usr/lib/python2.7/linecache.pyc", O_RDONLY) = 8
stat("/usr/lib/python2.7/types", 0x7ffcee7e2d40) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/types.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/typesmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/types.py", O_RDONLY) = 7
openat(AT_FDCWD, "/usr/lib/python2.7/types.pyc", O_RDONLY) = 8
stat("/usr/lib/python2.7/UserDict", 0x7ffcee7e36c0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/UserDict.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/UserDictmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/UserDict.py", O_RDONLY) = 5
openat(AT_FDCWD, "/usr/lib/python2.7/UserDict.pyc", O_RDONLY) = 6
stat("/usr/lib/python2.7/_abcoll", 0x7ffcee7e3200) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/_abcoll.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/_abcollmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/_abcoll.py", O_RDONLY) = 6
openat(AT_FDCWD, "/usr/lib/python2.7/_abcoll.pyc", O_RDONLY) = 7
stat("/usr/lib/python2.7/abc", 0x7ffcee7e2d40) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/abc.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/abcmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/abc.py", O_RDONLY) = 7
openat(AT_FDCWD, "/usr/lib/python2.7/abc.pyc", O_RDONLY) = 8
stat("/usr/lib/python2.7/_weakrefset", 0x7ffcee7e2880) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/_weakrefset.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/_weakrefsetmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/_weakrefset.py", O_RDONLY) = 8
openat(AT_FDCWD, "/usr/lib/python2.7/_weakrefset.pyc", O_RDONLY) = 9
stat("/usr/lib/python2.7/copy_reg", 0x7ffcee7e36c0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/copy_reg.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/copy_regmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/copy_reg.py", O_RDONLY) = 5
openat(AT_FDCWD, "/usr/lib/python2.7/copy_reg.pyc", O_RDONLY) = 6
stat("/usr/lib/python2.7/traceback", 0x7ffcee7e3b80) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/traceback.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/tracebackmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/traceback.py", O_RDONLY) = 4
openat(AT_FDCWD, "/usr/lib/python2.7/traceback.pyc", O_RDONLY) = 5
stat("/usr/lib/python2.7/sysconfig", 0x7ffcee7e3780) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/sysconfig.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/sysconfigmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/sysconfig.py", O_RDONLY) = 4
openat(AT_FDCWD, "/usr/lib/python2.7/sysconfig.pyc", O_RDONLY) = 5
lstat("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr/bin", {st_mode=S_IFDIR|0755, st_size=143360, ...}) = 0
lstat("/usr/bin/python2", {st_mode=S_IFLNK|0777, st_size=9, ...}) = 0
readlink("/usr/bin/python2", "python2.7", 4096) = 9
lstat("/usr/bin/python2.7", {st_mode=S_IFREG|0755, st_size=14088, ...}) = 0
stat("/usr/bin/Modules/Setup.dist", 0x7ffcee7e4360) = -1 ENOENT (No such file or directory)
stat("/usr/bin/Modules/Setup.local", 0x7ffcee7e4360) = -1 ENOENT (No such file or directory)
stat("/usr/lib/python2.7/re", 0x7ffcee7e34c0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/re.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/remodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/re.py", O_RDONLY) = 4
openat(AT_FDCWD, "/usr/lib/python2.7/re.pyc", O_RDONLY) = 5
stat("/usr/lib/python2.7/sre_compile", 0x7ffcee7e3000) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/sre_compile.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/sre_compilemodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/sre_compile.py", O_RDONLY) = 5
openat(AT_FDCWD, "/usr/lib/python2.7/sre_compile.pyc", O_RDONLY) = 6
stat("/usr/lib/python2.7/sre_parse", 0x7ffcee7e2b40) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/sre_parse.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/sre_parsemodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/sre_parse.py", O_RDONLY) = 6
openat(AT_FDCWD, "/usr/lib/python2.7/sre_parse.pyc", O_RDONLY) = 7
stat("/usr/lib/python2.7/sre_constants", 0x7ffcee7e2680) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/sre_constants.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/sre_constantsmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/sre_constants.py", O_RDONLY) = 7
openat(AT_FDCWD, "/usr/lib/python2.7/sre_constants.pyc", O_RDONLY) = 8
stat("/usr/lib/python2.7/_locale", 0x7ffcee7e3000) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/_locale.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/_localemodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/_locale.py", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/_locale.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib/python2.7/plat-linux2", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/usr/lib/python2.7/plat-linux2", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/usr/lib/python2.7/plat-linux2/_locale", 0x7ffcee7e3000) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/plat-linux2/_locale.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/plat-linux2/_localemodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/plat-linux2/_locale.py", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/plat-linux2/_locale.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib/python2.7/lib-tk", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/usr/lib/python2.7/lib-tk", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/usr/lib/python2.7/lib-tk/_locale", 0x7ffcee7e3000) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/lib-tk/_locale.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/lib-tk/_localemodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/lib-tk/_locale.py", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/lib-tk/_locale.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib/python2.7/lib-old", 0x7ffcee7e1e70) = -1 ENOENT (No such file or directory)
stat("/usr/lib/python2.7", {st_mode=S_IFDIR|0755, st_size=20480, ...}) = 0
stat("/usr/lib/python2.7/lib-old", 0x7ffcee7e2e30) = -1 ENOENT (No such file or directory)
stat("/usr/lib/python2.7/lib-dynload", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/usr/lib/python2.7/lib-dynload", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/usr/lib/python2.7/lib-dynload/_locale", 0x7ffcee7e3000) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/lib-dynload/_locale.so", O_RDONLY) = 5
openat(AT_FDCWD, "/usr/lib/python2.7/lib-dynload/_locale.so", O_RDONLY|O_CLOEXEC) = 6
stat("/usr/lib/python2.7/_sysconfigdata", 0x7ffcee7e33c0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/_sysconfigdata.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/_sysconfigdatamodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/_sysconfigdata.py", O_RDONLY) = 4
openat(AT_FDCWD, "/usr/lib/python2.7/_sysconfigdata.pyc", O_RDONLY) = 5
stat("/home/predmijat/.local/lib/python2.7/site-packages", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
openat(AT_FDCWD, "/home/predmijat/.local/lib/python2.7/site-packages", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4
stat("/usr/lib/python2.7/site-packages", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
openat(AT_FDCWD, "/usr/lib/python2.7/site-packages", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4
openat(AT_FDCWD, "/usr/lib/python2.7/site-packages/backports.unittest_mock-1.2.1-py2.7-nspkg.pth", O_RDONLY) = 4
openat(AT_FDCWD, "/usr/lib/python2.7/site-packages/zc.lockfile-2.0-py2.7-nspkg.pth", O_RDONLY) = 4
stat("/usr/lib/site-python", 0x7ffcee7e4b20) = -1 ENOENT (No such file or directory)
stat("/usr/lib/python2.7/sitecustomize", 0x7ffcee7e3980) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/sitecustomize.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/sitecustomizemodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/sitecustomize.py", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/sitecustomize.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib/python2.7/plat-linux2/sitecustomize", 0x7ffcee7e3980) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/plat-linux2/sitecustomize.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/plat-linux2/sitecustomizemodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/plat-linux2/sitecustomize.py", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/plat-linux2/sitecustomize.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib/python2.7/lib-tk/sitecustomize", 0x7ffcee7e3980) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/lib-tk/sitecustomize.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/lib-tk/sitecustomizemodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/lib-tk/sitecustomize.py", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/lib-tk/sitecustomize.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib/python2.7/lib-dynload/sitecustomize", 0x7ffcee7e3980) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/lib-dynload/sitecustomize.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/lib-dynload/sitecustomizemodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/lib-dynload/sitecustomize.py", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/lib-dynload/sitecustomize.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/home/predmijat/.local/lib/python2.7/site-packages", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
stat("/home/predmijat/.local/lib/python2.7/site-packages", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
stat("/home/predmijat/.local/lib/python2.7/site-packages/sitecustomize", 0x7ffcee7e3980) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/predmijat/.local/lib/python2.7/site-packages/sitecustomize.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/predmijat/.local/lib/python2.7/site-packages/sitecustomizemodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/predmijat/.local/lib/python2.7/site-packages/sitecustomize.py", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/predmijat/.local/lib/python2.7/site-packages/sitecustomize.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib/python2.7/site-packages", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
stat("/usr/lib/python2.7/site-packages", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
stat("/usr/lib/python2.7/site-packages/sitecustomize", 0x7ffcee7e3980) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/site-packages/sitecustomize.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/site-packages/sitecustomizemodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/site-packages/sitecustomize.py", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/site-packages/sitecustomize.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib/python2.7/usercustomize", 0x7ffcee7e3980) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/usercustomize.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/usercustomizemodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/usercustomize.py", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/usercustomize.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib/python2.7/plat-linux2/usercustomize", 0x7ffcee7e3980) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/plat-linux2/usercustomize.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/plat-linux2/usercustomizemodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/plat-linux2/usercustomize.py", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/plat-linux2/usercustomize.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib/python2.7/lib-tk/usercustomize", 0x7ffcee7e3980) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/lib-tk/usercustomize.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/lib-tk/usercustomizemodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/lib-tk/usercustomize.py", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/lib-tk/usercustomize.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib/python2.7/lib-dynload/usercustomize", 0x7ffcee7e3980) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/lib-dynload/usercustomize.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/lib-dynload/usercustomizemodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/lib-dynload/usercustomize.py", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/lib-dynload/usercustomize.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/home/predmijat/.local/lib/python2.7/site-packages/usercustomize", 0x7ffcee7e3980) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/predmijat/.local/lib/python2.7/site-packages/usercustomize.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/predmijat/.local/lib/python2.7/site-packages/usercustomizemodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/predmijat/.local/lib/python2.7/site-packages/usercustomize.py", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/predmijat/.local/lib/python2.7/site-packages/usercustomize.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib/python2.7/site-packages/usercustomize", 0x7ffcee7e3980) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/site-packages/usercustomize.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/site-packages/usercustomizemodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/site-packages/usercustomize.py", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/site-packages/usercustomize.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
stat("/usr/lib/python2.7/encodings", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
stat("/usr/lib/python2.7/encodings/__init__.py", {st_mode=S_IFREG|0644, st_size=5698, ...}) = 0
stat("/usr/lib/python2.7/encodings/__init__", 0x7ffcee7e4130) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/encodings/__init__.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/encodings/__init__module.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/encodings/__init__.py", O_RDONLY) = 3
openat(AT_FDCWD, "/usr/lib/python2.7/encodings/__init__.pyc", O_RDONLY) = 4
stat("/usr/lib/python2.7/encodings", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
stat("/usr/lib/python2.7/encodings", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
stat("/usr/lib/python2.7/encodings/codecs", 0x7ffcee7e3c70) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/encodings/codecs.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/encodings/codecsmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/encodings/codecs.py", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/encodings/codecs.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib/python2.7/codecs", 0x7ffcee7e3c00) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/codecs.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/codecsmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/codecs.py", O_RDONLY) = 4
openat(AT_FDCWD, "/usr/lib/python2.7/codecs.pyc", O_RDONLY) = 5
stat("/usr/lib/python2.7/encodings/encodings", 0x7ffcee7e3c70) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/encodings/encodings.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/encodings/encodingsmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/encodings/encodings.py", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/encodings/encodings.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib/python2.7/encodings/aliases", 0x7ffcee7e3c40) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/encodings/aliases.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/encodings/aliasesmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/encodings/aliases.py", O_RDONLY) = 4
openat(AT_FDCWD, "/usr/lib/python2.7/encodings/aliases.pyc", O_RDONLY) = 5
stat("/usr/lib/python2.7/encodings/__builtin__", 0x7ffcee7e3c70) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/encodings/__builtin__.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/encodings/__builtin__module.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/encodings/__builtin__.py", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/encodings/__builtin__.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib/python2.7/encodings/utf_8", 0x7ffcee7e3ef0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/encodings/utf_8.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/encodings/utf_8module.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/encodings/utf_8.py", O_RDONLY) = 3
openat(AT_FDCWD, "/usr/lib/python2.7/encodings/utf_8.pyc", O_RDONLY) = 4
stat("packaging", 0x7ffcee7e3f80)       = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "packaging.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "packagingmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "packaging.py", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "packaging.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib/python2.7/packaging", 0x7ffcee7e3f80) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/packaging.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/packagingmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/packaging.py", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/packaging.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib/python2.7/plat-linux2/packaging", 0x7ffcee7e3f80) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/plat-linux2/packaging.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/plat-linux2/packagingmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/plat-linux2/packaging.py", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/plat-linux2/packaging.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib/python2.7/lib-tk/packaging", 0x7ffcee7e3f80) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/lib-tk/packaging.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/lib-tk/packagingmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/lib-tk/packaging.py", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/lib-tk/packaging.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib/python2.7/lib-dynload/packaging", 0x7ffcee7e3f80) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/lib-dynload/packaging.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/lib-dynload/packagingmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/lib-dynload/packaging.py", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/lib-dynload/packaging.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/home/predmijat/.local/lib/python2.7/site-packages/packaging", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/home/predmijat/.local/lib/python2.7/site-packages/packaging/__init__.py", {st_mode=S_IFREG|0644, st_size=562, ...}) = 0
stat("/home/predmijat/.local/lib/python2.7/site-packages/packaging/__init__", 0x7ffcee7e3f30) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/predmijat/.local/lib/python2.7/site-packages/packaging/__init__.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/predmijat/.local/lib/python2.7/site-packages/packaging/__init__module.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/predmijat/.local/lib/python2.7/site-packages/packaging/__init__.py", O_RDONLY) = 3
openat(AT_FDCWD, "/home/predmijat/.local/lib/python2.7/site-packages/packaging/__init__.pyc", O_RDONLY) = 4
stat("__future__", 0x7ffcee7e3a70)      = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "__future__.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "__future__module.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "__future__.py", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "__future__.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib/python2.7/__future__", 0x7ffcee7e3a70) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/__future__.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/__future__module.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/__future__.py", O_RDONLY) = 4
openat(AT_FDCWD, "/usr/lib/python2.7/__future__.pyc", O_RDONLY) = 5
stat("/home/predmijat/.local/lib/python2.7/site-packages/packaging", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/home/predmijat/.local/lib/python2.7/site-packages/packaging", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/home/predmijat/.local/lib/python2.7/site-packages/packaging/__about__", 0x7ffcee7e3a70) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/predmijat/.local/lib/python2.7/site-packages/packaging/__about__.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/predmijat/.local/lib/python2.7/site-packages/packaging/__about__module.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/predmijat/.local/lib/python2.7/site-packages/packaging/__about__.py", O_RDONLY) = 4
openat(AT_FDCWD, "/home/predmijat/.local/lib/python2.7/site-packages/packaging/__about__.pyc", O_RDONLY) = 5
stat("/home/predmijat/.local/lib/python2.7/site-packages/packaging/tags", 0x7ffcee7e3f80) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/predmijat/.local/lib/python2.7/site-packages/packaging/tags.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/predmijat/.local/lib/python2.7/site-packages/packaging/tagsmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/predmijat/.local/lib/python2.7/site-packages/packaging/tags.py", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/predmijat/.local/lib/python2.7/site-packages/packaging/tags.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
Traceback (most recent call last):
  File "<string>", line 1, in <module>
openat(AT_FDCWD, "<string>", O_RDONLY)  = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "<string>", O_RDONLY)  = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python27.zip/<string>", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/<string>", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/plat-linux2/<string>", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/lib-tk/<string>", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/lib-old/<string>", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/lib-dynload/<string>", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/predmijat/.local/lib/python2.7/site-packages/<string>", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/python2.7/site-packages/<string>", O_RDONLY) = -1 ENOENT (No such file or directory)
ImportError: No module named tags
+++ exited with 1 +++

Offline

#10 2020-01-31 21:05:35

loqs
Member
Registered: 2014-03-06
Posts: 19,089

Re: [SOLVED] Python/pip issue: "ImportError: No module named tags"

stat("/home/predmijat/.local/lib/python2.7/site-packages/packaging", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0

python2 is using packaging in /home/predmijat/.local/lib/python2.7/site-packages/packaging which does not provide tags.
If that was installed with pip can you remove it with pip and try again?

Offline

#11 2020-01-31 21:12:52

predmijat
Member
Registered: 2014-09-30
Posts: 39

Re: [SOLVED] Python/pip issue: "ImportError: No module named tags"

That worked, thanks man smile

I have no memory of this place smile there are a couple of more packages listed with

pip2 list installed --user

, I guess I'll remove them all...

Offline

Board footer

Powered by FluxBB