[GH-ISSUE #532] pip3 install version conflict for importlib-metadata #314

Open
opened 2026-02-27 15:58:13 +03:00 by kerem · 5 comments
Owner

Originally created by @smallpize on GitHub (Aug 25, 2022).
Original GitHub issue: https://github.com/retspen/webvirtcloud/issues/532

When I downloaded the latest version for installation, run "pip3 install -r conf/requirements.txt -q" , pip installation prompted a version conflict for importlib-metadata.
log:
ERROR: Cannot install -r conf/requirements.txt (line 22) and -r conf/requirements.txt (line 3) because these package versions have conflicting dependencies.
The conflict is caused by:
django-icons 22.1 depends on importlib-metadata<3; python_version < "3.8"
markdown 3.4.1 depends on importlib-metadata>=4.4; python_version < "3.10"

Originally created by @smallpize on GitHub (Aug 25, 2022). Original GitHub issue: https://github.com/retspen/webvirtcloud/issues/532 When I downloaded the latest version for installation, run "pip3 install -r conf/requirements.txt -q" , pip installation prompted a version conflict for importlib-metadata. log: ERROR: Cannot install -r conf/requirements.txt (line 22) and -r conf/requirements.txt (line 3) because these package versions have conflicting dependencies. The conflict is caused by: django-icons 22.1 depends on importlib-metadata<3; python_version < "3.8" markdown 3.4.1 depends on importlib-metadata>=4.4; python_version < "3.10"
Author
Owner

@catborise commented on GitHub (Aug 25, 2022):

which OS are you using for webvirtcloud?

<!-- gh-comment-id:1226949611 --> @catborise commented on GitHub (Aug 25, 2022): which OS are you using for webvirtcloud?
Author
Owner

@smallpize commented on GitHub (Aug 25, 2022):

which OS are you using for webvirtcloud?

Kylin V10 SP2 (like openEuler-20.03-LTS-SP1)
Python 3.7.9
but,execute alone ,can install and run has no effect

<!-- gh-comment-id:1227036232 --> @smallpize commented on GitHub (Aug 25, 2022): > which OS are you using for webvirtcloud? Kylin V10 SP2 (like openEuler-20.03-LTS-SP1) Python 3.7.9 but,execute alone ,can install and run has no effect
Author
Owner

@catborise commented on GitHub (Aug 25, 2022):

yes it should be work without issue. But i open an issue for django-icons to update importlib-metadata requirements. i hope it will be fixed soon.
i tested on ubuntu before merge, it works as expected, it think, because ubuntu 20 provides python 3.10.

<!-- gh-comment-id:1227114738 --> @catborise commented on GitHub (Aug 25, 2022): yes it should be work without issue. But i open an issue for django-icons to update importlib-metadata requirements. i hope it will be fixed soon. i tested on ubuntu before merge, it works as expected, it think, because ubuntu 20 provides python 3.10.
Author
Owner

@choricc commented on GitHub (Oct 6, 2022):

hello i met the same conflict .but i have slove it .
my OS is Aonlis 8.6
python is 3.6
i change the conf/requirments.txt

QQ图片20221006130205

When I downloaded the latest version for installation, run "pip3 install -r conf/requirements.txt -q" , pip installation prompted a version conflict for importlib-metadata. log: ERROR: Cannot install -r conf/requirements.txt (line 22) and -r conf/requirements.txt (line 3) because these package versions have conflicting dependencies. The conflict is caused by: django-icons 22.1 depends on importlib-metadata<3; python_version < "3.8" markdown 3.4.1 depends on importlib-metadata>=4.4; python_version < "3.10"

<!-- gh-comment-id:1269316293 --> @choricc commented on GitHub (Oct 6, 2022): hello i met the same conflict .but i have slove it . my OS is Aonlis 8.6 python is 3.6 i change the conf/requirments.txt ![QQ图片20221006130205](https://user-images.githubusercontent.com/51699030/194218305-da28f9a4-5eec-4577-9785-9e0b73862570.png) > When I downloaded the latest version for installation, run "pip3 install -r conf/requirements.txt -q" , pip installation prompted a version conflict for importlib-metadata. log: ERROR: Cannot install -r conf/requirements.txt (line 22) and -r conf/requirements.txt (line 3) because these package versions have conflicting dependencies. The conflict is caused by: django-icons 22.1 depends on importlib-metadata<3; python_version < "3.8" markdown 3.4.1 depends on importlib-metadata>=4.4; python_version < "3.10"
Author
Owner

@smallpize commented on GitHub (Oct 8, 2022):

hello i met the same conflict .but i have slove it . my OS is Aonlis 8.6 python is 3.6 i change the conf/requirments.txt

QQ图片20221006130205

When I downloaded the latest version for installation, run "pip3 install -r conf/requirements.txt -q" , pip installation prompted a version conflict for importlib-metadata. log: ERROR: Cannot install -r conf/requirements.txt (line 22) and -r conf/requirements.txt (line 3) because these package versions have conflicting dependencies. The conflict is caused by: django-icons 22.1 depends on importlib-metadata<3; python_version < "3.8" markdown 3.4.1 depends on importlib-metadata>=4.4; python_version < "3.10"

I delete the line for "markdown==3.3.1", run:

sed -i '/markdown==/d' conf/requirements.txt
pip3 install -r conf/requirements.txt -q
pip3 install markdown==3.3.1

<!-- gh-comment-id:1272206951 --> @smallpize commented on GitHub (Oct 8, 2022): > hello i met the same conflict .but i have slove it . my OS is Aonlis 8.6 python is 3.6 i change the conf/requirments.txt > > ![QQ图片20221006130205](https://user-images.githubusercontent.com/51699030/194218305-da28f9a4-5eec-4577-9785-9e0b73862570.png) > > > When I downloaded the latest version for installation, run "pip3 install -r conf/requirements.txt -q" , pip installation prompted a version conflict for importlib-metadata. log: ERROR: Cannot install -r conf/requirements.txt (line 22) and -r conf/requirements.txt (line 3) because these package versions have conflicting dependencies. The conflict is caused by: django-icons 22.1 depends on importlib-metadata<3; python_version < "3.8" markdown 3.4.1 depends on importlib-metadata>=4.4; python_version < "3.10" I delete the line for "markdown==3.3.1", run: > sed -i '/markdown==/d' conf/requirements.txt > pip3 install -r conf/requirements.txt -q > pip3 install markdown==3.3.1
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/webvirtcloud#314
No description provided.