"Install Wagtail in just 7 lines" doesn't works
See original GitHub issueI try to install wagtail following the instruction on the front page:
pip install wagtail
wagtail start mysite
cd mysite
pip install -r requirements.txt
python manage.py migrate
python manage.py createsuperuser
python manage.py runserver
Sadly it fail already on pip install wagtail:
Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/usr/lib/python3.6/dist-packages/modelcluster'
Consider using the `--user` option or check the permissions.
I’m using a clean EC2 instance on AWS started from https://aws.amazon.com/cloud9/ with Python 3.6.7. I guess I should use a virtual environment.
The point is: if it can break so easily why showing those instruction? I just wanted to test wagtail and launched an VM in the cloud to try it, this give me a bad first impression.
Issue Analytics
- State:
- Created 5 years ago
- Comments:13 (3 by maintainers)
Top Results From Across the Web
Wagtail & Django issues - python - Stack Overflow
I've found that ManifestStaticFilesStorage doesn't always work correctly depending on how the templates are constructed and the static files ...
Read more >Installing Wagtail - YouTube
Wagtail has become a very popular CMS in the last year. Start with this video to see how to get it up and...
Read more >How to Install Wagtail with Docker - LearnWagtail.com
Installing Wagtail is SUPER easy. In about 7 lines of (actual) code you can get up and running. Those instructions are found directly...
Read more >Your first Wagtail site
Before installing Wagtail, it is necessary to install the libjpeg and zlib libraries, which provide support for working with JPEG, PNG and GIF...
Read more >Release 4.1.1 Torchbox - Wagtail Documentation
Add a STATIC_ROOT setting, if your project does not have one already: ... Note that this only works in development mode (DEBUG =...
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
I like the idea of using
pip install --user
- it’s a good middle ground that avoids the two extremes of giving people advice that contradicts real-world best practices, versus “here’s how to install Wagtail in 7 commands once you’ve read a whole load of documentation about Python virtualenvs” 😃 And for people who are already familiar with virtualenvs, it should hopefully be self-explanatory enough that they should be able to confidently adapt the instructions accordingly. Thanks @BenSturmfels!Any objections to this approach? I’ll go ahead and update the page if not.
Thanks very much for the feedback @gagarine. We discussed some options in the last core team meeting and agreed on this:
the link goes to https://docs.python.org/3/tutorial/venv.html. Do you think this gives the right level of help to beginners?