Opened 8 years ago

Closed 7 years ago

#27876 closed Bug (invalid)

Documentation error for installing tests/requirements/py3.txt

Reported by: Vipin Chaudhary Owned by: nobody
Component: Documentation Version: dev
Severity: Normal Keywords: documentation, pip3, requirements, contribution
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

Hi,
I was installing tests/requirement/py3.txt as stated in django docs for contribution https://docs.djangoproject.com/en/dev/intro/contributing/

It was written that run

pip install -r py3.txt

i am running same on my mac OS but it always show problems in installing pylibmc and libmemcached to fix that i ran

brew install libmemcached
pip3 install -r py3.txt

because there was some python3 dependencies in it

so think that should be mentioned in docs that if its not installed by pip then try using pip3

Change History (4)

comment:1 by Tim Graham, 8 years ago

Resolution: invalid
Status: newclosed

It looks like your virtualenv wasn't activated when you ran pip install ....

comment:2 by Philip James, 7 years ago

Resolution: invalid
Status: closednew

I've run into this bug as well, and I definitely am in my py3 virtualenv.

(django) SensitiveDependence:django phildini$ which python3
/Users/phildini/.virtualenvs/django/bin/python3

I was coming here to see if I should file a bug and found this one. I note that we already call out windows in the requirements/py3.txt file, so it feels like there's precedent for special-casing OS's.

Is the correct approach here to update the docs, or skip these tests on mac, or do nothing?

comment:3 by Tim Graham, 7 years ago

Cc: Tim graham removed

I'm not a mac OS user so I can't say for sure what the issue is here. What does "it always show problems in installing pylibmc and libmemcached" mean? My guess is that the equivalent of libmemcached-dev (Debian package) isn't installed. (related StackOverflow). I think it's not Django's job to document the requirements of third-party packages. I'd rather enhance pylibmc's install instructions if needed.

comment:4 by Tim Graham, 7 years ago

Resolution: invalid
Status: newclosed

Feel free to propose some patch for Django's docs if my analysis isn't correct.

Note: See TracTickets for help on using tickets.
Back to Top