Thanks Steve and Berker! I uncommented uWSGI from requirements.txt, and no longer seeing the error.
I've never used Vagrant before. Guess now is the time to learn how to use it :) Thanks. Mariatta Wijaya On Thu, Aug 11, 2016 at 3:14 AM, Berker Peksağ <berker.pek...@gmail.com> wrote: > On Thu, Aug 11, 2016 at 6:57 AM, Mariatta Wijaya > <mariatta.wij...@gmail.com> wrote: > > Hi, > > > > I'm having trouble installing pydotorg locally on my personal macbook. > > Wondering if anyone will be able to help with this? Not sure if this is > the > > right place to ask. I can also create a ticket in github if that's > > preferred. > > > > Anyway, I'm following the instructions for Manual Setup, as described in > > this page: https://pythondotorg.readthedocs.io/install.html > > You won't need uWSGI in development so you can safely remove or > uncomment the uWSGI line in requirements.txt. > > Ideally, we should have a separate requirements.txt for > production-only dependencies, but we need to make sure that we won't > break anything in deployment process. I will try to do it this week. > > Thanks! > > --Berker > > > my steps: > > > > git clone git://github.com/python/pythondotorg.git > > > > cd pythondotorg > > > > python3.4 -m venv venv > > > > pip install -r dev-requirements.txt > > > > After this point, I see an error. > > > > Here is a snippet: > > > > Requirement already satisfied (use --upgrade to upgrade): > oauthlib>=0.6.2 in > > /usr/local/lib/python3.4/site-packages (from > > requests-oauthlib>=0.3.0->django-allauth==0.22.0->-r requirements.txt > (line > > 40)) > > > > Installing collected packages: uWSGI > > > > Running setup.py install for uWSGI ... error > > > > Complete output from command /usr/local/opt/python3/bin/python3.4 > -u -c > > "import setuptools, > > tokenize;__file__='/private/var/folders/8t/szq9prv16rn3dvdjcd_ > q6cym0000gs/T/pip-build-0hp0c9ai/uWSGI/setup.py';exec( > compile(getattr(tokenize, > > 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, > 'exec'))" > > install --record > > /var/folders/8t/szq9prv16rn3dvdjcd_q6cym0000gs/T/pip-fjrw0gqx- > record/install-record.txt > > --single-version-externally-managed --compile: > > > > running install > > > > using profile: buildconf/default.ini > > > > .. some really long message or stack trace of some sort... and then: > > > > *** uWSGI compiling server core *** > > > > [thread 1][clang] core/utils.o > > > > [thread 2][clang] core/protocol.o > > > > [thread 0][clang] core/socket.o > > > > [thread 3][clang] core/logging.o > > > > [thread 1][clang] core/master.o > > > > [thread 2][clang] core/master_utils.o > > > > core/socket.c:713:28: error: use of undeclared identifier 'SOL_TCP' > > > > if (setsockopt(serverfd, SOL_TCP, TCP_FASTOPEN, > (const > > void *) &uwsgi.tcp_fast_open, sizeof(int)) < 0) { > > > > ^ > > > > 1 error generated. > > > > Command "/usr/local/opt/python3/bin/python3.4 -u -c "import > setuptools, > > tokenize;__file__='/private/var/folders/8t/szq9prv16rn3dvdjcd_ > q6cym0000gs/T/pip-build-0hp0c9ai/uWSGI/setup.py';exec( > compile(getattr(tokenize, > > 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, > 'exec'))" > > install --record > > /var/folders/8t/szq9prv16rn3dvdjcd_q6cym0000gs/T/pip-fjrw0gqx- > record/install-record.txt > > --single-version-externally-managed --compile" failed with error code 1 > in > > /private/var/folders/8t/szq9prv16rn3dvdjcd_q6cym0000gs/T/pip-build- > 0hp0c9ai/uWSGI/ > > > > Does anyone have any ideas of what's going on? Is there a problem with my > > machine perhaps? I'm using Macbook OS X El Capitan 10.11.6 if that > matters. > > > > Thanks. I would really appreciate any help with this. > > > > > > > > Mariatta Wijaya > > > > _______________________________________________ > > pydotorg-www mailing list > > pydotorg-www@python.org > > https://mail.python.org/mailman/listinfo/pydotorg-www > > >
_______________________________________________ pydotorg-www mailing list pydotorg-www@python.org https://mail.python.org/mailman/listinfo/pydotorg-www