You are not logged in.

#1 2018-11-27 05:07:30

mpataki
Member
Registered: 2018-11-27
Posts: 3

[SOLVED] Docker-compose can't find appdirs module

I'm seeing a similar issue when trying to use docker-compose, which I've installed via AUR.

docker-compose up
Traceback (most recent call last):
  File "/usr/bin/docker-compose", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 78, in <module>
    import appdirs
ModuleNotFoundError: No module named 'appdirs'

I have my python modules installed via pacman

pacman -Q | grep appdirs
python-appdirs 1.4.3-2

Not sure what to do with this. I moved away from using pip directly to install these modules precisely because I was getting dependency errors when upgrading pacman managed packages which have python module dependencies.

Any ideas?

Last edited by mpataki (2019-12-08 15:54:05)

Offline

#2 2018-11-27 07:41:09

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,845
Website

Re: [SOLVED] Docker-compose can't find appdirs module


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

#3 2018-11-28 03:48:29

mpataki
Member
Registered: 2018-11-27
Posts: 3

Re: [SOLVED] Docker-compose can't find appdirs module

Got it.

I swear I did this last night without any joy, but I managed to solve this right now by reinstalling

python-appdirs

and

python-chardet

.

Offline

#4 2018-11-28 08:35:12

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,845
Website

Re: [SOLVED] Docker-compose can't find appdirs module

Great. Please remember to mark your thread as solved by editing the first post and amending the topic title.

https://wiki.archlinux.org/index.php/Co … ow_to_post


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

Board footer

Powered by FluxBB