Skip to content

Django Tutorial requirements.txt error  #956

Closed

Description

@lanec

In which file did you encounter the issue?

While going through the process of setting up the Django Tutorial app on my local machine I was asked to install the requirements using pip install -r requirements.txt

Did you change the file? If so, how?

I did nothing to modify the files

Describe the issue

The output from the install presented the following error:

Command "python setup.py egg_info" failed with error code 1 in /private/tmp/pip-build-xp_b0b6_/mysqlclient/

My computer

Mac OS X 10.12.5
Python 3.6.1

Activity

  1. waprin commented on May 23, 2017

    @waprin
    Contributor

    Have you tried brew install mysql?

  2. lanec commented on May 23, 2017

    @lanec
    Author

    I followed the tutorial provided by Google at: https://cloud.google.com/python/django/flexible-environment

    It states that we are going to be using PostgreSQL for local development (and cloud). I ended up commenting the mysql client out of the requirements.txt and completed the installation from there.

  3. hanzvanaardt commented on Apr 24, 2019

    @hanzvanaardt

    Remove the mysql installation requirement from the requirements.txt to resolve the issue you are encountering.

  4. added a commit that references this issue on Feb 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions