[pydotorg-www] Problems with setting up pytdotorg locally

Berker Peksağ berker.peksag at gmail.com
Tue Jun 14 20:11:02 EDT 2016


On Wed, Jun 15, 2016 at 3:08 AM, Berker Peksağ <berker.peksag at gmail.com> wrote:
> On Wed, Jun 15, 2016 at 2:51 AM, Arun Kumar <arunkumarm1995 at gmail.com> wrote:
>> Hi.
>>   I created a python 3.5 virtualenv & cloned the forked pythondotorg repo.
>> When I try to install the requirements, I am getting an error which goes
>> like this:
>>
>> In function ‘open’,
>>   inlined from ‘uwsgi_tmpfd’ at core/utils.c:3517:5:
>> /usr/include/x86_64-linux-gnu/bits/fcntl2.h:50:4: error:
>> call to ‘__open_missing_mode’ declared with attribute error: open with
>> O_CREAT or O_TMPFILE in second argument needs 3 arguments
>
> Hi Arun,
>
> uwsgi is not needed for development so you can simply comment out the
> "uWSGI==2.0.10" line in requirements.txt. It looks like this is a
> known issue in uwsgi: https://github.com/unbit/uwsgi/issues/1262

Also our Django version is not compatible with Python 3.5. Please use
Python 3.4 as documented at
https://pythondotorg.readthedocs.io/install.html

--Berker


More information about the pydotorg-www mailing list