haneulkim
haneulkim

Reputation: 4928

ModuleNotFoundError: No module names libcloud.utils

Using python 3.7.9, apache-libcloud 3.6.0

It was working fine on Ubuntu however error arose when replicating on Windows therefore guessing it is OS problem however cannot find any reference online.

When I call get_driver() method from libcloud.storage.providers it attempts and fails to import libcloud.utils

from libcloud.storage.types import Provider
from libcloud.storage.providers import get_driver

driver_class = get_driver(Provider.S3)

Error message: line 26, in <module> import libcloud.utils.py3 ModuleNotFoundError: No module names 'libcloud.utils'

EDIT: After installing libcloud library when I navigate to its folder it is missing utils folder.

Upvotes: 0

Views: 214

Answers (1)

rafathasan
rafathasan

Reputation: 572

Install dj-libcloud from terminal using pip.

The command:

pip install dj-libcloud

Then try:

import libcloud.utils

Upvotes: 0

Related Questions