You are not logged in.

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

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

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 (2018-11-27 05:07:47)

Offline

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

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 8,404
Website

Re: Docker-compose can't find appdirs module


Sakura:-
Mobo: MSI X299 TOMAHAWK ARCTIC // Processor: Intel Core i7-7820X 3.6GHz // GFX: nVidia GeForce GTX 970 // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 5x 1TB HDD, 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: 2

Re: 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: 8,404
Website

Re: 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 X299 TOMAHAWK ARCTIC // Processor: Intel Core i7-7820X 3.6GHz // GFX: nVidia GeForce GTX 970 // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 5x 1TB HDD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB