Error in Setting up the Wagtail codebase
See original GitHub issueIssue Summary
While setting up a local copy of the Wagtail git repository, running the command $ pip install -e .[testing,docs] -U
generates the following error: -
ERROR: Cannot install myst_parser and wagtail because these package versions have conflicting dependencies.
The conflict is caused by:
jinjalint 0.5 depends on attrs==17.2.0
markdown-it-py 2.0.1 depends on attrs<22 and >=19
jinjalint 0.5 depends on attrs==17.2.0
markdown-it-py 2.0.0 depends on attrs<22 and >=19
jinjalint 0.5 depends on attrs==17.2.0
markdown-it-py 1.1.0 depends on attrs<22 and >=19
jinjalint 0.5 depends on attrs==17.2.0
markdown-it-py 1.0.0 depends on attrs<21 and >=19
To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict
Steps to Reproduce
- Clone a copy of the Wagtail codebase using the following commands: -
$ git clone https://github.com/wagtail/wagtail.git
$ cd wagtail
-
With your preferred virtualenv activated, install the Wagtail package in development mode with the included testing and documentation dependencies:
$ pip install -e .[testing,docs] -U
-
The error will pop up.
There is something wrong with documentation dependencies.
$ pip install -e .[testing] -U
works absolutely fine.
- I have confirmed that this issue can be reproduced as described on a fresh Wagtail project: Yes
Technical details
- Python version: 3.10
- Django version: 4.0.3
- Wagtail version: 2.17a0
- Operating System: Windows/ Mac
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
How to fix error upgrading Wagtail 2.10.2 to 2.11.8?
Uninstall the Wagtail package with pip uninstall wagtail , then reinstall the same version that you had - this should remove the autogenerated ......
Read more >Several errors during installation · Issue #240 - GitHub
Several errors during installation #240 ... Running setup.py (path:/Users/PDXIII/Envs/wagtail/build/django-compressor/setup.py) egg_info for ...
Read more >Contributing to Wagtail — Wagtail 1.13.4 documentation
First, check to see if your bug or feature request has already been submitted at github.com/wagtail/wagtail/issues. If it has, and you have some...
Read more >Coders of Colour - Introduction to Wagtail
When a 500 (internal server error) occurs, it's important to look through the ... Open up mysite/settings/production.py and change it to look like...
Read more >Wagtail CMS - Pegasus documentation
If you want to try Wagtail make sure you enable the “Use Wagtail” option in the Pegasus codebase creator. After you set up...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
#8101 ready for review! Thank you for reporting this so quickly and thoroughly @gitkaarma, makes it much much easier to figure out what the issue is.
@gitkaarma should be all resolved, sorry about that! Please let us know if you encounter further issues like this.