Visdom: python example goes well but lua example failed

Created on 20 Oct 2017  Â·  12Comments  Â·  Source: fossasia/visdom

th

vis = require 'visdom'()
vis.ipv6 = false
vis:text{text = 'Hello, world!'}

I also added LocalForward 127.0.0.1:8097 127.0.0.1:8097 at the start of ~/.ssh/config file.
when I post the message by vis:text{text = 'Hello, world!'}, error occured like follows:

ERROR:tornado.application:Uncaught exception POST /events (127.0.0.1)
HTTPServerRequest(protocol='http', host='localhost', method='POST', uri='/events', version='HTTP/1.1', remote_ip='127.0.0.1', headers={'Content-Length': '159', 'Host': 'localhost', 'Te': 'trailers', 'Content-Type': 'application/text', 'Connection': 'close, TE', 'User-Agent': 'LuaSocket 3.0-rc1'})
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/tornado/web.py", line 1332, in _execute
    result = method(*self.path_args, **self.path_kwargs)
  File "/usr/local/lib/python2.7/dist-packages/visdom/server.py", line 253, in post
    ptype = args['data'][0]['type']
KeyError: u'data'
ERROR:root:ERROR: 500: {'exc_info': (<type 'exceptions.KeyError'>, KeyError(u'data',), <traceback object at 0x7faa9dff2290>)}
ERROR:tornado.access:500 POST /events (127.0.0.1) 1.02ms

Can anyone tell me why and how to solve it, Thank you very much in advance!

Most helpful comment

Good job, this command solved my issue.
Thank you very much for your great work!

All 12 comments

Hi @geekvc! How did you install visdom? What version are you running? It's possible that this is a discrepancy between what is currently in the pip package and what is in our github project

I installed visdom by pip install visdom
My runing version is visdom-0.1.5
It seems to be a version difference
and I sudo pip uninstall visdom successfully
and luarocks remove visdom successfully
and git clone https://github.com/facebookresearch/visdom.git

$ sudo pip install -e .
The directory '/home/wangty/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/wangty/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Obtaining file:///home/wangty/visdom
Requirement already satisfied: numpy in /usr/local/lib/python2.7/dist-packages (from visdom==0.1.6)
Requirement already satisfied: pillow in /usr/local/lib/python2.7/dist-packages (from visdom==0.1.6)
Requirement already satisfied: requests in /usr/local/lib/python2.7/dist-packages (from visdom==0.1.6)
Requirement already satisfied: tornado in /usr/local/lib/python2.7/dist-packages (from visdom==0.1.6)
Requirement already satisfied: pyzmq in /usr/local/lib/python2.7/dist-packages (from visdom==0.1.6)
Requirement already satisfied: six in /usr/local/lib/python2.7/dist-packages (from visdom==0.1.6)
Requirement already satisfied: torchfile in /usr/local/lib/python2.7/dist-packages (from visdom==0.1.6)
Requirement already satisfied: olefile in /usr/local/lib/python2.7/dist-packages (from pillow->visdom==0.1.6)
Requirement already satisfied: certifi in /usr/local/lib/python2.7/dist-packages (from tornado->visdom==0.1.6)
Requirement already satisfied: backports.ssl_match_hostname in /usr/local/lib/python2.7/dist-packages (from tornado->visdom==0.1.6)
Installing collected packages: visdom
  Found existing installation: visdom 0.1.6
    Can't uninstall 'visdom'. No files were found to uninstall.
  Running setup.py develop for visdom
Successfully installed visdom

It said Found existing installation: visdom 0.1.6
but, when I tested with python

$ python
Python 2.7.6 (default, Oct 26 2016, 20:30:19)
[GCC 4.8.4] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import visdom
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named visdom

I also tried the command sudo easy_install .
error like collect2: error: ld returned 1 exit status occured.
The complete output as follows:

Processing .
Writing /home/wangty/visdom/setup.cfg
Running setup.py -q bdist_egg --dist-dir /home/wangty/visdom/egg-dist-tmp-i6x5jk2_
/usr/local/lib/python3.4/dist-packages/setuptools/dist.py:336: UserWarning: Normalizing '0.1.06' to '0.1.6'
  normalized_version,
warning: no previously-included files matching '__pycache__' found under directory '*'
warning: no previously-included files matching '*.py[co]' found under directory '*'
removing '/usr/local/lib/python3.4/dist-packages/visdom-0.1.6-py3.4.egg' (and everything under it)
creating /usr/local/lib/python3.4/dist-packages/visdom-0.1.6-py3.4.egg
Extracting visdom-0.1.6-py3.4.egg to /usr/local/lib/python3.4/dist-packages
visdom 0.1.6 is already the active version in easy-install.pth

Installed /usr/local/lib/python3.4/dist-packages/visdom-0.1.6-py3.4.egg
Processing dependencies for visdom==0.1.6
Searching for pyzmq
Reading https://pypi.python.org/simple/pyzmq/
Downloading https://pypi.python.org/packages/c9/af/f9547db392784b30767d2d931fb0b818587c02756e9e255e93cd66eb10a4/pyzmq-17.0.0b1.tar.gz           #md5=ad2bfc09dab4f6b9a40da111ba95b518
Best match: pyzmq 17.0.0b1
Processing pyzmq-17.0.0b1.tar.gz
Writing /tmp/easy_install-4o5hv1fg/pyzmq-17.0.0b1/setup.cfg
Running pyzmq-17.0.0b1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-4o5hv1fg/pyzmq-17.0.0b1/egg-dist-tmp-mb2vgy50
/usr/local/lib/python3.4/dist-packages/setuptools/dist.py:336: UserWarning: Normalizing '17.0.0.b1' to '17.0.0b1'
  normalized_version,
Generating grammar tables from /usr/lib/python3.4/lib2to3/Grammar.txt
Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
warning: no files found matching 'tox.ini'
no previously-included directories found matching 'docs/build'
no previously-included directories found matching 'docs/gh-pages'
warning: no previously-included files found matching 'bundled/zeromq/src/Makefile*'
warning: no previously-included files found matching 'bundled/zeromq/src/platform.hpp'
warning: no previously-included files found matching 'zmq/libzmq*'
warning: no previously-included files matching '.deps/*' found anywhere in distribution
warning: no previously-included files matching '*.so' found anywhere in distribution
warning: no previously-included files matching '*.pyd' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '.git*' found anywhere in distribution
warning: no previously-included files matching '.DS_Store' found anywhere in distribution
warning: no previously-included files matching '.mailmap' found anywhere in distribution
warning: no previously-included files matching 'Makefile.am' found anywhere in distribution
warning: no previously-included files matching 'Makefile.in' found anywhere in distribution
Settings obtained from pkg-config: {'libraries': ['zmq'], 'library_dirs': [], 'include_dirs': []}
{'libraries': ['zmq'], 'runtime_library_dirs': [], 'include_dirs': [], 'extra_link_args': [], 'library_dirs': []}
************************************************
Configure: Autodetecting ZMQ settings...
    Custom ZMQ dir:
build/temp.linux-x86_64-3.4/scratch/tmp/easy_install-4o5hv1fg/pyzmq-17.0.0b1/temp/timer_createnhiv6h7e.o: In function `main':
timer_createnhiv6h7e.c:(.text+0x15): undefined reference to `timer_create'
collect2: error: ld returned 1 exit status
    ZMQ version detected: 4.0.4
Warning: Detected ZMQ version: 4.0.4, but pyzmq targets ZMQ 4.1.6.
Warning: libzmq features and fixes introduced after 4.0.4 will be unavailable.
************************************************
************************************************
zmq/devices/monitoredqueue.c: In function ‘__pyx_pw_3zmq_7devices_14monitoredqueue_1monitored_queue’:
zmq/devices/monitoredqueue.c:1568:33: warning: ‘__pyx_v_msg_c_len’ may be used uninitialized in this function [-Wmaybe-uninitialized]
   __pyx_v_rc = zmq_msg_init_size((&__pyx_v_in_msg), __pyx_v_msg_c_len);
                                 ^
zmq/devices/monitoredqueue.c:1461:14: note: ‘__pyx_v_msg_c_len’ was declared here
   Py_ssize_t __pyx_v_msg_c_len;
              ^
zmq/backend/cython/message.c: In function ‘__pyx_pf_3zmq_7backend_6cython_7message_5Frame_18set’:
zmq/backend/cython/message.c:3867:16: warning: variable ‘__pyx_v_buf’ set but not used [-Wunused-but-set-variable]
   const char * __pyx_v_buf;
                ^
zmq/backend/cython/message.c:3866:18: warning: variable ‘__pyx_v_routing_id’ set but not used [-Wunused-but-set-variable]
   pyzmq_uint32_t __pyx_v_routing_id;
                  ^
zmq/backend/cython/message.c: In function ‘__pyx_pf_3zmq_7backend_6cython_7message_5Frame_20get’:
zmq/backend/cython/message.c:4103:9: warning: variable ‘__pyx_v_property_c’ set but not used [-Wunused-but-set-variable]
   char *__pyx_v_property_c;
         ^
zmq/backend/cython/socket.c: In function ‘__pyx_pf_3zmq_7backend_6cython_6socket_6Socket_22join’:
zmq/backend/cython/socket.c:7238:16: warning: variable ‘__pyx_v_c_group’ set but not used [-Wunused-but-set-variable]
   const char * __pyx_v_c_group;
                ^
zmq/backend/cython/socket.c: In function ‘__pyx_pf_3zmq_7backend_6cython_6socket_6Socket_24leave’:
zmq/backend/cython/socket.c:7420:16: warning: variable ‘__pyx_v_c_group’ set but not used [-Wunused-but-set-variable]
   const char * __pyx_v_c_group;
                ^
creating /usr/local/lib/python3.4/dist-packages/pyzmq-17.0.0b1-py3.4-linux-x86_64.egg
Extracting pyzmq-17.0.0b1-py3.4-linux-x86_64.egg to /usr/local/lib/python3.4/dist-packages
Adding pyzmq 17.0.0b1 to easy-install.pth file

Installed /usr/local/lib/python3.4/dist-packages/pyzmq-17.0.0b1-py3.4-linux-x86_64.egg
Searching for tornado
Reading https://pypi.python.org/simple/tornado/
Downloading https://pypi.python.org/packages/fa/14/52e2072197dd0e63589e875ebf5984c91a027121262aa08f71a49b958359/tornado-4.5.2.tar.gz#           md5=ab41f6765d58089f30ba51e8ec084a7b
Best match: tornado 4.5.2
Processing tornado-4.5.2.tar.gz
Writing /tmp/easy_install-zjdiba_k/tornado-4.5.2/setup.cfg
Running tornado-4.5.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-zjdiba_k/tornado-4.5.2/egg-dist-tmp-j13zx250
Generating grammar tables from /usr/lib/python3.4/lib2to3/Grammar.txt
Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
no previously-included directories found matching 'docs/build'
warning: no files found matching 'tornado/test/README'
zip_safe flag not set; analyzing archive contents...
tornado.test.__pycache__.httpserver_test.cpython-34: module references __file__
tornado.test.__pycache__.locale_test.cpython-34: module references __file__
tornado.test.__pycache__.options_test.cpython-34: module references __file__
tornado.test.__pycache__.iostream_test.cpython-34: module references __file__
tornado.test.__pycache__.template_test.cpython-34: module references __file__
tornado.test.__pycache__.web_test.cpython-34: module references __file__
tornado.__pycache__.autoreload.cpython-34: module references __file__
tornado.__pycache__.options.cpython-34: module references __file__
tornado.__pycache__.speedups.cpython-34: module references __file__
tornado.__pycache__.testing.cpython-34: module references __file__
creating /usr/local/lib/python3.4/dist-packages/tornado-4.5.2-py3.4-linux-x86_64.egg
Extracting tornado-4.5.2-py3.4-linux-x86_64.egg to /usr/local/lib/python3.4/dist-packages
Adding tornado 4.5.2 to easy-install.pth file

Installed /usr/local/lib/python3.4/dist-packages/tornado-4.5.2-py3.4-linux-x86_64.egg
Searching for pillow
Reading https://pypi.python.org/simple/pillow/
Downloading https://pypi.python.org/packages/e0/82/ec499c78bfe4ecaa91c2f3000040451d187ed0a816d58b8543e29c48827f/Pillow-4.3.0.tar.gz#m           d5=ac8904e17922c8a699ff7d6cb0cf89cd
Best match: Pillow 4.3.0
Processing Pillow-4.3.0.tar.gz
Writing /tmp/easy_install-noet07vq/Pillow-4.3.0/setup.cfg
Running Pillow-4.3.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-noet07vq/Pillow-4.3.0/egg-dist-tmp-9ifs212a
Generating grammar tables from /usr/lib/python3.4/lib2to3/Grammar.txt
Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
warning: no files found matching '*.sh'
no previously-included directories found matching 'docs/_static'
warning: no previously-included files found matching '.coveragerc'
warning: no previously-included files found matching 'codecov.yml'
warning: no previously-included files found matching '.editorconfig'
warning: no previously-included files found matching '.landscape.yaml'
warning: no previously-included files found matching '.travis'
warning: no previously-included files found matching '.travis/*'
warning: no previously-included files found matching 'appveyor.yml'
warning: no previously-included files found matching 'build_children.sh'
warning: no previously-included files found matching 'tox.ini'
warning: no previously-included files matching '.git*' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.so' found anywhere in distribution
Building using 4 processes
Building using 4 processes
Building using 4 processes
Building using 4 processes
Building using 4 processes
--------------------------------------------------------------------
PIL SETUP SUMMARY
--------------------------------------------------------------------
version      Pillow 4.3.0
platform     linux 3.4.3 (default, Nov 17 2016, 01:08:31)
             [GCC 4.8.4]
--------------------------------------------------------------------
--- JPEG support available
*** OPENJPEG (JPEG2000) support not available
--- ZLIB (PNG/ZIP) support available
*** LIBIMAGEQUANT support not available
--- LIBTIFF support available
--- FREETYPE2 support available
*** RAQM support not available
*** LITTLECMS2 support not available
*** WEBP support not available
*** WEBPMUX support not available
--------------------------------------------------------------------
To add a missing option, make sure you have the required
library and headers.
See https://pillow.readthedocs.io/en/latest/installation.html#building-from-source

To check the build, run the selftest.py script.

Moving Pillow-4.3.0-py3.4-linux-x86_64.egg to /usr/local/lib/python3.4/dist-packages
Adding Pillow 4.3.0 to easy-install.pth file
Installing enhancer.py script to /usr/local/bin
Installing viewer.py script to /usr/local/bin
Installing painter.py script to /usr/local/bin
Installing explode.py script to /usr/local/bin
Installing player.py script to /usr/local/bin
Installing pilconvert.py script to /usr/local/bin
Installing thresholder.py script to /usr/local/bin
Installing pildriver.py script to /usr/local/bin
Installing pilfile.py script to /usr/local/bin
Installing pilfont.py script to /usr/local/bin
Installing gifmaker.py script to /usr/local/bin
Installing pilprint.py script to /usr/local/bin

Installed /usr/local/lib/python3.4/dist-packages/Pillow-4.3.0-py3.4-linux-x86_64.egg
Searching for numpy
Reading https://pypi.python.org/simple/numpy/
Downloading https://pypi.python.org/packages/bf/2d/005e45738ab07a26e621c9c12dc97381f372e06678adf7dc3356a69b5960/numpy-1.13.3.zip#md5=           300a6f0528122128ac07c6deb5c95917
Best match: numpy 1.13.3
Processing numpy-1.13.3.zip
Writing /tmp/easy_install-vn088p96/numpy-1.13.3/setup.cfg
Running numpy-1.13.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-vn088p96/numpy-1.13.3/egg-dist-tmp-9nxo0b60
Running from numpy source directory.
/tmp/easy_install-vn088p96/numpy-1.13.3/setup.py:367: UserWarning: Unrecognized setuptools command, proceeding with generating Cython            sources and expanding templates
  run_build = parse_setuppy_commands()
non-existing path in 'numpy/distutils': 'site.cfg'
/tmp/easy_install-vn088p96/numpy-1.13.3/temp/tmpqb1402f7/source.c:1:1: warning: function declaration isn’t a prototype [-Wstrict-prot           otypes]
 void zungqr();
 ^
/tmp/easy_install-vn088p96/numpy-1.13.3/temp/tmpqb1402f7/source.c: In function ‘main’:
/tmp/easy_install-vn088p96/numpy-1.13.3/temp/tmpqb1402f7/source.c:4:13: warning: implicit declaration of function ‘zungqr_’ [-Wimplic           it-function-declaration]
             zungqr_();
             ^
/tmp/easy_install-vn088p96/numpy-1.13.3/temp/tmpqb1402f7/tmp/easy_install-vn088p96/numpy-1.13.3/temp/tmpqb1402f7/source.o: In functio           n `main':
/tmp/easy_install-vn088p96/numpy-1.13.3/temp/tmpqb1402f7/source.c:4: undefined reference to `zungqr_'
collect2: error: ld returned 1 exit status
/tmp/easy_install-vn088p96/numpy-1.13.3/temp/tmpqb1402f7/tmp/easy_install-vn088p96/numpy-1.13.3/temp/tmpqb1402f7/source.o: In functio           n `main':
/tmp/easy_install-vn088p96/numpy-1.13.3/temp/tmpqb1402f7/source.c:4: undefined reference to `zungqr_'
collect2: error: ld returned 1 exit status
ATLAS version 3.10.1 built by buildd on Mon Feb  3 23:10:50 UTC 2014:
   UNAME    : Linux toyol 3.2.0-54-generic #82-Ubuntu SMP Tue Sep 10 20:08:42 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
   INSTFLG  : -1 0 -a 1 -l 1
   ARCHDEFS : -DATL_OS_Linux -DATL_ARCH_x86SSE2 -DATL_CPUMHZ=1596 -DATL_SSE2 -DATL_SSE1 -DATL_USE64BITS -DATL_GAS_x8664
   F2CDEFS  : -DAdd_ -DF77_INTEGER=int -DStringSunStyle
   CACHEEDGE: 1048576
   F77      : /usr/bin/x86_64-linux-gnu-gfortran, version GNU Fortran (Ubuntu/Linaro 4.8.2-14ubuntu4) 4.8.2
   F77FLAGS : -fomit-frame-pointer -mfpmath=sse -O2 -msse2 -fPIC -m64
   SMC      : /usr/bin/c99-gcc, version gcc (Ubuntu/Linaro 4.8.2-14ubuntu4) 4.8.2
   SMCFLAGS : -fomit-frame-pointer -mfpmath=sse -O2 -msse2 -fPIC -m64
   SKC      : /usr/bin/c99-gcc, version gcc (Ubuntu/Linaro 4.8.2-14ubuntu4) 4.8.2
   SKCFLAGS : -fomit-frame-pointer -mfpmath=sse -O2 -msse2 -fPIC -m64
/usr/lib/python3.4/distutils/dist.py:260: UserWarning: Unknown distribution option: 'define_macros'
  warnings.warn(msg)
_configtest.c:1:5: warning: conflicting types for built-in function ‘exp’ [enabled by default]
 int exp (void);
     ^
_configtest.o: In function `main':
/tmp/easy_install-vn088p96/numpy-1.13.3/_configtest.c:6: undefined reference to `exp'
collect2: error: ld returned 1 exit status
_configtest.o: In function `main':
/tmp/easy_install-vn088p96/numpy-1.13.3/_configtest.c:6: undefined reference to `exp'
collect2: error: ld returned 1 exit status
_configtest.c:1:5: warning: conflicting types for built-in function ‘exp’ [enabled by default]
 int exp (void);
     ^
_configtest.c:1:24: fatal error: sys/endian.h: No such file or directory
 #include <sys/endian.h>
                        ^
compilation terminated.
_configtest.c:1:24: fatal error: sys/endian.h: No such file or directory
 #include <sys/endian.h>
                        ^
compilation terminated.
_configtest.c: In function ‘main’:
_configtest.c:5:16: warning: variable ‘test_array’ set but not used [-Wunused-but-set-variable]
     static int test_array [1 - 2 * !(((long) (sizeof (npy_check_sizeof_type))) >= 0)];
                ^
_configtest.c: In function ‘main’:
_configtest.c:5:16: warning: variable ‘test_array’ set but not used [-Wunused-but-set-variable]
     static int test_array [1 - 2 * !(((long) (sizeof (npy_check_sizeof_type))) == 4)];
                ^
_configtest.c: In function ‘main’:
_configtest.c:5:16: warning: variable ‘test_array’ set but not used [-Wunused-but-set-variable]
     static int test_array [1 - 2 * !(((long) (sizeof (npy_check_sizeof_type))) >= 0)];
                ^
_configtest.c: In function ‘main’:
_configtest.c:5:16: warning: variable ‘test_array’ set but not used [-Wunused-but-set-variable]
     static int test_array [1 - 2 * !(((long) (sizeof (npy_check_sizeof_type))) == 8)];
                ^
_configtest.c: In function ‘main’:
_configtest.c:5:16: warning: variable ‘test_array’ set but not used [-Wunused-but-set-variable]
     static int test_array [1 - 2 * !(((long) (sizeof (npy_check_sizeof_type))) >= 0)];
                ^
_configtest.c: In function ‘main’:
_configtest.c:5:16: warning: variable ‘test_array’ set but not used [-Wunused-but-set-variable]
     static int test_array [1 - 2 * !(((long) (sizeof (npy_check_sizeof_type))) == 8)];
                ^
_configtest.c: In function ‘main’:
_configtest.c:5:16: warning: variable ‘test_array’ set but not used [-Wunused-but-set-variable]
     static int test_array [1 - 2 * !(((long) (sizeof (npy_check_sizeof_type))) >= 0)];
                ^
_configtest.c: In function ‘main’:
_configtest.c:5:16: warning: variable ‘test_array’ set but not used [-Wunused-but-set-variable]
     static int test_array [1 - 2 * !(((long) (sizeof (npy_check_sizeof_type))) == 16)];
                ^
_configtest.c: In function ‘main’:
_configtest.c:7:12: error: ‘SIZEOF_LONGDOUBLE’ undeclared (first use in this function)
     (void) SIZEOF_LONGDOUBLE;
            ^
_configtest.c:7:12: note: each undeclared identifier is reported only once for each function it appears in
_configtest.c: In function ‘main’:
_configtest.c:7:12: error: ‘SIZEOF_LONGDOUBLE’ undeclared (first use in this function)
     (void) SIZEOF_LONGDOUBLE;
            ^
_configtest.c:7:12: note: each undeclared identifier is reported only once for each function it appears in
_configtest.c: In function ‘main’:
_configtest.c:5:16: warning: variable ‘test_array’ set but not used [-Wunused-but-set-variable]
     static int test_array [1 - 2 * !(((long) (sizeof (npy_check_sizeof_type))) >= 0)];
                ^
_configtest.c: In function ‘main’:
_configtest.c:5:16: warning: variable ‘test_array’ set but not used [-Wunused-but-set-variable]
     static int test_array [1 - 2 * !(((long) (sizeof (npy_check_sizeof_type))) == 16)];
                ^
_configtest.c: In function ‘main’:
_configtest.c:5:16: warning: variable ‘test_array’ set but not used [-Wunused-but-set-variable]
     static int test_array [1 - 2 * !(((long) (sizeof (npy_check_sizeof_type))) >= 0)];
                ^
_configtest.c: In function ‘main’:
_configtest.c:5:16: warning: variable ‘test_array’ set but not used [-Wunused-but-set-variable]
     static int test_array [1 - 2 * !(((long) (sizeof (npy_check_sizeof_type))) == 32)];
                ^
_configtest.c: In function ‘main’:
_configtest.c:7:16: warning: variable ‘test_array’ set but not used [-Wunused-but-set-variable]
     static int test_array [1 - 2 * !(((long) (sizeof (npy_check_sizeof_type))) >= 0)];
                ^
_configtest.c: In function ‘main’:
_configtest.c:7:16: warning: variable ‘test_array’ set but not used [-Wunused-but-set-variable]
     static int test_array [1 - 2 * !(((long) (sizeof (npy_check_sizeof_type))) == 8)];
                ^
_configtest.c: In function ‘main’:
_configtest.c:7:16: warning: variable ‘test_array’ set but not used [-Wunused-but-set-variable]
     static int test_array [1 - 2 * !(((long) (sizeof (npy_check_sizeof_type))) >= 0)];
                ^
_configtest.c: In function ‘main’:
_configtest.c:7:16: warning: variable ‘test_array’ set but not used [-Wunused-but-set-variable]
     static int test_array [1 - 2 * !(((long) (sizeof (npy_check_sizeof_type))) == 8)];
                ^
_configtest.c: In function ‘main’:
_configtest.c:7:16: warning: variable ‘test_array’ set but not used [-Wunused-but-set-variable]
     static int test_array [1 - 2 * !(((long) (sizeof (npy_check_sizeof_type))) >= 0)];
                ^
_configtest.c: In function ‘main’:
_configtest.c:7:16: warning: variable ‘test_array’ set but not used [-Wunused-but-set-variable]
     static int test_array [1 - 2 * !(((long) (sizeof (npy_check_sizeof_type))) == 8)];
                ^
_configtest.c: In function ‘main’:
_configtest.c:5:16: warning: variable ‘test_array’ set but not used [-Wunused-but-set-variable]
     static int test_array [1 - 2 * !(((long) (sizeof (npy_check_sizeof_type))) >= 0)];
                ^
_configtest.c: In function ‘main’:
_configtest.c:5:16: warning: variable ‘test_array’ set but not used [-Wunused-but-set-variable]
     static int test_array [1 - 2 * !(((long) (sizeof (npy_check_sizeof_type))) == 8)];
                ^
_configtest.c:1:5: warning: conflicting types for built-in function ‘exp’ [enabled by default]
 int exp (void);
     ^
_configtest.o: In function `main':
/tmp/easy_install-vn088p96/numpy-1.13.3/_configtest.c:6: undefined reference to `exp'
collect2: error: ld returned 1 exit status
_configtest.o: In function `main':
/tmp/easy_install-vn088p96/numpy-1.13.3/_configtest.c:6: undefined reference to `exp'
collect2: error: ld returned 1 exit status
_configtest.c:1:5: warning: conflicting types for built-in function ‘exp’ [enabled by default]
 int exp (void);
     ^
_configtest.c:1:5: warning: conflicting types for built-in function ‘sqrt’ [enabled by default]
 int sqrt (void);
     ^
_configtest.c:2:5: warning: conflicting types for built-in function ‘log10’ [enabled by default]
 int log10 (void);
     ^
_configtest.c:3:5: warning: conflicting types for built-in function ‘cosh’ [enabled by default]
 int cosh (void);
     ^
_configtest.c:4:5: warning: conflicting types for built-in function ‘fmod’ [enabled by default]
 int fmod (void);
     ^
_configtest.c:5:5: warning: conflicting types for built-in function ‘exp’ [enabled by default]
 int exp (void);
     ^
_configtest.c:6:5: warning: conflicting types for built-in function ‘floor’ [enabled by default]
 int floor (void);
     ^
_configtest.c:7:5: warning: conflicting types for built-in function ‘ceil’ [enabled by default]
 int ceil (void);
     ^
_configtest.c:8:5: warning: conflicting types for built-in function ‘atan’ [enabled by default]
 int atan (void);
     ^
_configtest.c:9:5: warning: conflicting types for built-in function ‘asin’ [enabled by default]
 int asin (void);
     ^
_configtest.c:10:5: warning: conflicting types for built-in function ‘modf’ [enabled by default]
 int modf (void);
     ^
_configtest.c:11:5: warning: conflicting types for built-in function ‘sin’ [enabled by default]
 int sin (void);
     ^
_configtest.c:12:5: warning: conflicting types for built-in function ‘log’ [enabled by default]
 int log (void);
     ^
_configtest.c:13:5: warning: conflicting types for built-in function ‘ldexp’ [enabled by default]
 int ldexp (void);
     ^
_configtest.c:14:5: warning: conflicting types for built-in function ‘acos’ [enabled by default]
 int acos (void);
     ^
_configtest.c:15:5: warning: conflicting types for built-in function ‘tan’ [enabled by default]
 int tan (void);
     ^
_configtest.c:16:5: warning: conflicting types for built-in function ‘tanh’ [enabled by default]
 int tanh (void);
     ^
_configtest.c:17:5: warning: conflicting types for built-in function ‘cos’ [enabled by default]
 int cos (void);
     ^
_configtest.c:18:5: warning: conflicting types for built-in function ‘fabs’ [enabled by default]
 int fabs (void);
     ^
_configtest.c:19:5: warning: conflicting types for built-in function ‘sinh’ [enabled by default]
 int sinh (void);
     ^
_configtest.c:20:5: warning: conflicting types for built-in function ‘frexp’ [enabled by default]
 int frexp (void);
     ^
_configtest.c:1:5: warning: conflicting types for built-in function ‘pow’ [enabled by default]
 int pow (void);
     ^
_configtest.c:3:5: warning: conflicting types for built-in function ‘trunc’ [enabled by default]
 int trunc (void);
     ^
_configtest.c:5:5: warning: conflicting types for built-in function ‘log2’ [enabled by default]
 int log2 (void);
     ^
_configtest.c:7:5: warning: conflicting types for built-in function ‘cbrt’ [enabled by default]
 int cbrt (void);
     ^
_configtest.c:8:5: warning: conflicting types for built-in function ‘nextafter’ [enabled by default]
 int nextafter (void);
     ^
_configtest.c:10:5: warning: conflicting types for built-in function ‘exp2’ [enabled by default]
 int exp2 (void);
     ^
_configtest.c:12:5: warning: conflicting types for built-in function ‘atan2’ [enabled by default]
 int atan2 (void);
     ^
_configtest.c:13:5: warning: conflicting types for built-in function ‘rint’ [enabled by default]
 int rint (void);
     ^
_configtest.c: In function ‘main’:
_configtest.c:5:3: warning: statement with no effect [-Wunused-value]
   __builtin_isnan(5.);
   ^
_configtest.c: In function ‘main’:
_configtest.c:5:3: warning: statement with no effect [-Wunused-value]
   __builtin_isinf(5.);
   ^
_configtest.c: In function ‘main’:
_configtest.c:5:3: warning: statement with no effect [-Wunused-value]
   __builtin_isfinite(5.);
   ^
_configtest.c: In function ‘main’:
_configtest.c:5:3: warning: statement with no effect [-Wunused-value]
   __builtin_bswap32(5u);
   ^
_configtest.c: In function ‘main’:
_configtest.c:5:3: warning: statement with no effect [-Wunused-value]
   __builtin_bswap64(5u);
   ^
_configtest.c: In function ‘main’:
_configtest.c:5:3: warning: statement with no effect [-Wunused-value]
   __builtin_expect(5, 0);
   ^
_configtest.c: In function ‘main’:
_configtest.c:5:3: warning: implicit declaration of function ‘__builtin_mul_overflow’ [-Wimplicit-function-declaration]
   __builtin_mul_overflow(5, 5, (int*)5);
   ^
_configtest.o: In function `main':
/tmp/easy_install-vn088p96/numpy-1.13.3/_configtest.c:5: undefined reference to `__builtin_mul_overflow'
collect2: error: ld returned 1 exit status
_configtest.o: In function `main':
/tmp/easy_install-vn088p96/numpy-1.13.3/_configtest.c:5: undefined reference to `__builtin_mul_overflow'
collect2: error: ld returned 1 exit status
_configtest.c: In function ‘main’:
_configtest.c:7:16: warning: unused variable ‘r’ [-Wunused-variable]
   volatile int r = __builtin_cpu_supports("sse");
                ^
_configtest.c:3:0: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas]
 #pragma clang diagnostic error "-Wattributes"
 ^
_configtest.c:8:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
 main()
 ^
_configtest.c:3:0: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas]
 #pragma clang diagnostic error "-Wattributes"
 ^
_configtest.c:8:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
 main()
 ^
_configtest.c:3:0: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas]
 #pragma clang diagnostic error "-Wattributes"
 ^
_configtest.c:8:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
 main()
 ^
_configtest.c:3:0: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas]
 #pragma clang diagnostic error "-Wattributes"
 ^
_configtest.c:8:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
 main()
 ^
_configtest.c:3:0: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas]
 #pragma clang diagnostic error "-Wattributes"
 ^
_configtest.c:8:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
 main()
 ^
_configtest.c:3:0: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas]
 #pragma clang diagnostic error "-Wattributes"
 ^
_configtest.c:8:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
 main()
 ^
_configtest.c:3:0: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas]
 #pragma clang diagnostic error "-Wattributes"
 ^
_configtest.c:5:5: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
 int __declspec(thread) foo;
     ^
_configtest.c: In function ‘__declspec’:
_configtest.c:5:24: error: expected declaration specifiers before ‘foo’
 int __declspec(thread) foo;
                        ^
_configtest.c:9:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
 {
 ^
_configtest.c:11:1: error: expected ‘{’ at end of input
 }
 ^
_configtest.c:11:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
_configtest.c:3:0: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas]
 #pragma clang diagnostic error "-Wattributes"
 ^
_configtest.c:5:5: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
 int __declspec(thread) foo;
     ^
_configtest.c: In function ‘__declspec’:
_configtest.c:5:24: error: expected declaration specifiers before ‘foo’
 int __declspec(thread) foo;
                        ^
_configtest.c:9:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
 {
 ^
_configtest.c:11:1: error: expected ‘{’ at end of input
 }
 ^
_configtest.c:11:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
_configtest.c:1:5: warning: conflicting types for built-in function ‘tanhf’ [enabled by default]
 int tanhf (void);
     ^
_configtest.c:2:5: warning: conflicting types for built-in function ‘powf’ [enabled by default]
 int powf (void);
     ^
_configtest.c:3:5: warning: conflicting types for built-in function ‘ceilf’ [enabled by default]
 int ceilf (void);
     ^
_configtest.c:4:5: warning: conflicting types for built-in function ‘fmodf’ [enabled by default]
 int fmodf (void);
     ^
_configtest.c:5:5: warning: conflicting types for built-in function ‘log1pf’ [enabled by default]
 int log1pf (void);
     ^
_configtest.c:6:5: warning: conflicting types for built-in function ‘exp2f’ [enabled by default]
 int exp2f (void);
     ^
_configtest.c:7:5: warning: conflicting types for built-in function ‘acoshf’ [enabled by default]
 int acoshf (void);
     ^
_configtest.c:8:5: warning: conflicting types for built-in function ‘sqrtf’ [enabled by default]
 int sqrtf (void);
     ^
_configtest.c:9:5: warning: conflicting types for built-in function ‘cosf’ [enabled by default]
 int cosf (void);
     ^
_configtest.c:10:5: warning: conflicting types for built-in function ‘asinf’ [enabled by default]
 int asinf (void);
     ^
_configtest.c:11:5: warning: conflicting types for built-in function ‘atanhf’ [enabled by default]
 int atanhf (void);
     ^
_configtest.c:12:5: warning: conflicting types for built-in function ‘nextafterf’ [enabled by default]
 int nextafterf (void);
     ^
_configtest.c:13:5: warning: conflicting types for built-in function ‘fabsf’ [enabled by default]
 int fabsf (void);
     ^
_configtest.c:14:5: warning: conflicting types for built-in function ‘modff’ [enabled by default]
 int modff (void);
     ^
_configtest.c:15:5: warning: conflicting types for built-in function ‘expf’ [enabled by default]
 int expf (void);
     ^
_configtest.c:16:5: warning: conflicting types for built-in function ‘expm1f’ [enabled by default]
 int expm1f (void);
     ^
_configtest.c:17:5: warning: conflicting types for built-in function ‘copysignf’ [enabled by default]
 int copysignf (void);
     ^
_configtest.c:18:5: warning: conflicting types for built-in function ‘truncf’ [enabled by default]
 int truncf (void);
     ^
_configtest.c:19:5: warning: conflicting types for built-in function ‘sinhf’ [enabled by default]
 int sinhf (void);
     ^
_configtest.c:20:5: warning: conflicting types for built-in function ‘hypotf’ [enabled by default]
 int hypotf (void);
     ^
_configtest.c:21:5: warning: conflicting types for built-in function ‘atan2f’ [enabled by default]
 int atan2f (void);
     ^
_configtest.c:22:5: warning: conflicting types for built-in function ‘acosf’ [enabled by default]
 int acosf (void);
     ^
_configtest.c:23:5: warning: conflicting types for built-in function ‘log2f’ [enabled by default]
 int log2f (void);
     ^
_configtest.c:24:5: warning: conflicting types for built-in function ‘asinhf’ [enabled by default]
 int asinhf (void);
     ^
_configtest.c:25:5: warning: conflicting types for built-in function ‘coshf’ [enabled by default]
 int coshf (void);
     ^
_configtest.c:26:5: warning: conflicting types for built-in function ‘cbrtf’ [enabled by default]
 int cbrtf (void);
     ^
_configtest.c:27:5: warning: conflicting types for built-in function ‘sinf’ [enabled by default]
 int sinf (void);
     ^
_configtest.c:28:5: warning: conflicting types for built-in function ‘floorf’ [enabled by default]
 int floorf (void);
     ^
_configtest.c:29:5: warning: conflicting types for built-in function ‘atanf’ [enabled by default]
 int atanf (void);
     ^
_configtest.c:30:5: warning: conflicting types for built-in function ‘ldexpf’ [enabled by default]
 int ldexpf (void);
     ^
_configtest.c:31:5: warning: conflicting types for built-in function ‘rintf’ [enabled by default]
 int rintf (void);
     ^
_configtest.c:32:5: warning: conflicting types for built-in function ‘tanf’ [enabled by default]
 int tanf (void);
     ^
_configtest.c:33:5: warning: conflicting types for built-in function ‘logf’ [enabled by default]
 int logf (void);
     ^
_configtest.c:34:5: warning: conflicting types for built-in function ‘frexpf’ [enabled by default]
 int frexpf (void);
     ^
_configtest.c:35:5: warning: conflicting types for built-in function ‘log10f’ [enabled by default]
 int log10f (void);
     ^
_configtest.c:1:5: warning: conflicting types for built-in function ‘atanl’ [enabled by default]
 int atanl (void);
     ^
_configtest.c:2:5: warning: conflicting types for built-in function ‘nextafterl’ [enabled by default]
 int nextafterl (void);
     ^
_configtest.c:3:5: warning: conflicting types for built-in function ‘frexpl’ [enabled by default]
 int frexpl (void);
     ^
_configtest.c:4:5: warning: conflicting types for built-in function ‘fabsl’ [enabled by default]
 int fabsl (void);
     ^
_configtest.c:5:5: warning: conflicting types for built-in function ‘asinl’ [enabled by default]
 int asinl (void);
     ^
_configtest.c:6:5: warning: conflicting types for built-in function ‘tanl’ [enabled by default]
 int tanl (void);
     ^
_configtest.c:7:5: warning: conflicting types for built-in function ‘modfl’ [enabled by default]
 int modfl (void);
     ^
_configtest.c:8:5: warning: conflicting types for built-in function ‘cbrtl’ [enabled by default]
 int cbrtl (void);
     ^
_configtest.c:9:5: warning: conflicting types for built-in function ‘ceill’ [enabled by default]
 int ceill (void);
     ^
_configtest.c:10:5: warning: conflicting types for built-in function ‘acoshl’ [enabled by default]
 int acoshl (void);
     ^
_configtest.c:11:5: warning: conflicting types for built-in function ‘rintl’ [enabled by default]
 int rintl (void);
     ^
_configtest.c:12:5: warning: conflicting types for built-in function ‘asinhl’ [enabled by default]
 int asinhl (void);
     ^
_configtest.c:13:5: warning: conflicting types for built-in function ‘exp2l’ [enabled by default]
 int exp2l (void);
     ^
_configtest.c:14:5: warning: conflicting types for built-in function ‘log2l’ [enabled by default]
 int log2l (void);
     ^
_configtest.c:15:5: warning: conflicting types for built-in function ‘acosl’ [enabled by default]
 int acosl (void);
     ^
_configtest.c:16:5: warning: conflicting types for built-in function ‘sinl’ [enabled by default]
 int sinl (void);
     ^
_configtest.c:17:5: warning: conflicting types for built-in function ‘sinhl’ [enabled by default]
 int sinhl (void);
     ^
_configtest.c:18:5: warning: conflicting types for built-in function ‘log1pl’ [enabled by default]
 int log1pl (void);
     ^
_configtest.c:19:5: warning: conflicting types for built-in function ‘expm1l’ [enabled by default]
 int expm1l (void);
     ^
_configtest.c:20:5: warning: conflicting types for built-in function ‘tanhl’ [enabled by default]
 int tanhl (void);
     ^
_configtest.c:21:5: warning: conflicting types for built-in function ‘powl’ [enabled by default]
 int powl (void);
     ^
_configtest.c:22:5: warning: conflicting types for built-in function ‘hypotl’ [enabled by default]
 int hypotl (void);
     ^
_configtest.c:23:5: warning: conflicting types for built-in function ‘coshl’ [enabled by default]
 int coshl (void);
     ^
_configtest.c:24:5: warning: conflicting types for built-in function ‘atanhl’ [enabled by default]
 int atanhl (void);
     ^
_configtest.c:25:5: warning: conflicting types for built-in function ‘ldexpl’ [enabled by default]
 int ldexpl (void);
     ^
_configtest.c:26:5: warning: conflicting types for built-in function ‘logl’ [enabled by default]
 int logl (void);
     ^
_configtest.c:27:5: warning: conflicting types for built-in function ‘cosl’ [enabled by default]
 int cosl (void);
     ^
_configtest.c:28:5: warning: conflicting types for built-in function ‘fmodl’ [enabled by default]
 int fmodl (void);
     ^
_configtest.c:29:5: warning: conflicting types for built-in function ‘sqrtl’ [enabled by default]
 int sqrtl (void);
     ^
_configtest.c:30:5: warning: conflicting types for built-in function ‘copysignl’ [enabled by default]
 int copysignl (void);
     ^
_configtest.c:31:5: warning: conflicting types for built-in function ‘floorl’ [enabled by default]
 int floorl (void);
     ^
_configtest.c:32:5: warning: conflicting types for built-in function ‘truncl’ [enabled by default]
 int truncl (void);
     ^
_configtest.c:33:5: warning: conflicting types for built-in function ‘expl’ [enabled by default]
 int expl (void);
     ^
_configtest.c:34:5: warning: conflicting types for built-in function ‘log10l’ [enabled by default]
 int log10l (void);
     ^
_configtest.c:35:5: warning: conflicting types for built-in function ‘atan2l’ [enabled by default]
 int atan2l (void);
     ^
_configtest.c: In function ‘main’:
_configtest.c:8:12: error: ‘HAVE_DECL_SIGNBIT’ undeclared (first use in this function)
     (void) HAVE_DECL_SIGNBIT;
            ^
_configtest.c:8:12: note: each undeclared identifier is reported only once for each function it appears in
_configtest.c: In function ‘main’:
_configtest.c:8:12: error: ‘HAVE_DECL_SIGNBIT’ undeclared (first use in this function)
     (void) HAVE_DECL_SIGNBIT;
            ^
_configtest.c:8:12: note: each undeclared identifier is reported only once for each function it appears in
_configtest.c:1:5: warning: conflicting types for built-in function ‘ctanh’ [enabled by default]
 int ctanh (void);
     ^
_configtest.c:2:5: warning: conflicting types for built-in function ‘cexp’ [enabled by default]
 int cexp (void);
     ^
_configtest.c:3:5: warning: conflicting types for built-in function ‘cabs’ [enabled by default]
 int cabs (void);
     ^
_configtest.c:4:5: warning: conflicting types for built-in function ‘cacosh’ [enabled by default]
 int cacosh (void);
     ^
_configtest.c:5:5: warning: conflicting types for built-in function ‘cpow’ [enabled by default]
 int cpow (void);
     ^
_configtest.c:6:5: warning: conflicting types for built-in function ‘clog’ [enabled by default]
 int clog (void);
     ^
_configtest.c:7:5: warning: conflicting types for built-in function ‘csin’ [enabled by default]
 int csin (void);
     ^
_configtest.c:8:5: warning: conflicting types for built-in function ‘creal’ [enabled by default]
 int creal (void);
     ^
_configtest.c:9:5: warning: conflicting types for built-in function ‘cacos’ [enabled by default]
 int cacos (void);
     ^
_configtest.c:10:5: warning: conflicting types for built-in function ‘ccosh’ [enabled by default]
 int ccosh (void);
     ^
_configtest.c:11:5: warning: conflicting types for built-in function ‘carg’ [enabled by default]
 int carg (void);
     ^
_configtest.c:12:5: warning: conflicting types for built-in function ‘casinh’ [enabled by default]
 int casinh (void);
     ^
_configtest.c:13:5: warning: conflicting types for built-in function ‘csinh’ [enabled by default]
 int csinh (void);
     ^
_configtest.c:14:5: warning: conflicting types for built-in function ‘cimag’ [enabled by default]
 int cimag (void);
     ^
_configtest.c:15:5: warning: conflicting types for built-in function ‘ccos’ [enabled by default]
 int ccos (void);
     ^
_configtest.c:16:5: warning: conflicting types for built-in function ‘catan’ [enabled by default]
 int catan (void);
     ^
_configtest.c:17:5: warning: conflicting types for built-in function ‘conj’ [enabled by default]
 int conj (void);
     ^
_configtest.c:18:5: warning: conflicting types for built-in function ‘ctan’ [enabled by default]
 int ctan (void);
     ^
_configtest.c:19:5: warning: conflicting types for built-in function ‘cproj’ [enabled by default]
 int cproj (void);
     ^
_configtest.c:20:5: warning: conflicting types for built-in function ‘catanh’ [enabled by default]
 int catanh (void);
     ^
_configtest.c:21:5: warning: conflicting types for built-in function ‘csqrt’ [enabled by default]
 int csqrt (void);
     ^
_configtest.c:22:5: warning: conflicting types for built-in function ‘casin’ [enabled by default]
 int casin (void);
     ^
_configtest.c:1:5: warning: conflicting types for built-in function ‘ccosf’ [enabled by default]
 int ccosf (void);
     ^
_configtest.c:2:5: warning: conflicting types for built-in function ‘ctanhf’ [enabled by default]
 int ctanhf (void);
     ^
_configtest.c:3:5: warning: conflicting types for built-in function ‘catanhf’ [enabled by default]
 int catanhf (void);
     ^
_configtest.c:4:5: warning: conflicting types for built-in function ‘cacosf’ [enabled by default]
 int cacosf (void);
     ^
_configtest.c:5:5: warning: conflicting types for built-in function ‘csinhf’ [enabled by default]
 int csinhf (void);
     ^
_configtest.c:6:5: warning: conflicting types for built-in function ‘catanf’ [enabled by default]
 int catanf (void);
     ^
_configtest.c:7:5: warning: conflicting types for built-in function ‘clogf’ [enabled by default]
 int clogf (void);
     ^
_configtest.c:8:5: warning: conflicting types for built-in function ‘cacoshf’ [enabled by default]
 int cacoshf (void);
     ^
_configtest.c:9:5: warning: conflicting types for built-in function ‘crealf’ [enabled by default]
 int crealf (void);
     ^
_configtest.c:10:5: warning: conflicting types for built-in function ‘cprojf’ [enabled by default]
 int cprojf (void);
     ^
_configtest.c:11:5: warning: conflicting types for built-in function ‘ctanf’ [enabled by default]
 int ctanf (void);
     ^
_configtest.c:12:5: warning: conflicting types for built-in function ‘cimagf’ [enabled by default]
 int cimagf (void);
     ^
_configtest.c:13:5: warning: conflicting types for built-in function ‘casinhf’ [enabled by default]
 int casinhf (void);
     ^
_configtest.c:14:5: warning: conflicting types for built-in function ‘casinf’ [enabled by default]
 int casinf (void);
     ^
_configtest.c:15:5: warning: conflicting types for built-in function ‘csinf’ [enabled by default]
 int csinf (void);
     ^
_configtest.c:16:5: warning: conflicting types for built-in function ‘cargf’ [enabled by default]
 int cargf (void);
     ^
_configtest.c:17:5: warning: conflicting types for built-in function ‘conjf’ [enabled by default]
 int conjf (void);
     ^
_configtest.c:18:5: warning: conflicting types for built-in function ‘ccoshf’ [enabled by default]
 int ccoshf (void);
     ^
_configtest.c:19:5: warning: conflicting types for built-in function ‘cexpf’ [enabled by default]
 int cexpf (void);
     ^
_configtest.c:20:5: warning: conflicting types for built-in function ‘cpowf’ [enabled by default]
 int cpowf (void);
     ^
_configtest.c:21:5: warning: conflicting types for built-in function ‘csqrtf’ [enabled by default]
 int csqrtf (void);
     ^
_configtest.c:22:5: warning: conflicting types for built-in function ‘cabsf’ [enabled by default]
 int cabsf (void);
     ^
_configtest.c:1:5: warning: conflicting types for built-in function ‘cimagl’ [enabled by default]
 int cimagl (void);
     ^
_configtest.c:2:5: warning: conflicting types for built-in function ‘casinhl’ [enabled by default]
 int casinhl (void);
     ^
_configtest.c:3:5: warning: conflicting types for built-in function ‘cabsl’ [enabled by default]
 int cabsl (void);
     ^
_configtest.c:4:5: warning: conflicting types for built-in function ‘cexpl’ [enabled by default]
 int cexpl (void);
     ^
_configtest.c:5:5: warning: conflicting types for built-in function ‘csinl’ [enabled by default]
 int csinl (void);
     ^
_configtest.c:6:5: warning: conflicting types for built-in function ‘csinhl’ [enabled by default]
 int csinhl (void);
     ^
_configtest.c:7:5: warning: conflicting types for built-in function ‘cargl’ [enabled by default]
 int cargl (void);
     ^
_configtest.c:8:5: warning: conflicting types for built-in function ‘cacoshl’ [enabled by default]
 int cacoshl (void);
     ^
_configtest.c:9:5: warning: conflicting types for built-in function ‘cpowl’ [enabled by default]
 int cpowl (void);
     ^
_configtest.c:10:5: warning: conflicting types for built-in function ‘catanl’ [enabled by default]
 int catanl (void);
     ^
_configtest.c:11:5: warning: conflicting types for built-in function ‘creall’ [enabled by default]
 int creall (void);
     ^
_configtest.c:12:5: warning: conflicting types for built-in function ‘casinl’ [enabled by default]
 int casinl (void);
     ^
_configtest.c:13:5: warning: conflicting types for built-in function ‘ctanhl’ [enabled by default]
 int ctanhl (void);
     ^
_configtest.c:14:5: warning: conflicting types for built-in function ‘cprojl’ [enabled by default]
 int cprojl (void);
     ^
_configtest.c:15:5: warning: conflicting types for built-in function ‘catanhl’ [enabled by default]
 int catanhl (void);
     ^
_configtest.c:16:5: warning: conflicting types for built-in function ‘ccosl’ [enabled by default]
 int ccosl (void);
     ^
_configtest.c:17:5: warning: conflicting types for built-in function ‘clogl’ [enabled by default]
 int clogl (void);
     ^
_configtest.c:18:5: warning: conflicting types for built-in function ‘ctanl’ [enabled by default]
 int ctanl (void);
     ^
_configtest.c:19:5: warning: conflicting types for built-in function ‘ccoshl’ [enabled by default]
 int ccoshl (void);
     ^
_configtest.c:20:5: warning: conflicting types for built-in function ‘conjl’ [enabled by default]
 int conjl (void);
     ^
_configtest.c:21:5: warning: conflicting types for built-in function ‘csqrtl’ [enabled by default]
 int csqrtl (void);
     ^
_configtest.c:22:5: warning: conflicting types for built-in function ‘cacosl’ [enabled by default]
 int cacosl (void);
     ^
_configtest.c:2:41: error: expected ‘;’, ‘,’ or ‘)’ before ‘a’
 static int static_func (char * restrict a)
                                         ^
_configtest.c:2:41: error: expected ‘;’, ‘,’ or ‘)’ before ‘a’
 static int static_func (char * restrict a)
                                         ^
_configtest.c:2:12: warning: ‘static_func’ defined but not used [-Wunused-function]
 static int static_func (char * __restrict__ a)
            ^
File: build/src.linux-x86_64-3.4/numpy/core/include/numpy/config.h
#define HAVE_ENDIAN_H 1
#define SIZEOF_PY_INTPTR_T 8
#define SIZEOF_OFF_T 8
#define SIZEOF_PY_LONG_LONG 8
#define MATHLIB m
#define HAVE_SIN 1
#define HAVE_COS 1
#define HAVE_TAN 1
#define HAVE_SINH 1
#define HAVE_COSH 1
#define HAVE_TANH 1
#define HAVE_FABS 1
#define HAVE_FLOOR 1
#define HAVE_CEIL 1
#define HAVE_SQRT 1
#define HAVE_LOG10 1
#define HAVE_LOG 1
#define HAVE_EXP 1
#define HAVE_ASIN 1
#define HAVE_ACOS 1
#define HAVE_ATAN 1
#define HAVE_FMOD 1
#define HAVE_MODF 1
#define HAVE_FREXP 1
#define HAVE_LDEXP 1
#define HAVE_RINT 1
#define HAVE_TRUNC 1
#define HAVE_EXP2 1
#define HAVE_LOG2 1
#define HAVE_ATAN2 1
#define HAVE_POW 1
#define HAVE_NEXTAFTER 1
#define HAVE_STRTOLL 1
#define HAVE_STRTOULL 1
#define HAVE_CBRT 1
#define HAVE_STRTOLD_L 1
#define HAVE_FALLOCATE 1
#define HAVE_BACKTRACE 1
#define HAVE_XMMINTRIN_H 1
#define HAVE_EMMINTRIN_H 1
#define HAVE_FEATURES_H 1
#define HAVE_XLOCALE_H 1
#define HAVE_DLFCN_H 1
#define HAVE___BUILTIN_ISNAN 1
#define HAVE___BUILTIN_ISINF 1
#define HAVE___BUILTIN_ISFINITE 1
#define HAVE___BUILTIN_BSWAP32 1
#define HAVE___BUILTIN_BSWAP64 1
#define HAVE___BUILTIN_EXPECT 1
#define HAVE___BUILTIN_CPU_SUPPORTS 1
#define HAVE__M_FROM_INT64 1
#define HAVE__MM_LOAD_PS 1
#define HAVE__MM_PREFETCH 1
#define HAVE__MM_LOAD_PD 1
#define HAVE___BUILTIN_PREFETCH 1
#define HAVE_LINK_AVX 1
#define HAVE_LINK_AVX2 1
#define HAVE_ATTRIBUTE_OPTIMIZE_UNROLL_LOOPS 1
#define HAVE_ATTRIBUTE_OPTIMIZE_OPT_3 1
#define HAVE_ATTRIBUTE_NONNULL 1
#define HAVE_ATTRIBUTE_TARGET_AVX 1
#define HAVE_ATTRIBUTE_TARGET_AVX2 1
#define HAVE___THREAD 1
#define HAVE_SINF 1
#define HAVE_COSF 1
#define HAVE_TANF 1
#define HAVE_SINHF 1
#define HAVE_COSHF 1
#define HAVE_TANHF 1
#define HAVE_FABSF 1
#define HAVE_FLOORF 1
#define HAVE_CEILF 1
#define HAVE_RINTF 1
#define HAVE_TRUNCF 1
#define HAVE_SQRTF 1
#define HAVE_LOG10F 1
#define HAVE_LOGF 1
#define HAVE_LOG1PF 1
#define HAVE_EXPF 1
#define HAVE_EXPM1F 1
#define HAVE_ASINF 1
#define HAVE_ACOSF 1
#define HAVE_ATANF 1
#define HAVE_ASINHF 1
#define HAVE_ACOSHF 1
#define HAVE_ATANHF 1
#define HAVE_HYPOTF 1
#define HAVE_ATAN2F 1
#define HAVE_POWF 1
#define HAVE_FMODF 1
#define HAVE_MODFF 1
#define HAVE_FREXPF 1
#define HAVE_LDEXPF 1
#define HAVE_EXP2F 1
#define HAVE_LOG2F 1
#define HAVE_COPYSIGNF 1
#define HAVE_NEXTAFTERF 1
#define HAVE_CBRTF 1
#define HAVE_SINL 1
#define HAVE_COSL 1
#define HAVE_TANL 1
#define HAVE_SINHL 1
#define HAVE_COSHL 1
#define HAVE_TANHL 1
#define HAVE_FABSL 1
#define HAVE_FLOORL 1
#define HAVE_CEILL 1
#define HAVE_RINTL 1
#define HAVE_TRUNCL 1
#define HAVE_SQRTL 1
#define HAVE_LOG10L 1
#define HAVE_LOGL 1
#define HAVE_LOG1PL 1
#define HAVE_EXPL 1
#define HAVE_EXPM1L 1
#define HAVE_ASINL 1
#define HAVE_ACOSL 1
#define HAVE_ATANL 1
#define HAVE_ASINHL 1
#define HAVE_ACOSHL 1
#define HAVE_ATANHL 1
#define HAVE_HYPOTL 1
#define HAVE_ATAN2L 1
#define HAVE_POWL 1
#define HAVE_FMODL 1
#define HAVE_MODFL 1
#define HAVE_FREXPL 1
#define HAVE_LDEXPL 1
#define HAVE_EXP2L 1
#define HAVE_LOG2L 1
#define HAVE_COPYSIGNL 1
#define HAVE_NEXTAFTERL 1
#define HAVE_CBRTL 1
#define HAVE_DECL_SIGNBIT
#define HAVE_COMPLEX_H 1
#define HAVE_CABS 1
#define HAVE_CACOS 1
#define HAVE_CACOSH 1
#define HAVE_CARG 1
#define HAVE_CASIN 1
#define HAVE_CASINH 1
#define HAVE_CATAN 1
#define HAVE_CATANH 1
#define HAVE_CCOS 1
#define HAVE_CCOSH 1
#define HAVE_CEXP 1
#define HAVE_CIMAG 1
#define HAVE_CLOG 1
#define HAVE_CONJ 1
#define HAVE_CPOW 1
#define HAVE_CPROJ 1
#define HAVE_CREAL 1
#define HAVE_CSIN 1
#define HAVE_CSINH 1
#define HAVE_CSQRT 1
#define HAVE_CTAN 1
#define HAVE_CTANH 1
#define HAVE_CABSF 1
#define HAVE_CACOSF 1
#define HAVE_CACOSHF 1
#define HAVE_CARGF 1
#define HAVE_CASINF 1
#define HAVE_CASINHF 1
#define HAVE_CATANF 1
#define HAVE_CATANHF 1
#define HAVE_CCOSF 1
#define HAVE_CCOSHF 1
#define HAVE_CEXPF 1
#define HAVE_CIMAGF 1
#define HAVE_CLOGF 1
#define HAVE_CONJF 1
#define HAVE_CPOWF 1
#define HAVE_CPROJF 1
#define HAVE_CREALF 1
#define HAVE_CSINF 1
#define HAVE_CSINHF 1
#define HAVE_CSQRTF 1
#define HAVE_CTANF 1
#define HAVE_CTANHF 1
#define HAVE_CABSL 1
#define HAVE_CACOSL 1
#define HAVE_CACOSHL 1
#define HAVE_CARGL 1
#define HAVE_CASINL 1
#define HAVE_CASINHL 1
#define HAVE_CATANL 1
#define HAVE_CATANHL 1
#define HAVE_CCOSL 1
#define HAVE_CCOSHL 1
#define HAVE_CEXPL 1
#define HAVE_CIMAGL 1
#define HAVE_CLOGL 1
#define HAVE_CONJL 1
#define HAVE_CPOWL 1
#define HAVE_CPROJL 1
#define HAVE_CREALL 1
#define HAVE_CSINL 1
#define HAVE_CSINHL 1
#define HAVE_CSQRTL 1
#define HAVE_CTANL 1
#define HAVE_CTANHL 1
#define NPY_RESTRICT __restrict__
#define NPY_RELAXED_STRIDES_CHECKING 1
#define HAVE_LDOUBLE_INTEL_EXTENDED_16_BYTES_LE 1
#define NPY_PY3K 1
#ifndef __cplusplus
/* #undef inline */
#endif

#ifndef _NPY_NPY_CONFIG_H_
#error config.h should never be included directly, include npy_config.h instead
#endif

EOF
_configtest.c:1:5: warning: conflicting types for built-in function ‘exp’ [enabled by default]
 int exp (void);
     ^
_configtest.o: In function `main':
/tmp/easy_install-vn088p96/numpy-1.13.3/_configtest.c:6: undefined reference to `exp'
collect2: error: ld returned 1 exit status
_configtest.o: In function `main':
/tmp/easy_install-vn088p96/numpy-1.13.3/_configtest.c:6: undefined reference to `exp'
collect2: error: ld returned 1 exit status
_configtest.c:1:5: warning: conflicting types for built-in function ‘exp’ [enabled by default]
 int exp (void);
     ^
_configtest.c:3:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
 main()
 ^
File: build/src.linux-x86_64-3.4/numpy/core/include/numpy/_numpyconfig.h
#define NPY_HAVE_ENDIAN_H 1
#define NPY_SIZEOF_SHORT SIZEOF_SHORT
#define NPY_SIZEOF_INT SIZEOF_INT
#define NPY_SIZEOF_LONG SIZEOF_LONG
#define NPY_SIZEOF_FLOAT 4
#define NPY_SIZEOF_COMPLEX_FLOAT 8
#define NPY_SIZEOF_DOUBLE 8
#define NPY_SIZEOF_COMPLEX_DOUBLE 16
#define NPY_SIZEOF_LONGDOUBLE 16
#define NPY_SIZEOF_COMPLEX_LONGDOUBLE 32
#define NPY_SIZEOF_PY_INTPTR_T 8
#define NPY_SIZEOF_OFF_T 8
#define NPY_SIZEOF_PY_LONG_LONG 8
#define NPY_SIZEOF_LONGLONG 8
#define NPY_NO_SMP 0
#define NPY_HAVE_DECL_ISNAN
#define NPY_HAVE_DECL_ISINF
#define NPY_HAVE_DECL_ISFINITE
#define NPY_HAVE_DECL_SIGNBIT
#define NPY_USE_C99_COMPLEX 1
#define NPY_HAVE_COMPLEX_DOUBLE 1
#define NPY_HAVE_COMPLEX_FLOAT 1
#define NPY_HAVE_COMPLEX_LONG_DOUBLE 1
#define NPY_RELAXED_STRIDES_CHECKING 1
#define NPY_USE_C99_FORMATS 1
#define NPY_VISIBILITY_HIDDEN __attribute__((visibility("hidden")))
#define NPY_ABI_VERSION 0x01000009
#define NPY_API_VERSION 0x0000000B

#ifndef __STDC_FORMAT_MACROS
#define __STDC_FORMAT_MACROS 1
#endif

EOF
warning: no previously-included files matching '*.pyo' found anywhere in distribution
warning: no previously-included files matching '*.pyd' found anywhere in distribution
numpy/core/src/umath/ufunc_object.c: In function ‘PyUFunc_GenericReduction’:
numpy/core/src/umath/ufunc_object.c:3912:15: warning: unused variable ‘out_obj’ [-Wunused-variable]
     PyObject *out_obj = NULL;
               ^
zip_safe flag not set; analyzing archive contents...
numpy.f2py.__pycache__.setup.cpython-34: module references __file__
numpy.f2py.__pycache__.diagnose.cpython-34: module references __file__
numpy.f2py.__pycache__.f2py2e.cpython-34: module references __file__
numpy.testing.__pycache__.utils.cpython-34: module references __file__
numpy.testing.__pycache__.nosetester.cpython-34: module references __file__
numpy.testing.__pycache__.noseclasses.cpython-34: module references __file__
numpy.linalg.__pycache__._umath_linalg.cpython-34: module references __file__
numpy.linalg.__pycache__.lapack_lite.cpython-34: module references __file__
numpy.lib.__pycache__.utils.cpython-34: module references __file__
numpy.lib.__pycache__.utils.cpython-34: module references __path__
numpy.lib.__pycache__.utils.cpython-34: module MAY be using inspect.getsource
numpy.lib.__pycache__.utils.cpython-34: module MAY be using inspect.getsourcefile
numpy.random.__pycache__.mtrand.cpython-34: module references __file__
numpy.doc.__pycache__.__init__.cpython-34: module references __file__
numpy.fft.__pycache__.fftpack_lite.cpython-34: module references __file__
numpy.__pycache__._import_tools.cpython-34: module references __file__
numpy.__pycache__._import_tools.cpython-34: module references __path__
numpy.core.__pycache__.cversions.cpython-34: module references __file__
numpy.core.__pycache__.test_rational.cpython-34: module references __file__
numpy.core.__pycache__.setup.cpython-34: module references __file__
numpy.core.__pycache__.operand_flag_tests.cpython-34: module references __file__
numpy.core.__pycache__.umath_tests.cpython-34: module references __file__
numpy.core.__pycache__.multiarray.cpython-34: module references __file__
numpy.core.__pycache__.setup_common.cpython-34: module references __file__
numpy.core.__pycache__.multiarray_tests.cpython-34: module references __file__
numpy.core.__pycache__.generate_numpy_api.cpython-34: module references __file__
numpy.core.__pycache__.umath.cpython-34: module references __file__
numpy.core.__pycache__.struct_ufunc_test.cpython-34: module references __file__
numpy.core.__pycache__._dummy.cpython-34: module references __file__
numpy.distutils.fcompiler.__pycache__.compaq.cpython-34: module references __file__
numpy.distutils.fcompiler.__pycache__.__init__.cpython-34: module references __file__
numpy.distutils.command.__pycache__.build_src.cpython-34: module references __file__
numpy.distutils.__pycache__.misc_util.cpython-34: module references __file__
numpy.distutils.__pycache__.system_info.cpython-34: module references __file__
numpy.distutils.__pycache__.exec_command.cpython-34: module references __file__
numpy.distutils.__pycache__.npy_pkg_config.cpython-34: module references __file__
pcreating /usr/local/lib/python3.4/dist-packages/numpy-1.13.3-py3.4-linux-x86_64.egg
Extracting numpy-1.13.3-py3.4-linux-x86_64.egg to /usr/local/lib/python3.4/dist-packages
yAdding numpy 1.13.3 to easy-install.pth file
Installing f2py3 script to /usr/local/bin

Installed /usr/local/lib/python3.4/dist-packages/numpy-1.13.3-py3.4-linux-x86_64.egg                                                S           earching for backports_abc>=0.4
Reading https://pypi.python.org/simple/backports_abc/                                                                               D           ownloading https://pypi.python.org/packages/68/3c/1317a9113c377d1e33711ca8de1e80afbaf4a3c950dd0edfaf61f9bfe6d8/backports_abc-0.5.tar.           gz#md5=7d1936ec183a3586290adf60f6f96764
Best match: backports-abc 0.5
Processing backports_abc-0.5.tar.gz
Writing /tmp/easy_install-kac3vf27/backports_abc-0.5/setup.cfg
Running backports_abc-0.5/setup.py -q bdist_egg --dist-dir /tmp/easy_install-kac3vf27/backports_abc-0.5/egg-dist-tmp-oju1q3rl
Generating grammar tables from /usr/lib/python3.4/lib2to3/Grammar.txt
Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
zip_safe flag not set; analyzing archive contents...
Moving backports_abc-0.5-py3.4.egg to /usr/local/lib/python3.4/dist-packages
Adding backports-abc 0.5 to easy-install.pth file

Installed /usr/local/lib/python3.4/dist-packages/backports_abc-0.5-py3.4.egg
Searching for olefile
Reading https://pypi.python.org/simple/olefile/
Downloading https://pypi.python.org/packages/35/17/c15d41d5a8f8b98cc3df25eb00c5cee76193114c78e5674df6ef4ac92647/olefile-0.44.zip#md5=           fc625554e4e7f0c2ddcd00baa3c74ff5
Best match: olefile 0.44
Processing olefile-0.44.zip
Writing /tmp/easy_install-j6cpjkuy/olefile-0.44/setup.cfg
Running olefile-0.44/setup.py -q bdist_egg --dist-dir /tmp/easy_install-j6cpjkuy/olefile-0.44/egg-dist-tmp-5tz7qpi_
Generating grammar tables from /usr/lib/python3.4/lib2to3/Grammar.txt
Generating grammar tables from /usr/lib/python3.4/lib2to3/PatternGrammar.txt
zip_safe flag not set; analyzing archive contents...
Moving olefile-0.44-py3.4.egg to /usr/local/lib/python3.4/dist-packages
Adding olefile 0.44 to easy-install.pth file

Installed /usr/local/lib/python3.4/dist-packages/olefile-0.44-py3.4.egg
Finished processing dependencies for visdom==0.1.6

Thank you for your attention!

We'll be updating the pip package rather soon, however in the meantime can you post the output of which pip and which python? If pip install -e succeeded but python can't find it it's possible pip is installing to a different area.

My which pip is /home/wangty/.pyenv/shims/pip and
which python is /home/wangty/.pyenv/shims/python
I am looking forward to the new version very much.
Thank you for your attention!

Hi @geekvc - We were just able to upload the correct version of visdom to PyPI. You should be able to use it after running pip install --upgrade visdom. Let me know if this solves the issue for you!

Good job, this command solved my issue.
Thank you very much for your great work!

@JackUrb solved my issue also, bravo. But why it cannot be imported before pip install --upgrqde visdom ?

@linzhou-zhong sorry I don't quite understand your question.

@JackUrb Firstly, I've realised my own VM (Deep Learning PyTorch based on Debian) from Google Cloud Platform, but I was not allowed to ' pip install visdom '.

Not allowed how?

@JackUrb Could not install packages due to an Environment
Error: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/scipy-1.1.0.dist-info'
Consider using the --user option or check the permissions.

Sounds like you don't have permission, likely a google cloud platform restriction. You can try using sudo - otherwise you'll need to check the gcp docs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

malmaud picture malmaud  Â·  3Comments

amartya18x picture amartya18x  Â·  6Comments

pedropgusmao picture pedropgusmao  Â·  3Comments

shubhamjain0594 picture shubhamjain0594  Â·  3Comments

vfdev-5 picture vfdev-5  Â·  6Comments