Closed kjeldGr closed 8 years ago
Same here (python 2.7). Use pip install 'mollie-api-python<1.1.0' for a quick work around.
There was a circular dependency issue that should have been solved now (https://github.com/mollie/mollie-api-python/commit/306e23dc4e1a10afae2054519d7f81cc81c204ba). Could you kindly check if it's working?
yes it's fixed now! But the newest version isn't available for pip now.
Great! Thanks Kjeld.
We wanted to be sure the issue was fixed before distributing it through pip. We've released it on pip just now.
When I import Mollie in my Python (3.4) project, I get an import error on "Resource", even though I haven't even used the api in my project yet. I also get the error when I try to run the example files. The full error is:
File "/home/< user >/< project_name >/< project_name >/views.py", line 3, in
import Mollie
File "<...>/Mollie/init.py", line 1, in
File "<...>/Mollie/API/init.py", line 2, in
File "<...>/Mollie/API/Resource/init.py", line 1, in
File "<...>/Mollie/API/Resource/Base.py", line 1, in
File "<...>/Mollie/API/Client.py", line 9, in
ImportError: cannot import name 'Resource'