Giter VIP home page Giter VIP logo

hatesonar's Introduction

hatesonar's People

Contributors

hironsan avatar pyup-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hatesonar's Issues

HateSonar doesn't return any results

I tried to use this using the python script provided but it doesn't produce anything. I am using python 3.6. Of course, it works as expected in the HerokuApp. Can you tell me how to troubleshoot this?

Failed building wheel for numpy

I am using python 3.6. After I created a new Flask service, I added hateSonar to setup.py and tried to bootstrap the service. I got the following errors. The error is really long. What I suspect the most is this:
[17:47:59] Failed building wheel for numpy
[17:47:59] Running setup.py clean for numpy
[17:48:00] Failed to build numpy

Here is a more complete error message. Could anyone please help me with this?

100% |โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ| 286kB 26.3MB/s 

[17:47:52] Building wheels for collected packages: numpy
Running setup.py bdist_wheel for numpy ... error
[17:47:59] Complete output from command /Users/Zehuaz/stash/hate-speech-detector/bin/python -u -c "import setuptools, tokenize;file='/private/var/folders/4p/9j1w4vnn66z2933mt8zzm4_m0000gn/T/pip-build-qrwxjikr/numpy/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d /var/folders/4p/9j1w4vnn66z2933mt8zzm4_m0000gn/T/tmpp1hjqh3epip-wheel- --python-tag cp36:
[17:47:59] Converting to Python3 via 2to3...
non-existing path in 'numpy/distutils': 'site.cfg'
F2PY Version 2
blas_opt_info:
FOUND:
extra_compile_args = ['-msse3', '-I/System/Library/Frameworks/vecLib.framework/Headers']
extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
define_macros = [('NO_ATLAS_INFO', 3)]

non-existing path in 'numpy/lib': 'benchmarks'
lapack_opt_info:
FOUND:
extra_compile_args = ['-msse3']
extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
define_macros = [('NO_ATLAS_INFO', 3)]

running bdist_wheel
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
build_src
building py_modules sources
building library "npymath" sources
customize NAGFCompiler
Could not locate executable f95
customize AbsoftFCompiler
Could not locate executable f90
Could not locate executable f77
customize IBMFCompiler
Could not locate executable xlf90
Could not locate executable xlf
customize IntelFCompiler
Could not locate executable ifort
Could not locate executable ifc
customize GnuFCompiler
Could not locate executable g77
customize Gnu95FCompiler
Could not locate executable gfortran
customize G95FCompiler
Could not locate executable g95
customize PGroupFCompiler
Could not locate executable pgfortran
don't know how to compile Fortran code on platform 'posix'
C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/include -I/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/include/python3.6m -c'
clang: _configtest.c
clang _configtest.o -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
customize NAGFCompiler
customize AbsoftFCompiler
customize IBMFCompiler
customize IntelFCompiler
customize GnuFCompiler
customize Gnu95FCompiler
customize G95FCompiler
customize PGroupFCompiler
don't know how to compile Fortran code on platform 'posix'
customize NAGFCompiler
customize AbsoftFCompiler
customize IBMFCompiler
customize IntelFCompiler
customize GnuFCompiler
customize Gnu95FCompiler
customize G95FCompiler
customize PGroupFCompiler
don't know how to compile Fortran code on platform 'posix'
C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/include -I/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/include/python3.6m -c'
clang: _configtest.c
_configtest.c:1:5: warning: incompatible redeclaration of library function 'exp' [-Wincompatible-library-redeclaration]
int exp (void);
^
_configtest.c:1:5: note: 'exp' is a builtin with type 'double (double)'
1 warning generated.
clang _configtest.o -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
building extension "numpy.core._sort" sources
adding 'build/src.macosx-10.11-x86_64-3.6/numpy/core/include/numpy/config.h' to sources.
adding 'build/src.macosx-10.11-x86_64-3.6/numpy/core/include/numpy/_numpyconfig.h' to sources.
executing numpy/core/code_generators/generate_numpy_api.py
adding 'build/src.macosx-10.11-x86_64-3.6/numpy/core/include/numpy/__multiarray_api.h' to sources.
numpy.core - nothing done with h_files = ['build/src.macosx-10.11-x86_64-3.6/numpy/core/include/numpy/config.h', 'build/src.macosx-10.11-x86_64-3.6/numpy/core/include/numpy/_numpyconfig.h', 'build/src.macosx-10.11-x86_64-3.6/numpy/core/include/numpy/__multiarray_api.h']
building extension "numpy.core.multiarray" sources
adding 'build/src.macosx-10.11-x86_64-3.6/numpy/core/include/numpy/config.h' to sources.
adding 'build/src.macosx-10.11-x86_64-3.6/numpy/core/include/numpy/_numpyconfig.h' to sources.
executing numpy/core/code_generators/generate_numpy_api.py
adding 'build/src.macosx-10.11-x86_64-3.6/numpy/core/include/numpy/__multiarray_api.h' to sources.
numpy.core - nothing done with h_files = ['build/src.macosx-10.11-x86_64-3.6/numpy/core/include/numpy/config.h', 'build/src.macosx-10.11-x86_64-3.6/numpy/core/include/numpy/_numpyconfig.h', 'build/src.macosx-10.11-x86_64-3.6/numpy/core/include/numpy/__multiarray_api.h']
building extension "numpy.core.umath" sources
adding 'build/src.macosx-10.11-x86_64-3.6/numpy/core/include/numpy/config.h' to sources.
adding 'build/src.macosx-10.11-x86_64-3.6/numpy/core/include/numpy/_numpyconfig.h' to sources.
executing numpy/core/code_generators/generate_ufunc_api.py
adding 'build/src.macosx-10.11-x86_64-3.6/numpy/core/include/numpy/__ufunc_api.h' to sources.
adding 'build/src.macosx-10.11-x86_64-3.6/numpy/core/src/umath' to include_dirs.
numpy.core - nothing done with h_files = ['build/src.macosx-10.11-x86_64-3.6/numpy/core/src/umath/funcs.inc', 'build/src.macosx-10.11-x86_64-3.6/numpy/core/include/numpy/config.h', 'build/src.macosx-10.11-x86_64-3.6/numpy/core/include/numpy/_numpyconfig.h', 'build/src.macosx-10.11-x86_64-3.6/numpy/core/include/numpy/__ufunc_api.h']
building extension "numpy.core.scalarmath" sources
adding 'build/src.macosx-10.11-x86_64-3.6/numpy/core/include/numpy/config.h' to sources.
adding 'build/src.macosx-10.11-x86_64-3.6/numpy/core/include/numpy/_numpyconfig.h' to sources.
executing numpy/core/code_generators/generate_numpy_api.py
adding 'build/src.macosx-10.11-x86_64-3.6/numpy/core/include/numpy/__multiarray_api.h' to sources.
executing numpy/core/code_generators/generate_ufunc_api.py
adding 'build/src.macosx-10.11-x86_64-3.6/numpy/core/include/numpy/__ufunc_api.h' to sources.
numpy.core - nothing done with h_files = ['build/src.macosx-10.11-x86_64-3.6/numpy/core/include/numpy/config.h', 'build/src.macosx-10.11-x86_64-3.6/numpy/core/include/numpy/_numpyconfig.h', 'build/src.macosx-10.11-x86_64-3.6/numpy/core/include/numpy/__multiarray_api.h', 'build/src.macosx-10.11-x86_64-3.6/numpy/core/include/numpy/__ufunc_api.h']
building extension "numpy.core._dotblas" sources
adding 'numpy/core/blasdot/_dotblas.c' to sources.
building extension "numpy.core.umath_tests" sources
building extension "numpy.core.multiarray_tests" sources
building extension "numpy.lib._compiled_base" sources
building extension "numpy.numarray._capi" sources
building extension "numpy.fft.fftpack_lite" sources
building extension "numpy.linalg.lapack_lite" sources
adding 'numpy/linalg/lapack_litemodule.c' to sources.
adding 'numpy/linalg/python_xerbla.c' to sources.
building extension "numpy.random.mtrand" sources
customize NAGFCompiler
customize AbsoftFCompiler
customize IBMFCompiler
customize IntelFCompiler
customize GnuFCompiler
customize Gnu95FCompiler
customize G95FCompiler
customize PGroupFCompiler
don't know how to compile Fortran code on platform 'posix'
C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/include -I/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/include/python3.6m -c'
clang: _configtest.c
clang _configtest.o -o _configtest
_configtest
failure.
removing: _configtest.c _configtest.o _configtest
building data_files sources
build_src: building npy-pkg config files
running build_py
creating build/lib.macosx-10.11-x86_64-3.6
creating build/lib.macosx-10.11-x86_64-3.6/numpy
copying numpy/setupscons.py -> build/lib.macosx-10.11-x86_64-3.6/numpy
copying numpy/version.py -> build/lib.macosx-10.11-x86_64-3.6/numpy
copying numpy/add_newdocs.py -> build/lib.macosx-10.11-x86_64-3.6/numpy
copying numpy/init.py -> build/lib.macosx-10.11-x86_64-3.6/numpy
copying numpy/dual.py -> build/lib.macosx-10.11-x86_64-3.6/numpy
copying numpy/setup.py -> build/lib.macosx-10.11-x86_64-3.6/numpy
copying numpy/ctypeslib.py -> build/lib.macosx-10.11-x86_64-3.6/numpy
copying numpy/_import_tools.py -> build/lib.macosx-10.11-x86_64-3.6/numpy
copying numpy/matlib.py -> build/lib.macosx-10.11-x86_64-3.6/numpy
copying build/src.macosx-10.11-x86_64-3.6/numpy/config.py -> build/lib.macosx-10.11-x86_64-3.6/numpy
creating build/lib.macosx-10.11-x86_64-3.6/numpy/distutils
copying numpy/distutils/unixccompiler.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/distutils
copying numpy/distutils/numpy_distribution.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/distutils
copying numpy/distutils/conv_template.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/distutils
copying numpy/distutils/cpuinfo.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/distutils
copying numpy/distutils/ccompiler.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/distutils
copying numpy/distutils/npy_pkg_config.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/distutils
copying numpy/distutils/setupscons.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/distutils
copying numpy/distutils/compat.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/distutils
copying numpy/distutils/misc_util.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/distutils
copying numpy/distutils/log.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/distutils
copying numpy/distutils/line_endings.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/distutils
copying numpy/distutils/lib2def.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/distutils
copying numpy/distutils/pathccompiler.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/distutils
copying numpy/distutils/system_info.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/distutils
copying numpy/distutils/init.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/distutils
copying numpy/distutils/core.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/distutils
copying numpy/distutils/version.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/distutils
copying numpy/distutils/exec_command.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/distutils
copying numpy/distutils/from_template.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/distutils
copying numpy/distutils/mingw32ccompiler.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/distutils
copying numpy/distutils/setup.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/distutils
copying numpy/distutils/extension.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/distutils
copying numpy/distutils/interactive.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/distutils
copying numpy/distutils/environment.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/distutils
copying numpy/distutils/intelccompiler.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/distutils
copying numpy/distutils/info.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/distutils
copying build/src.macosx-10.11-x86_64-3.6/numpy/distutils/config.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/distutils
creating build/lib.macosx-10.11-x86_64-3.6/numpy/distutils/command
copying numpy/distutils/command/build.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/distutils/command
copying numpy/distutils/command/config_compiler.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/distutils/command
copying numpy/distutils/command/build_ext.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/distutils/command
copying numpy/distutils/command/config.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/distutils/command
copying numpy/distutils/command/install_headers.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/distutils/command
copying numpy/distutils/command/build_py.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/distutils/command
copying numpy/distutils/command/build_src.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/distutils/command
copying numpy/distutils/command/init.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/distutils/command
copying numpy/distutils/command/sdist.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/distutils/command
copying numpy/distutils/command/scons.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/distutils/command
copying numpy/distutils/command/build_scripts.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/distutils/command
copying numpy/distutils/command/bdist_rpm.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/distutils/command
copying numpy/distutils/command/install_clib.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/distutils/command
copying numpy/distutils/command/build_clib.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/distutils/command
copying numpy/distutils/command/autodist.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/distutils/command
copying numpy/distutils/command/egg_info.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/distutils/command
copying numpy/distutils/command/install.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/distutils/command
copying numpy/distutils/command/develop.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/distutils/command
copying numpy/distutils/command/install_data.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/distutils/command
creating build/lib.macosx-10.11-x86_64-3.6/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/gnu.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/compaq.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/intel.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/none.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/nag.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/pg.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/ibm.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/sun.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/lahey.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/init.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/g95.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/mips.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/hpux.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/pathf95.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/absoft.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/vast.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/distutils/fcompiler
creating build/lib.macosx-10.11-x86_64-3.6/numpy/testing
copying numpy/testing/nulltester.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/testing
copying numpy/testing/setupscons.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/testing
copying numpy/testing/nosetester.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/testing
copying numpy/testing/init.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/testing
copying numpy/testing/noseclasses.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/testing
copying numpy/testing/setup.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/testing
copying numpy/testing/utils.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/testing
copying numpy/testing/print_coercion_tables.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/testing
copying numpy/testing/numpytest.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/testing
copying numpy/testing/decorators.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/testing
creating build/lib.macosx-10.11-x86_64-3.6/numpy/f2py
copying numpy/f2py/cfuncs.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/f2py
copying numpy/f2py/common_rules.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/f2py
copying numpy/f2py/setupscons.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/f2py
copying numpy/f2py/crackfortran.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/f2py
copying numpy/f2py/cb_rules.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/f2py
copying numpy/f2py/init.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/f2py
copying numpy/f2py/rules.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/f2py
copying numpy/f2py/f2py2e.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/f2py
copying numpy/f2py/func2subr.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/f2py
copying numpy/f2py/version.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/f2py
copying numpy/f2py/diagnose.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/f2py
copying numpy/f2py/setup.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/f2py
copying numpy/f2py/capi_maps.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/f2py
copying numpy/f2py/f90mod_rules.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/f2py
copying numpy/f2py/f2py_testing.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/f2py
copying numpy/f2py/use_rules.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/f2py
copying numpy/f2py/info.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/f2py
copying numpy/f2py/auxfuncs.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/f2py
creating build/lib.macosx-10.11-x86_64-3.6/numpy/core
copying numpy/core/fromnumeric.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/core
copying numpy/core/setupscons.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/core
copying numpy/core/_internal.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/core
copying numpy/core/records.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/core
copying numpy/core/init.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/core
copying numpy/core/setup_common.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/core
copying numpy/core/memmap.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/core
copying numpy/core/getlimits.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/core
copying numpy/core/defchararray.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/core
copying numpy/core/shape_base.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/core
copying numpy/core/machar.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/core
copying numpy/core/setup.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/core
copying numpy/core/_mx_datetime_parser.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/core
copying numpy/core/numeric.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/core
copying numpy/core/scons_support.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/core
copying numpy/core/function_base.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/core
copying numpy/core/info.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/core
copying numpy/core/numerictypes.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/core
copying numpy/core/arrayprint.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/core
copying numpy/core/code_generators/generate_numpy_api.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/core
creating build/lib.macosx-10.11-x86_64-3.6/numpy/lib
copying numpy/lib/_iotools.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/lib
copying numpy/lib/recfunctions.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/lib
copying numpy/lib/setupscons.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/lib
copying numpy/lib/scimath.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/lib
copying numpy/lib/user_array.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/lib
copying numpy/lib/init.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/lib
copying numpy/lib/format.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/lib
copying numpy/lib/twodim_base.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/lib
copying numpy/lib/financial.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/lib
copying numpy/lib/index_tricks.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/lib
copying numpy/lib/npyio.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/lib
copying numpy/lib/shape_base.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/lib
copying numpy/lib/setup.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/lib
copying numpy/lib/stride_tricks.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/lib
copying numpy/lib/utils.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/lib
copying numpy/lib/arrayterator.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/lib
copying numpy/lib/function_base.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/lib
copying numpy/lib/arraysetops.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/lib
copying numpy/lib/type_check.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/lib
copying numpy/lib/info.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/lib
copying numpy/lib/polynomial.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/lib
copying numpy/lib/_datasource.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/lib
copying numpy/lib/ufunclike.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/lib
creating build/lib.macosx-10.11-x86_64-3.6/numpy/oldnumeric
copying numpy/oldnumeric/linear_algebra.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/oldnumeric
copying numpy/oldnumeric/functions.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/oldnumeric
copying numpy/oldnumeric/matrix.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/oldnumeric
copying numpy/oldnumeric/misc.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/oldnumeric
copying numpy/oldnumeric/setupscons.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/oldnumeric
copying numpy/oldnumeric/compat.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/oldnumeric
copying numpy/oldnumeric/ma.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/oldnumeric
copying numpy/oldnumeric/rng_stats.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/oldnumeric
copying numpy/oldnumeric/rng.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/oldnumeric
copying numpy/oldnumeric/ufuncs.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/oldnumeric
copying numpy/oldnumeric/user_array.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/oldnumeric
copying numpy/oldnumeric/typeconv.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/oldnumeric
copying numpy/oldnumeric/alter_code2.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/oldnumeric
copying numpy/oldnumeric/init.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/oldnumeric
copying numpy/oldnumeric/array_printer.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/oldnumeric
copying numpy/oldnumeric/random_array.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/oldnumeric
copying numpy/oldnumeric/alter_code1.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/oldnumeric
copying numpy/oldnumeric/precision.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/oldnumeric
copying numpy/oldnumeric/setup.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/oldnumeric
copying numpy/oldnumeric/arrayfns.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/oldnumeric
copying numpy/oldnumeric/mlab.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/oldnumeric
copying numpy/oldnumeric/fft.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/oldnumeric
copying numpy/oldnumeric/fix_default_axis.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/oldnumeric
creating build/lib.macosx-10.11-x86_64-3.6/numpy/numarray
copying numpy/numarray/linear_algebra.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/numarray
copying numpy/numarray/functions.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/numarray
copying numpy/numarray/matrix.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/numarray
copying numpy/numarray/setupscons.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/numarray
copying numpy/numarray/compat.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/numarray
copying numpy/numarray/ma.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/numarray
copying numpy/numarray/util.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/numarray
copying numpy/numarray/convolve.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/numarray
copying numpy/numarray/ufuncs.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/numarray
copying numpy/numarray/session.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/numarray
copying numpy/numarray/alter_code2.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/numarray
copying numpy/numarray/init.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/numarray
copying numpy/numarray/random_array.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/numarray
copying numpy/numarray/alter_code1.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/numarray
copying numpy/numarray/setup.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/numarray
copying numpy/numarray/mlab.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/numarray
copying numpy/numarray/nd_image.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/numarray
copying numpy/numarray/fft.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/numarray
copying numpy/numarray/numerictypes.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/numarray
copying numpy/numarray/image.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/numarray
creating build/lib.macosx-10.11-x86_64-3.6/numpy/fft
copying numpy/fft/setupscons.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/fft
copying numpy/fft/init.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/fft
copying numpy/fft/setup.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/fft
copying numpy/fft/helper.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/fft
copying numpy/fft/fftpack.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/fft
copying numpy/fft/info.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/fft
creating build/lib.macosx-10.11-x86_64-3.6/numpy/linalg
copying numpy/linalg/setupscons.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/linalg
copying numpy/linalg/init.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/linalg
copying numpy/linalg/setup.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/linalg
copying numpy/linalg/linalg.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/linalg
copying numpy/linalg/info.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/linalg
creating build/lib.macosx-10.11-x86_64-3.6/numpy/random
copying numpy/random/setupscons.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/random
copying numpy/random/init.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/random
copying numpy/random/setup.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/random
copying numpy/random/info.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/random
creating build/lib.macosx-10.11-x86_64-3.6/numpy/ma
copying numpy/ma/extras.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/ma
copying numpy/ma/setupscons.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/ma
copying numpy/ma/version.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/ma
copying numpy/ma/testutils.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/ma
copying numpy/ma/init.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/ma
copying numpy/ma/core.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/ma
copying numpy/ma/bench.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/ma
copying numpy/ma/setup.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/ma
copying numpy/ma/timer_comparison.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/ma
copying numpy/ma/mrecords.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/ma
creating build/lib.macosx-10.11-x86_64-3.6/numpy/matrixlib
copying numpy/matrixlib/setupscons.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/matrixlib
copying numpy/matrixlib/init.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/matrixlib
copying numpy/matrixlib/setup.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/matrixlib
copying numpy/matrixlib/defmatrix.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/matrixlib
creating build/lib.macosx-10.11-x86_64-3.6/numpy/compat
copying numpy/compat/py3k.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/compat
copying numpy/compat/setupscons.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/compat
copying numpy/compat/init.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/compat
copying numpy/compat/setup.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/compat
copying numpy/compat/_inspect.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/compat
creating build/lib.macosx-10.11-x86_64-3.6/numpy/polynomial
copying numpy/polynomial/laguerre.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/polynomial
copying numpy/polynomial/polyutils.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/polynomial
copying numpy/polynomial/init.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/polynomial
copying numpy/polynomial/setup.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/polynomial
copying numpy/polynomial/hermite_e.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/polynomial
copying numpy/polynomial/chebyshev.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/polynomial
copying numpy/polynomial/polynomial.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/polynomial
copying numpy/polynomial/legendre.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/polynomial
copying numpy/polynomial/polytemplate.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/polynomial
copying numpy/polynomial/hermite.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/polynomial
creating build/lib.macosx-10.11-x86_64-3.6/numpy/doc
copying numpy/doc/misc.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/doc
copying numpy/doc/internals.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/doc
copying numpy/doc/creation.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/doc
copying numpy/doc/constants.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/doc
copying numpy/doc/io.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/doc
copying numpy/doc/ufuncs.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/doc
copying numpy/doc/init.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/doc
copying numpy/doc/howtofind.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/doc
copying numpy/doc/methods_vs_functions.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/doc
copying numpy/doc/broadcasting.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/doc
copying numpy/doc/basics.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/doc
copying numpy/doc/jargon.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/doc
copying numpy/doc/subclassing.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/doc
copying numpy/doc/indexing.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/doc
copying numpy/doc/byteswapping.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/doc
copying numpy/doc/performance.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/doc
copying numpy/doc/structured_arrays.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/doc
copying numpy/doc/glossary.py -> build/lib.macosx-10.11-x86_64-3.6/numpy/doc
running build_clib
customize UnixCCompiler
customize UnixCCompiler using build_clib
building 'npymath' library
compiling C sources
C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes

creating build/temp.macosx-10.11-x86_64-3.6
creating build/temp.macosx-10.11-x86_64-3.6/build
creating build/temp.macosx-10.11-x86_64-3.6/build/src.macosx-10.11-x86_64-3.6
creating build/temp.macosx-10.11-x86_64-3.6/build/src.macosx-10.11-x86_64-3.6/numpy
creating build/temp.macosx-10.11-x86_64-3.6/build/src.macosx-10.11-x86_64-3.6/numpy/core
creating build/temp.macosx-10.11-x86_64-3.6/build/src.macosx-10.11-x86_64-3.6/numpy/core/src
creating build/temp.macosx-10.11-x86_64-3.6/build/src.macosx-10.11-x86_64-3.6/numpy/core/src/npymath
creating build/temp.macosx-10.11-x86_64-3.6/numpy
creating build/temp.macosx-10.11-x86_64-3.6/numpy/core
creating build/temp.macosx-10.11-x86_64-3.6/numpy/core/src
creating build/temp.macosx-10.11-x86_64-3.6/numpy/core/src/npymath
compile options: '-Inumpy/core/include -Ibuild/src.macosx-10.11-x86_64-3.6/numpy/core/include/numpy -Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/include -I/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/include/python3.6m -Ibuild/src.macosx-10.11-x86_64-3.6/numpy/core/src/multiarray -Ibuild/src.macosx-10.11-x86_64-3.6/numpy/core/src/umath -c'
clang: build/src.macosx-10.11-x86_64-3.6/numpy/core/src/npymath/npy_math.c
In file included from numpy/core/src/npymath/npy_math.c.src:56:
In file included from numpy/core/src/npymath/npy_math_private.h:24:
In file included from numpy/core/src/private/npy_config.h:4:
build/src.macosx-10.11-x86_64-3.6/numpy/core/include/numpy/config.h:27:9: warning: 'HAVE_LOG2' macro redefined [-Wmacro-redefined]
#define HAVE_LOG2
^
/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/include/python3.6m/pyconfig.h:612:9: note: previous definition is here
#define HAVE_LOG2 1
^
1 warning generated.
clang: build/src.macosx-10.11-x86_64-3.6/numpy/core/src/npymath/ieee754.c
In file included from numpy/core/src/npymath/ieee754.c.src:7:
In file included from numpy/core/src/npymath/npy_math_common.h:8:
In file included from numpy/core/src/private/npy_config.h:4:
build/src.macosx-10.11-x86_64-3.6/numpy/core/include/numpy/config.h:27:9: warning: 'HAVE_LOG2' macro redefined [-Wmacro-redefined]
#define HAVE_LOG2
^
/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/include/python3.6m/pyconfig.h:612:9: note: previous definition is here
#define HAVE_LOG2 1
^
1 warning generated.
clang: build/src.macosx-10.11-x86_64-3.6/numpy/core/src/npymath/npy_math_complex.c
In file included from numpy/core/src/npymath/npy_math_complex.c.src:31:
In file included from numpy/core/src/npymath/npy_math_common.h:8:
In file included from numpy/core/src/private/npy_config.h:4:
build/src.macosx-10.11-x86_64-3.6/numpy/core/include/numpy/config.h:27:9: warning: 'HAVE_LOG2' macro redefined [-Wmacro-redefined]
#define HAVE_LOG2
^
/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/include/python3.6m/pyconfig.h:612:9: note: previous definition is here
#define HAVE_LOG2 1
^
1 warning generated.
clang: numpy/core/src/npymath/halffloat.c
ar: adding 4 object files to build/temp.macosx-10.11-x86_64-3.6/libnpymath.a
ranlib:@ build/temp.macosx-10.11-x86_64-3.6/libnpymath.a
running build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
building 'numpy.core._sort' extension
compiling C sources
C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes

compile options: '-Inumpy/core/include -Ibuild/src.macosx-10.11-x86_64-3.6/numpy/core/include/numpy -Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/include -I/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/include/python3.6m -Ibuild/src.macosx-10.11-x86_64-3.6/numpy/core/src/multiarray -Ibuild/src.macosx-10.11-x86_64-3.6/numpy/core/src/umath -c'
clang: build/src.macosx-10.11-x86_64-3.6/numpy/core/src/_sortmodule.c
In file included from numpy/core/src/_sortmodule.c.src:35:
In file included from numpy/core/src/private/npy_config.h:4:
build/src.macosx-10.11-x86_64-3.6/numpy/core/include/numpy/config.h:27:9: warning: 'HAVE_LOG2' macro redefined [-Wmacro-redefined]
#define HAVE_LOG2
^
/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/include/python3.6m/pyconfig.h:612:9: note: previous definition is here
#define HAVE_LOG2 1
^
numpy/core/src/_sortmodule.c.src:146:1: warning: unused function 'PyObject_LT' [-Wunused-function]
PyObject_LT(PyObject *pa, PyObject *pb)
^
2 warnings generated.
clang -bundle -undefined dynamic_lookup build/temp.macosx-10.11-x86_64-3.6/build/src.macosx-10.11-x86_64-3.6/numpy/core/src/_sortmodule.o -Lbuild/temp.macosx-10.11-x86_64-3.6 -lnpymath -o build/lib.macosx-10.11-x86_64-3.6/numpy/core/_sort.cpython-36m-darwin.so
building 'numpy.core.multiarray' extension
compiling C sources
C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes

creating build/temp.macosx-10.11-x86_64-3.6/numpy/core/src/multiarray
compile options: '-Inumpy/core/include -Ibuild/src.macosx-10.11-x86_64-3.6/numpy/core/include/numpy -Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/include -I/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/include/python3.6m -Ibuild/src.macosx-10.11-x86_64-3.6/numpy/core/src/multiarray -Ibuild/src.macosx-10.11-x86_64-3.6/numpy/core/src/umath -c'
clang: numpy/core/src/multiarray/multiarraymodule_onefile.c
In file included from numpy/core/src/multiarray/multiarraymodule_onefile.c:8:
In file included from numpy/core/src/multiarray/common.c:8:
In file included from numpy/core/src/private/npy_config.h:4:
build/src.macosx-10.11-x86_64-3.6/numpy/core/include/numpy/config.h:27:9: warning: 'HAVE_LOG2' macro redefined [-Wmacro-redefined]
#define HAVE_LOG2
^
/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/include/python3.6m/pyconfig.h:612:9: note: previous definition is here
#define HAVE_LOG2 1
^
In file included from numpy/core/src/multiarray/multiarraymodule_onefile.c:10:
numpy/core/src/multiarray/scalartypes.c.src:2326:47: error: no member named 'length' in 'PyUnicodeObject'
itemsize = ((PyUnicodeObject *)robj)->length * sizeof(Py_UNICODE);
~~~~~~~~~~~~~~~~~~~~~~~~~ ^
numpy/core/src/multiarray/scalartypes.c.src:2326:47: error: no member named 'length' in 'PyUnicodeObject'
itemsize = ((PyUnicodeObject *)robj)->length * sizeof(Py_UNICODE);
~~~~~~~~~~~~~~~~~~~~~~~~~ ^
In file included from numpy/core/src/multiarray/multiarraymodule_onefile.c:11:
numpy/core/src/multiarray/scalarapi.c:704:18: error: no member named 'str' in 'PyUnicodeObject'
uni->str = NULL;
~~~ ^
numpy/core/src/multiarray/scalarapi.c:705:18: error: no member named 'defenc' in 'PyUnicodeObject'
uni->defenc = NULL;
~~~ ^
numpy/core/src/multiarray/scalarapi.c:706:18: error: no member named 'hash' in 'PyUnicodeObject'
uni->hash = -1;
~~~ ^
numpy/core/src/multiarray/scalarapi.c:718:18: error: no member named 'str' in 'PyUnicodeObject'
uni->str = dst;
~~~ ^
numpy/core/src/multiarray/scalarapi.c:719:18: error: no member named 'str' in 'PyUnicodeObject'
uni->str[length] = 0;
~~~ ^
numpy/core/src/multiarray/scalarapi.c:720:18: error: no member named 'length' in 'PyUnicodeObject'
uni->length = length;
~~~ ^
In file included from numpy/core/src/multiarray/multiarraymodule_onefile.c:14:
numpy/core/src/multiarray/arraytypes.c.src:591:35: warning: incompatible pointer types assigning to 'PyObject *' (aka 'struct _object *') from 'PyArrayObject *' (aka 'struct PyArrayObject ') [-Wincompatible-pointer-types]
((PyArrayObject
)u)->base = ap;
^ ~~
numpy/core/src/multiarray/arraytypes.c.src:1634:26: warning: length modifier 'L' results in undefined behavior or no effect with 'd' conversion specifier [-Wformat]
return fscanf(fp, "%"LONGLONG_FMT, ip);
~~^~~~~~~~~~~~
numpy/core/include/numpy/noprefix.h:65:22: note: expanded from macro 'LONGLONG_FMT'
#define LONGLONG_FMT NPY_LONGLONG_FMT
^
numpy/core/include/numpy/npy_common.h:58:39: note: expanded from macro 'NPY_LONGLONG_FMT'

define NPY_LONGLONG_FMT "Ld"

                                  ^

numpy/core/src/multiarray/arraytypes.c.src:1634:26: note: did you mean to use 'll'?
numpy/core/include/numpy/noprefix.h:65:22: note: expanded from macro 'LONGLONG_FMT'
#define LONGLONG_FMT NPY_LONGLONG_FMT
^
numpy/core/include/numpy/npy_common.h:58:39: note: expanded from macro 'NPY_LONGLONG_FMT'

define NPY_LONGLONG_FMT "Ld"

                                  ^

In file included from numpy/core/src/multiarray/multiarraymodule_onefile.c:14:
numpy/core/src/multiarray/arraytypes.c.src:1634:26: warning: length modifier 'L' results in undefined behavior or no effect with 'u' conversion specifier [-Wformat]
return fscanf(fp, "%"ULONGLONG_FMT, ip);
~~^~~~~~~~~~~~~
numpy/core/include/numpy/noprefix.h:66:23: note: expanded from macro 'ULONGLONG_FMT'
#define ULONGLONG_FMT NPY_ULONGLONG_FMT
^
numpy/core/include/numpy/npy_common.h:59:39: note: expanded from macro 'NPY_ULONGLONG_FMT'

define NPY_ULONGLONG_FMT "Lu"

                                  ^

numpy/core/src/multiarray/arraytypes.c.src:1634:26: note: did you mean to use 'll'?
numpy/core/include/numpy/noprefix.h:66:23: note: expanded from macro 'ULONGLONG_FMT'
#define ULONGLONG_FMT NPY_ULONGLONG_FMT
^
numpy/core/include/numpy/npy_common.h:59:39: note: expanded from macro 'NPY_ULONGLONG_FMT'

define NPY_ULONGLONG_FMT "Lu"

                                  ^

In file included from numpy/core/src/multiarray/multiarraymodule_onefile.c:19:
numpy/core/src/multiarray/descriptor.c:978:9: warning: unused variable 'has_out_of_order_fields' [-Wunused-variable]
int has_out_of_order_fields = 0;
^
In file included from numpy/core/src/multiarray/multiarraymodule_onefile.c:21:
numpy/core/src/multiarray/ctors.c:1932:37: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses]
if (!(flags & NPY_FORCECAST) && !PyArray_NDIM(arr) == 0 &&
^ ~~
numpy/core/src/multiarray/ctors.c:1932:37: note: add parentheses after the '!' to evaluate the comparison first
if (!(flags & NPY_FORCECAST) && !PyArray_NDIM(arr) == 0 &&
^
( )
numpy/core/src/multiarray/ctors.c:1932:37: note: add parentheses around left hand side expression to silence this warning
if (!(flags & NPY_FORCECAST) && !PyArray_NDIM(arr) == 0 &&
^
( )
In file included from numpy/core/src/multiarray/multiarraymodule_onefile.c:25:
numpy/core/src/multiarray/getset.c:293:36: warning: incompatible pointer types passing 'PyArrayObject *' (aka 'struct PyArrayObject *') to parameter of type 'PyObject *' (aka 'struct _object *') [-Wincompatible-pointer-types]
return PyMemoryView_FromObject(self);
^~~~
/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/include/python3.6m/memoryobject.h:23:58: note: passing argument to parameter 'base' here
PyAPI_FUNC(PyObject *) PyMemoryView_FromObject(PyObject *base);
^
In file included from numpy/core/src/multiarray/multiarraymodule_onefile.c:39:
numpy/core/src/multiarray/nditer_pywrap.c:2262:32: warning: incompatible pointer types passing 'PySliceObject *' to parameter of type 'PyObject *' (aka 'struct _object *') [-Wincompatible-pointer-types]
if (PySlice_GetIndices((PySliceObject *)op,
^~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/include/python3.6m/sliceobject.h:41:46: note: passing argument to parameter 'r' here
PyAPI_FUNC(int) PySlice_GetIndices(PyObject *r, Py_ssize_t length,
^
In file included from numpy/core/src/multiarray/multiarraymodule_onefile.c:39:
numpy/core/src/multiarray/nditer_pywrap.c:2312:32: warning: incompatible pointer types passing 'PySliceObject *' to parameter of type 'PyObject *' (aka 'struct _object *') [-Wincompatible-pointer-types]
if (PySlice_GetIndices((PySliceObject *)op,
^~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/include/python3.6m/sliceobject.h:41:46: note: passing argument to parameter 'r' here
PyAPI_FUNC(int) PySlice_GetIndices(PyObject *r, Py_ssize_t length,
^
In file included from numpy/core/src/multiarray/multiarraymodule_onefile.c:43:
numpy/core/src/multiarray/ucsnarrow.c:136:56: warning: passing 'npy_ucs4 *' (aka 'unsigned int *') to parameter of type 'const Py_UNICODE *' (aka 'const int *') converts between pointers to integer types with different sign [-Wpointer-sign]
ret = (PyUnicodeObject *)PyUnicode_FromUnicode(buf, (Py_ssize_t) ucs4len);
^~~
/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/include/python3.6m/unicodeobject.h:689:23: note: passing argument to parameter 'u' here
const Py_UNICODE u, / Unicode buffer */
^
10 warnings and 8 errors generated.
In file included from numpy/core/src/multiarray/multiarraymodule_onefile.c:8:
In file included from numpy/core/src/multiarray/common.c:8:
In file included from numpy/core/src/private/npy_config.h:4:
build/src.macosx-10.11-x86_64-3.6/numpy/core/include/numpy/config.h:27:9: warning: 'HAVE_LOG2' macro redefined [-Wmacro-redefined]
#define HAVE_LOG2
^
/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/include/python3.6m/pyconfig.h:612:9: note: previous definition is here
#define HAVE_LOG2 1
^
In file included from numpy/core/src/multiarray/multiarraymodule_onefile.c:10:
numpy/core/src/multiarray/scalartypes.c.src:2326:47: error: no member named 'length' in 'PyUnicodeObject'
itemsize = ((PyUnicodeObject *)robj)->length * sizeof(Py_UNICODE);
~~~~~~~~~~~~~~~~~~~~~~~~~ ^
numpy/core/src/multiarray/scalartypes.c.src:2326:47: error: no member named 'length' in 'PyUnicodeObject'
itemsize = ((PyUnicodeObject *)robj)->length * sizeof(Py_UNICODE);
~~~~~~~~~~~~~~~~~~~~~~~~~ ^
In file included from numpy/core/src/multiarray/multiarraymodule_onefile.c:11:
numpy/core/src/multiarray/scalarapi.c:704:18: error: no member named 'str' in 'PyUnicodeObject'
uni->str = NULL;
~~~ ^
numpy/core/src/multiarray/scalarapi.c:705:18: error: no member named 'defenc' in 'PyUnicodeObject'
uni->defenc = NULL;
~~~ ^
numpy/core/src/multiarray/scalarapi.c:706:18: error: no member named 'hash' in 'PyUnicodeObject'
uni->hash = -1;
~~~ ^
numpy/core/src/multiarray/scalarapi.c:718:18: error: no member named 'str' in 'PyUnicodeObject'
uni->str = dst;
~~~ ^
numpy/core/src/multiarray/scalarapi.c:719:18: error: no member named 'str' in 'PyUnicodeObject'
uni->str[length] = 0;
~~~ ^
numpy/core/src/multiarray/scalarapi.c:720:18: error: no member named 'length' in 'PyUnicodeObject'
uni->length = length;
~~~ ^
In file included from numpy/core/src/multiarray/multiarraymodule_onefile.c:14:
numpy/core/src/multiarray/arraytypes.c.src:591:35: warning: incompatible pointer types assigning to 'PyObject *' (aka 'struct _object *') from 'PyArrayObject *' (aka 'struct PyArrayObject ') [-Wincompatible-pointer-types]
((PyArrayObject
)u)->base = ap;
^ ~~
numpy/core/src/multiarray/arraytypes.c.src:1634:26: warning: length modifier 'L' results in undefined behavior or no effect with 'd' conversion specifier [-Wformat]
return fscanf(fp, "%"LONGLONG_FMT, ip);
~~^~~~~~~~~~~~
numpy/core/include/numpy/noprefix.h:65:22: note: expanded from macro 'LONGLONG_FMT'
#define LONGLONG_FMT NPY_LONGLONG_FMT
^
numpy/core/include/numpy/npy_common.h:58:39: note: expanded from macro 'NPY_LONGLONG_FMT'

define NPY_LONGLONG_FMT "Ld"

                                  ^

numpy/core/src/multiarray/arraytypes.c.src:1634:26: note: did you mean to use 'll'?
numpy/core/include/numpy/noprefix.h:65:22: note: expanded from macro 'LONGLONG_FMT'
#define LONGLONG_FMT NPY_LONGLONG_FMT
^
numpy/core/include/numpy/npy_common.h:58:39: note: expanded from macro 'NPY_LONGLONG_FMT'

define NPY_LONGLONG_FMT "Ld"

                                  ^

In file included from numpy/core/src/multiarray/multiarraymodule_onefile.c:14:
numpy/core/src/multiarray/arraytypes.c.src:1634:26: warning: length modifier 'L' results in undefined behavior or no effect with 'u' conversion specifier [-Wformat]
return fscanf(fp, "%"ULONGLONG_FMT, ip);
~~^~~~~~~~~~~~~
numpy/core/include/numpy/noprefix.h:66:23: note: expanded from macro 'ULONGLONG_FMT'
#define ULONGLONG_FMT NPY_ULONGLONG_FMT
^
numpy/core/include/numpy/npy_common.h:59:39: note: expanded from macro 'NPY_ULONGLONG_FMT'

define NPY_ULONGLONG_FMT "Lu"

                                  ^

numpy/core/src/multiarray/arraytypes.c.src:1634:26: note: did you mean to use 'll'?
numpy/core/include/numpy/noprefix.h:66:23: note: expanded from macro 'ULONGLONG_FMT'
#define ULONGLONG_FMT NPY_ULONGLONG_FMT
^
numpy/core/include/numpy/npy_common.h:59:39: note: expanded from macro 'NPY_ULONGLONG_FMT'

define NPY_ULONGLONG_FMT "Lu"

                                  ^

In file included from numpy/core/src/multiarray/multiarraymodule_onefile.c:19:
numpy/core/src/multiarray/descriptor.c:978:9: warning: unused variable 'has_out_of_order_fields' [-Wunused-variable]
int has_out_of_order_fields = 0;
^
In file included from numpy/core/src/multiarray/multiarraymodule_onefile.c:21:
numpy/core/src/multiarray/ctors.c:1932:37: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses]
if (!(flags & NPY_FORCECAST) && !PyArray_NDIM(arr) == 0 &&
^ ~~
numpy/core/src/multiarray/ctors.c:1932:37: note: add parentheses after the '!' to evaluate the comparison first
if (!(flags & NPY_FORCECAST) && !PyArray_NDIM(arr) == 0 &&
^
( )
numpy/core/src/multiarray/ctors.c:1932:37: note: add parentheses around left hand side expression to silence this warning
if (!(flags & NPY_FORCECAST) && !PyArray_NDIM(arr) == 0 &&
^
( )
In file included from numpy/core/src/multiarray/multiarraymodule_onefile.c:25:
numpy/core/src/multiarray/getset.c:293:36: warning: incompatible pointer types passing 'PyArrayObject *' (aka 'struct PyArrayObject *') to parameter of type 'PyObject *' (aka 'struct _object *') [-Wincompatible-pointer-types]
return PyMemoryView_FromObject(self);
^~~~
/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/include/python3.6m/memoryobject.h:23:58: note: passing argument to parameter 'base' here
PyAPI_FUNC(PyObject *) PyMemoryView_FromObject(PyObject *base);
^
In file included from numpy/core/src/multiarray/multiarraymodule_onefile.c:39:
numpy/core/src/multiarray/nditer_pywrap.c:2262:32: warning: incompatible pointer types passing 'PySliceObject *' to parameter of type 'PyObject *' (aka 'struct _object *') [-Wincompatible-pointer-types]
if (PySlice_GetIndices((PySliceObject *)op,
^~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/include/python3.6m/sliceobject.h:41:46: note: passing argument to parameter 'r' here
PyAPI_FUNC(int) PySlice_GetIndices(PyObject *r, Py_ssize_t length,
^
In file included from numpy/core/src/multiarray/multiarraymodule_onefile.c:39:
numpy/core/src/multiarray/nditer_pywrap.c:2312:32: warning: incompatible pointer types passing 'PySliceObject *' to parameter of type 'PyObject *' (aka 'struct _object *') [-Wincompatible-pointer-types]
if (PySlice_GetIndices((PySliceObject *)op,
^~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/include/python3.6m/sliceobject.h:41:46: note: passing argument to parameter 'r' here
PyAPI_FUNC(int) PySlice_GetIndices(PyObject *r, Py_ssize_t length,
^
In file included from numpy/core/src/multiarray/multiarraymodule_onefile.c:43:
numpy/core/src/multiarray/ucsnarrow.c:136:56: warning: passing 'npy_ucs4 *' (aka 'unsigned int *') to parameter of type 'const Py_UNICODE *' (aka 'const int *') converts between pointers to integer types with different sign [-Wpointer-sign]
ret = (PyUnicodeObject *)PyUnicode_FromUnicode(buf, (Py_ssize_t) ucs4len);
^~~
/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/include/python3.6m/unicodeobject.h:689:23: note: passing argument to parameter 'u' here
const Py_UNICODE u, / Unicode buffer */
^
10 warnings and 8 errors generated.
Running from numpy source directory.error: Command "clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Inumpy/core/include -Ibuild/src.macosx-10.11-x86_64-3.6/numpy/core/include/numpy -Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/include -I/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/include/python3.6m -Ibuild/src.macosx-10.11-x86_64-3.6/numpy/core/src/multiarray -Ibuild/src.macosx-10.11-x86_64-3.6/numpy/core/src/umath -c numpy/core/src/multiarray/multiarraymodule_onefile.c -o build/temp.macosx-10.11-x86_64-3.6/numpy/core/src/multiarray/multiarraymodule_onefile.o" failed with exit status 1


[17:47:59] Failed building wheel for numpy
[17:47:59] Running setup.py clean for numpy
[17:48:00] Failed to build numpy

Error from sklearn.externals import joblib ImportError: cannot import name 'joblib' from 'sklearn.externals' (/usr/local/lib/python3.7/site-packages/sklearn/externals/__init__.py)

I got this error, I think it's something about joblib library

File "", line 1, in
File "/usr/local/lib/python3.7/site-packages/hatesonar/init.py", line 1, in
from hatesonar.api import Sonar
File "/usr/local/lib/python3.7/site-packages/hatesonar/api.py", line 12, in
from sklearn.externals import joblib
ImportError: cannot import name 'joblib' from 'sklearn.externals' (/usr/local/lib/python3.7/site-packages/sklearn/externals/init.py)

Error on running script

Traceback (most recent call last):
File "C:\Users\Carina\ProgrammingProjects\KaterynaSuperProf\twitter_analysis.py", line 74, in
test()
File "C:\Users\Carina\ProgrammingProjects\KaterynaSuperProf\twitter_analysis.py", line 68, in test
sonar = Sonar()
File "C:\Users\Carina\AppData\Local\Programs\Python\Python310\lib\site-packages\hatesonar\api.py", line 21, in init
self.estimator = joblib.load(model_file)
File "C:\Users\Carina\AppData\Local\Programs\Python\Python310\lib\site-packages\joblib\numpy_pickle.py", line 587, in load
obj = _unpickle(fobj, filename, mmap_mode)
File "C:\Users\Carina\AppData\Local\Programs\Python\Python310\lib\site-packages\joblib\numpy_pickle.py", line 506, in _unpickle
obj = unpickler.load()
File "C:\Users\Carina\AppData\Local\Programs\Python\Python310\lib\pickle.py", line 1213, in load
dispatchkey[0]
File "C:\Users\Carina\AppData\Local\Programs\Python\Python310\lib\pickle.py", line 1529, in load_global
klass = self.find_class(module, name)
File "C:\Users\Carina\AppData\Local\Programs\Python\Python310\lib\pickle.py", line 1580, in find_class
import(module, level=0)
ModuleNotFoundError: No module named 'sklearn.linear_model.logistic'

Process finished with exit code 1

Code:
def test():
sonar = Sonar()
sonar.ping(text="I hate you")

Problem with pickle version in Python 2.7

Hi,

When trying to use Sonar i get an exception for unsupported pickle version. I attach the traceback below:

>>> from hatesonar import Sonar
>>> sonar = Sonar()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/savvas/anaconda2/lib/python2.7/site-packages/hatesonar/api.py", line 21, in __init__
    self.estimator = joblib.load(model_file)
  File "/home/savvas/anaconda2/lib/python2.7/site-packages/sklearn/externals/joblib/numpy_pickle.py", line 578, in load
    obj = _unpickle(fobj, filename, mmap_mode)
  File "/home/savvas/anaconda2/lib/python2.7/site-packages/sklearn/externals/joblib/numpy_pickle.py", line 508, in _unpickle
    obj = unpickler.load()
  File "/home/savvas/anaconda2/lib/python2.7/pickle.py", line 864, in load
    dispatch[key](self)
  File "/home/savvas/anaconda2/lib/python2.7/pickle.py", line 892, in load_proto
    raise ValueError, "unsupported pickle protocol: %d" % proto
ValueError: unsupported pickle protocol: 3

With Python3 i was able to avoid this issue but it will be nice to be solved for 2.7 version too.
Probably a way to fix is to also include pickle files that were pickled with version 2.

Thanks,
Savvas

ModuleNotFoundError: No module named 'sklearn.linear_model.logistic'

In [1]: from hatesonar import Sonar

In [2]: sonar = Sonar()
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-2-b474975b2fe6> in <module>
----> 1 sonar = Sonar()

~/project/.venv/lib/python3.9/site-packages/hatesonar/api.py in __init__(self)
     19         model_file = os.path.join(BASE_DIR, 'model.joblib')
     20         preprocessor_file = os.path.join(BASE_DIR, 'preprocess.joblib')
---> 21         self.estimator = joblib.load(model_file)
     22         self.preprocessor = joblib.load(preprocessor_file)
     23 

~/project/.venv/lib/python3.9/site-packages/joblib/numpy_pickle.py in load(filename, mmap_mode)
    583                     return load_compatibility(fobj)
    584 
--> 585                 obj = _unpickle(fobj, filename, mmap_mode)
    586     return obj

~/project/.venv/lib/python3.9/site-packages/joblib/numpy_pickle.py in _unpickle(fobj, filename, mmap_mode)
    502     obj = None
    503     try:
--> 504         obj = unpickler.load()
    505         if unpickler.compat_mode:
    506             warnings.warn("The file '%s' has been generated with a "

/usr/lib/python3.9/pickle.py in load(self)
   1210                     raise EOFError
   1211                 assert isinstance(key, bytes_types)
-> 1212                 dispatch[key[0]](self)
   1213         except _Stop as stopinst:
   1214             return stopinst.value

/usr/lib/python3.9/pickle.py in load_global(self)
   1526         module = self.readline()[:-1].decode("utf-8")
   1527         name = self.readline()[:-1].decode("utf-8")
-> 1528         klass = self.find_class(module, name)
   1529         self.append(klass)
   1530     dispatch[GLOBAL[0]] = load_global

/usr/lib/python3.9/pickle.py in find_class(self, module, name)
   1577             elif module in _compat_pickle.IMPORT_MAPPING:
   1578                 module = _compat_pickle.IMPORT_MAPPING[module]
-> 1579         __import__(module, level=0)
   1580         if self.proto >= 4:
   1581             return _getattribute(sys.modules[module], name)[0]

ModuleNotFoundError: No module named 'sklearn.linear_model.logistic'
Package         Version
--------------- ---------
blis            0.7.4
catalogue       2.0.3
certifi         2020.12.5
chardet         4.0.0
click           7.1.2
cymem           2.0.5
hatesonar       0.0.7
idna            2.10
Jinja2          2.11.3
joblib          1.0.1
MarkupSafe      1.1.1
murmurhash      1.0.5
nltk            3.6.2
numpy           1.20.2
packaging       20.9
pandas          1.2.4
pathy           0.4.0
pip             21.0.1
preshed         3.0.5
psaw            0.1.0
pydantic        1.7.3
pyparsing       2.4.7
python-dateutil 2.8.1
pytz            2021.1
regex           2021.4.4
requests        2.25.1
scikit-learn    0.24.1
scipy           1.6.2
setuptools      56.0.0
six             1.15.0
smart-open      3.0.0
spacy           3.0.5
spacy-legacy    3.0.2
spacytextblob   3.0
srsly           2.4.1
textblob        0.15.3
thinc           8.0.3
threadpoolctl   2.1.0
tqdm            4.60.0
typer           0.3.2
urllib3         1.26.4
wasabi          0.8.2
wheel           0.36.2

This looks like it's related to scikit-learn being 24 and the pickled files are from scikit-learn 23.2 according to the repo readme. I tried to install scikit-learn 23 but that failed and I ended up in build hell with numpy and arch linux.

Could not find a version that satisfies the requirement ipython==6.2.1

Collecting ipython==6.2.1 (from -r requirements.txt (line 12))
  Could not find a version that satisfies the requirement ipython==6.2.1 (from -r requirements.txt (line 12)) (from versions: 0.10, 0.10.1, 0.10.2, 0.11, 0.12, 0.12.1, 0.13, 0.13.1, 0.13.2, 1.0.0, 1.1.0, 1.2.0, 1.2.1, 2.0.0, 2.1.0, 2.2.0, 2.3.0, 2.3.1, 2.4.0, 2.4.1, 3.0.0, 3.1.0, 3.2.0, 3.2.1, 3.2.2, 3.2.3, 4.0.0b1, 4.0.0, 4.0.1, 4.0.2, 4.0.3, 4.1.0rc1, 4.1.0rc2, 4.1.0, 4.1.1, 4.1.2, 4.2.0, 4.2.1, 5.0.0b1, 5.0.0b2, 5.0.0b3, 5.0.0b4, 5.0.0rc1, 5.0.0, 5.1.0, 5.2.0, 5.2.1, 5.2.2, 5.3.0, 5.4.0, 5.4.1, 5.5.0)
No matching distribution found for ipython==6.2.1 (from -r requirements.txt (line 12))

By the way, removing the version in the requirements.txt, I got it working.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.