Skip to content

Instantly share code, notes, and snippets.

@scitesy
Created August 15, 2016 15:47
Show Gist options
  • Save scitesy/550fa086870c7d90ae138b8f7e209e1c to your computer and use it in GitHub Desktop.
Save scitesy/550fa086870c7d90ae138b8f7e209e1c to your computer and use it in GitHub Desktop.
(test_pypy_peewee) username@machinename:~/venvdirectory$ pip install peewee
Collecting peewee
Using cached peewee-2.8.2.tar.gz
Building wheels for collected packages: peewee
Running setup.py bdist_wheel for peewee ... error
Complete output from command /home/username/venvdirectory/test_pypy_peewee/bin/pypy -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-Pmwto8/peewee/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmpi0nO3Mpip-wheel- --python-tag pp253:
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
copying peewee.py -> build/lib.linux-x86_64-2.7
copying pwiz.py -> build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/playhouse
copying playhouse/pool.py -> build/lib.linux-x86_64-2.7/playhouse
copying playhouse/gfk.py -> build/lib.linux-x86_64-2.7/playhouse
copying playhouse/berkeleydb.py -> build/lib.linux-x86_64-2.7/playhouse
copying playhouse/kv.py -> build/lib.linux-x86_64-2.7/playhouse
copying playhouse/reflection.py -> build/lib.linux-x86_64-2.7/playhouse
copying playhouse/csv_loader.py -> build/lib.linux-x86_64-2.7/playhouse
copying playhouse/djpeewee.py -> build/lib.linux-x86_64-2.7/playhouse
copying playhouse/hybrid.py -> build/lib.linux-x86_64-2.7/playhouse
copying playhouse/test_utils.py -> build/lib.linux-x86_64-2.7/playhouse
copying playhouse/signals.py -> build/lib.linux-x86_64-2.7/playhouse
copying playhouse/sqlcipher_ext.py -> build/lib.linux-x86_64-2.7/playhouse
copying playhouse/migrate.py -> build/lib.linux-x86_64-2.7/playhouse
copying playhouse/db_url.py -> build/lib.linux-x86_64-2.7/playhouse
copying playhouse/shortcuts.py -> build/lib.linux-x86_64-2.7/playhouse
copying playhouse/read_slave.py -> build/lib.linux-x86_64-2.7/playhouse
copying playhouse/csv_utils.py -> build/lib.linux-x86_64-2.7/playhouse
copying playhouse/dataset.py -> build/lib.linux-x86_64-2.7/playhouse
copying playhouse/__init__.py -> build/lib.linux-x86_64-2.7/playhouse
copying playhouse/apsw_ext.py -> build/lib.linux-x86_64-2.7/playhouse
copying playhouse/fields.py -> build/lib.linux-x86_64-2.7/playhouse
copying playhouse/sqlite_udf.py -> build/lib.linux-x86_64-2.7/playhouse
copying playhouse/flask_utils.py -> build/lib.linux-x86_64-2.7/playhouse
copying playhouse/sqlite_ext.py -> build/lib.linux-x86_64-2.7/playhouse
copying playhouse/postgres_ext.py -> build/lib.linux-x86_64-2.7/playhouse
running build_ext
building 'playhouse._speedups' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/playhouse
cc -O2 -fPIC -Wimplicit -I/home/username/venvdirectory/test_pypy_peewee/include -c playhouse/_speedups.c -o build/temp.linux-x86_64-2.7/playhouse/_speedups.o
playhouse/_speedups.c: In function ‘__pyx_f_7cpython_8datetime_time_tzinfo’:
playhouse/_speedups.c:6969:46: error: ‘PyDateTime_Time {aka struct <anonymous>}’ has no member named ‘hastzinfo’
__pyx_t_1 = (((PyDateTime_Time *)__pyx_v_o)->hastzinfo != 0);
^
In file included from /home/username/venvdirectory/test_pypy_peewee/include/Python.h:86:0,
from playhouse/_speedups.c:4:
playhouse/_speedups.c:6980:61: error: ‘PyDateTime_Time {aka struct <anonymous>}’ has no member named ‘tzinfo’
__Pyx_INCREF(((PyObject *)((PyDateTime_Time *)__pyx_v_o)->tzinfo));
^
/home/username/venvdirectory/test_pypy_peewee/include/object.h:50:40: note: in definition of macro ‘Py_INCREF’
#define Py_INCREF(ob) (((PyObject *)(ob))->ob_refcnt++)
^
playhouse/_speedups.c:6980:5: note: in expansion of macro ‘__Pyx_INCREF’
__Pyx_INCREF(((PyObject *)((PyDateTime_Time *)__pyx_v_o)->tzinfo));
^
playhouse/_speedups.c:6981:58: error: ‘PyDateTime_Time {aka struct <anonymous>}’ has no member named ‘tzinfo’
__pyx_r = ((PyObject *)((PyDateTime_Time *)__pyx_v_o)->tzinfo);
^
playhouse/_speedups.c: In function ‘__pyx_f_7cpython_8datetime_datetime_tzinfo’:
playhouse/_speedups.c:7043:50: error: ‘PyDateTime_DateTime {aka struct <anonymous>}’ has no member named ‘hastzinfo’
__pyx_t_1 = (((PyDateTime_DateTime *)__pyx_v_o)->hastzinfo != 0);
^
In file included from /home/username/venvdirectory/test_pypy_peewee/include/Python.h:86:0,
from playhouse/_speedups.c:4:
playhouse/_speedups.c:7054:65: error: ‘PyDateTime_DateTime {aka struct <anonymous>}’ has no member named ‘tzinfo’
__Pyx_INCREF(((PyObject *)((PyDateTime_DateTime *)__pyx_v_o)->tzinfo));
^
/home/username/venvdirectory/test_pypy_peewee/include/object.h:50:40: note: in definition of macro ‘Py_INCREF’
#define Py_INCREF(ob) (((PyObject *)(ob))->ob_refcnt++)
^
playhouse/_speedups.c:7054:5: note: in expansion of macro ‘__Pyx_INCREF’
__Pyx_INCREF(((PyObject *)((PyDateTime_DateTime *)__pyx_v_o)->tzinfo));
^
playhouse/_speedups.c:7055:62: error: ‘PyDateTime_DateTime {aka struct <anonymous>}’ has no member named ‘tzinfo’
__pyx_r = ((PyObject *)((PyDateTime_DateTime *)__pyx_v_o)->tzinfo);
^
playhouse/_speedups.c: In function ‘__pyx_f_7cpython_8datetime_timedelta_days’:
playhouse/_speedups.c:7634:44: error: ‘PyDateTime_Delta {aka struct <anonymous>}’ has no member named ‘days’
__pyx_r = ((PyDateTime_Delta *)__pyx_v_o)->days;
^
playhouse/_speedups.c: In function ‘__pyx_f_7cpython_8datetime_timedelta_seconds’:
playhouse/_speedups.c:7671:44: error: ‘PyDateTime_Delta {aka struct <anonymous>}’ has no member named ‘seconds’
__pyx_r = ((PyDateTime_Delta *)__pyx_v_o)->seconds;
^
playhouse/_speedups.c: In function ‘__pyx_f_7cpython_8datetime_timedelta_microseconds’:
playhouse/_speedups.c:7705:44: error: ‘PyDateTime_Delta {aka struct <anonymous>}’ has no member named ‘microseconds’
__pyx_r = ((PyDateTime_Delta *)__pyx_v_o)->microseconds;
^
error: command 'cc' failed with exit status 1
----------------------------------------
Failed building wheel for peewee
Running setup.py clean for peewee
Failed to build peewee
Installing collected packages: peewee
Running setup.py install for peewee ... error
Complete output from command /home/username/venvdirectory/test_pypy_peewee/bin/pypy -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-Pmwto8/peewee/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-KnZojh-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/username/venvdirectory/test_pypy_peewee/include/site/python2.7/peewee:
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
copying peewee.py -> build/lib.linux-x86_64-2.7
copying pwiz.py -> build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/playhouse
copying playhouse/pool.py -> build/lib.linux-x86_64-2.7/playhouse
copying playhouse/gfk.py -> build/lib.linux-x86_64-2.7/playhouse
copying playhouse/berkeleydb.py -> build/lib.linux-x86_64-2.7/playhouse
copying playhouse/kv.py -> build/lib.linux-x86_64-2.7/playhouse
copying playhouse/reflection.py -> build/lib.linux-x86_64-2.7/playhouse
copying playhouse/csv_loader.py -> build/lib.linux-x86_64-2.7/playhouse
copying playhouse/djpeewee.py -> build/lib.linux-x86_64-2.7/playhouse
copying playhouse/hybrid.py -> build/lib.linux-x86_64-2.7/playhouse
copying playhouse/test_utils.py -> build/lib.linux-x86_64-2.7/playhouse
copying playhouse/signals.py -> build/lib.linux-x86_64-2.7/playhouse
copying playhouse/sqlcipher_ext.py -> build/lib.linux-x86_64-2.7/playhouse
copying playhouse/migrate.py -> build/lib.linux-x86_64-2.7/playhouse
copying playhouse/db_url.py -> build/lib.linux-x86_64-2.7/playhouse
copying playhouse/shortcuts.py -> build/lib.linux-x86_64-2.7/playhouse
copying playhouse/read_slave.py -> build/lib.linux-x86_64-2.7/playhouse
copying playhouse/csv_utils.py -> build/lib.linux-x86_64-2.7/playhouse
copying playhouse/dataset.py -> build/lib.linux-x86_64-2.7/playhouse
copying playhouse/__init__.py -> build/lib.linux-x86_64-2.7/playhouse
copying playhouse/apsw_ext.py -> build/lib.linux-x86_64-2.7/playhouse
copying playhouse/fields.py -> build/lib.linux-x86_64-2.7/playhouse
copying playhouse/sqlite_udf.py -> build/lib.linux-x86_64-2.7/playhouse
copying playhouse/flask_utils.py -> build/lib.linux-x86_64-2.7/playhouse
copying playhouse/sqlite_ext.py -> build/lib.linux-x86_64-2.7/playhouse
copying playhouse/postgres_ext.py -> build/lib.linux-x86_64-2.7/playhouse
running build_ext
building 'playhouse._speedups' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/playhouse
cc -O2 -fPIC -Wimplicit -I/home/username/venvdirectory/test_pypy_peewee/include -c playhouse/_speedups.c -o build/temp.linux-x86_64-2.7/playhouse/_speedups.o
playhouse/_speedups.c: In function ‘__pyx_f_7cpython_8datetime_time_tzinfo’:
playhouse/_speedups.c:6969:46: error: ‘PyDateTime_Time {aka struct <anonymous>}’ has no member named ‘hastzinfo’
__pyx_t_1 = (((PyDateTime_Time *)__pyx_v_o)->hastzinfo != 0);
^
In file included from /home/username/venvdirectory/test_pypy_peewee/include/Python.h:86:0,
from playhouse/_speedups.c:4:
playhouse/_speedups.c:6980:61: error: ‘PyDateTime_Time {aka struct <anonymous>}’ has no member named ‘tzinfo’
__Pyx_INCREF(((PyObject *)((PyDateTime_Time *)__pyx_v_o)->tzinfo));
^
/home/username/venvdirectory/test_pypy_peewee/include/object.h:50:40: note: in definition of macro ‘Py_INCREF’
#define Py_INCREF(ob) (((PyObject *)(ob))->ob_refcnt++)
^
playhouse/_speedups.c:6980:5: note: in expansion of macro ‘__Pyx_INCREF’
__Pyx_INCREF(((PyObject *)((PyDateTime_Time *)__pyx_v_o)->tzinfo));
^
playhouse/_speedups.c:6981:58: error: ‘PyDateTime_Time {aka struct <anonymous>}’ has no member named ‘tzinfo’
__pyx_r = ((PyObject *)((PyDateTime_Time *)__pyx_v_o)->tzinfo);
^
playhouse/_speedups.c: In function ‘__pyx_f_7cpython_8datetime_datetime_tzinfo’:
playhouse/_speedups.c:7043:50: error: ‘PyDateTime_DateTime {aka struct <anonymous>}’ has no member named ‘hastzinfo’
__pyx_t_1 = (((PyDateTime_DateTime *)__pyx_v_o)->hastzinfo != 0);
^
In file included from /home/username/venvdirectory/test_pypy_peewee/include/Python.h:86:0,
from playhouse/_speedups.c:4:
playhouse/_speedups.c:7054:65: error: ‘PyDateTime_DateTime {aka struct <anonymous>}’ has no member named ‘tzinfo’
__Pyx_INCREF(((PyObject *)((PyDateTime_DateTime *)__pyx_v_o)->tzinfo));
^
/home/username/venvdirectory/test_pypy_peewee/include/object.h:50:40: note: in definition of macro ‘Py_INCREF’
#define Py_INCREF(ob) (((PyObject *)(ob))->ob_refcnt++)
^
playhouse/_speedups.c:7054:5: note: in expansion of macro ‘__Pyx_INCREF’
__Pyx_INCREF(((PyObject *)((PyDateTime_DateTime *)__pyx_v_o)->tzinfo));
^
playhouse/_speedups.c:7055:62: error: ‘PyDateTime_DateTime {aka struct <anonymous>}’ has no member named ‘tzinfo’
__pyx_r = ((PyObject *)((PyDateTime_DateTime *)__pyx_v_o)->tzinfo);
^
playhouse/_speedups.c: In function ‘__pyx_f_7cpython_8datetime_timedelta_days’:
playhouse/_speedups.c:7634:44: error: ‘PyDateTime_Delta {aka struct <anonymous>}’ has no member named ‘days’
__pyx_r = ((PyDateTime_Delta *)__pyx_v_o)->days;
^
playhouse/_speedups.c: In function ‘__pyx_f_7cpython_8datetime_timedelta_seconds’:
playhouse/_speedups.c:7671:44: error: ‘PyDateTime_Delta {aka struct <anonymous>}’ has no member named ‘seconds’
__pyx_r = ((PyDateTime_Delta *)__pyx_v_o)->seconds;
^
playhouse/_speedups.c: In function ‘__pyx_f_7cpython_8datetime_timedelta_microseconds’:
playhouse/_speedups.c:7705:44: error: ‘PyDateTime_Delta {aka struct <anonymous>}’ has no member named ‘microseconds’
__pyx_r = ((PyDateTime_Delta *)__pyx_v_o)->microseconds;
^
error: command 'cc' failed with exit status 1
----------------------------------------
Command "/home/username/venvdirectory/test_pypy_peewee/bin/pypy -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-Pmwto8/peewee/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-KnZojh-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/username/venvdirectory/test_pypy_peewee/include/site/python2.7/peewee" failed with error code 1 in /tmp/pip-build-Pmwto8/peewee/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment