You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I apologize as it seems really stupid, but I got the following error when I try to install the requirement. I can reinstall all the dependencies manually, but I wonder if you have a suggestion that is quicker (maybe using a virtual container of sorts? and if you can provide, say, a docker image file or a mkvirtualenv file?)
Password:
WARNING: The directory '/Users/makerpass/Library/Caches/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.
WARNING: The directory '/Users/makerpass/Library/Caches/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.
Collecting Django==1.10.5 (from -r requirements.txt (line 1))
Downloading https://files.pythonhosted.org/packages/45/60/faa28a1d17f879f9dbef28f249e4e9a8dd1d29ae78409516b4b8b6c3ebab/Django-1.10.5-py2.py3-none-any.whl (6.8MB)
|████████████████████████████████| 6.8MB 16.4MB/s
Collecting matplotlib==1.5.1 (from -r requirements.txt (line 2))
Downloading https://files.pythonhosted.org/packages/8f/f4/c0c7e81f64d5f4d36e52e393af687f28882c53dcd924419d684dc9859f40/matplotlib-1.5.1.tar.gz (54.0MB)
|████████████████████████████████| 54.0MB 207kB/s
Collecting more_itertools==2.5.0 (from -r requirements.txt (line 3))
Downloading https://files.pythonhosted.org/packages/4c/7b/9b600d0e6e5eb394f6ac678798e9e1fc93f58dd7b62d5ab41970fad1929b/more_itertools-2.5.0-py3-none-any.whl
Collecting numpy==1.11.0 (from -r requirements.txt (line 4))
Downloading https://files.pythonhosted.org/packages/1a/5c/57c6920bf4a1b1c11645b625e5483d778cedb3823ba21a017112730f0a12/numpy-1.11.0.tar.gz (4.2MB)
|████████████████████████████████| 4.2MB 4.1MB/s
Collecting pandas==0.19.2 (from -r requirements.txt (line 5))
Downloading https://files.pythonhosted.org/packages/08/9d/31ec596099f14528fc6ad39428248ac5360f0bb5205a3ee79a5d1cf260fb/pandas-0.19.2.tar.gz (9.2MB)
|████████████████████████████████| 9.2MB 3.9MB/s
Collecting Pyomo==5.1.1 (from -r requirements.txt (line 6))
Downloading https://files.pythonhosted.org/packages/61/82/285c1b4ea37f6d4508b91f6bf0433100442ee7b977f1a113e373ea14ac3e/Pyomo-5.1.1.tar.gz (1.1MB)
|████████████████████████████████| 1.1MB 10.1MB/s
Collecting pypsa==0.8.0 (from -r requirements.txt (line 7))
Downloading https://files.pythonhosted.org/packages/b1/df/284abdbbc60905c7a2f2286c5507b03658dd3fbf7b10cc05a81fff6902bd/pypsa-0.8.0.tar.gz (61kB)
|████████████████████████████████| 71kB 15.4MB/s
Collecting django-webpack-loader==0.5.0 (from -r requirements.txt (line 8))
Downloading https://files.pythonhosted.org/packages/6a/1d/3680c3cd7bf5a35a0ed451201fbdd93d7b17e63045d97bb8e2d4ba754e5f/django_webpack_loader-0.5.0-py2.py3-none-any.whl
Requirement already satisfied: python-dateutil in /usr/local/lib/python3.7/site-packages (from matplotlib==1.5.1->-r requirements.txt (line 2)) (2.8.0)
Requirement already satisfied: pytz in /usr/local/lib/python3.7/site-packages (from matplotlib==1.5.1->-r requirements.txt (line 2)) (2019.1)
Collecting cycler (from matplotlib==1.5.1->-r requirements.txt (line 2))
Downloading https://files.pythonhosted.org/packages/f7/d2/e07d3ebb2bd7af696440ce7e754c59dd546ffe1bbe732c8ab68b9c834e61/cycler-0.10.0-py2.py3-none-any.whl
Requirement already satisfied: pyparsing!=2.0.4,>=1.5.6 in /usr/local/lib/python3.7/site-packages (from matplotlib==1.5.1->-r requirements.txt (line 2)) (2.2.2)
Requirement already satisfied: six<2.0.0,>=1.0.0 in /usr/local/lib/python3.7/site-packages (from more_itertools==2.5.0->-r requirements.txt (line 3)) (1.12.0)
Requirement already satisfied: PyUtilib>=5.4.1 in /usr/local/lib/python3.7/site-packages (from Pyomo==5.1.1->-r requirements.txt (line 6)) (5.7.0)
Requirement already satisfied: appdirs in /usr/local/lib/python3.7/site-packages (from Pyomo==5.1.1->-r requirements.txt (line 6)) (1.4.3)
Requirement already satisfied: ply in /usr/local/lib/python3.7/site-packages (from Pyomo==5.1.1->-r requirements.txt (line 6)) (3.11)
Requirement already satisfied: scipy in /usr/local/lib/python3.7/site-packages (from pypsa==0.8.0->-r requirements.txt (line 7)) (1.3.0)
Requirement already satisfied: networkx>=1.10 in /usr/local/lib/python3.7/site-packages (from pypsa==0.8.0->-r requirements.txt (line 7)) (2.3)
Requirement already satisfied: nose in /usr/local/lib/python3.7/site-packages (from PyUtilib>=5.4.1->Pyomo==5.1.1->-r requirements.txt (line 6)) (1.3.7)
Requirement already satisfied: decorator>=4.3.0 in /usr/local/lib/python3.7/site-packages (from networkx>=1.10->pypsa==0.8.0->-r requirements.txt (line 7)) (4.4.0)
Building wheels for collected packages: matplotlib, numpy, pandas, Pyomo, pypsa
Building wheel for matplotlib (setup.py) ... done
Stored in directory: /Users/makerpass/Library/Caches/pip/wheels/20/aa/a0/7f5b22abf34b2e8e07cac9b4dae93ec023cbc450e09dabb6b0
Building wheel for numpy (setup.py) ... /
error
ERROR: Complete output from command /usr/local/opt/python/bin/python3.7 -u -c 'import setuptools, tokenize;__file__='"'"'/private/tmp/pip-install-ihdpp2gz/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 /private/tmp/pip-wheel-mfejd62v --python-tag cp37:
ERROR: Running from numpy source directory.
blas_opt_info:
blas_mkl_info:
libraries mkl,vml,guide not found in ['/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
openblas_info:
libraries openblas not found in ['/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
atlas_3_10_blas_threads_info:
Setting PTATLAS=ATLAS
libraries tatlas not found in ['/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
atlas_3_10_blas_info:
libraries satlas not found in ['/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
atlas_blas_threads_info:
Setting PTATLAS=ATLAS
libraries ptf77blas,ptcblas,atlas not found in ['/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
atlas_blas_info:
libraries f77blas,cblas,atlas not found in ['/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
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), ('HAVE_CBLAS', None)]
non-existing path in 'numpy/distutils': 'site.cfg'
F2PY Version 2
lapack_opt_info:
openblas_lapack_info:
libraries openblas not found in ['/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
lapack_mkl_info:
mkl_info:
libraries mkl,vml,guide not found in ['/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
NOT AVAILABLE
atlas_3_10_threads_info:
Setting PTATLAS=ATLAS
libraries tatlas,tatlas not found in /usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib
libraries lapack_atlas not found in /usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib
libraries tatlas,tatlas not found in /usr/local/lib
libraries lapack_atlas not found in /usr/local/lib
libraries tatlas,tatlas not found in /usr/lib
libraries lapack_atlas not found in /usr/lib
<class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
NOT AVAILABLE
atlas_3_10_info:
libraries satlas,satlas not found in /usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib
libraries lapack_atlas not found in /usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib
libraries satlas,satlas not found in /usr/local/lib
libraries lapack_atlas not found in /usr/local/lib
libraries satlas,satlas not found in /usr/lib
libraries lapack_atlas not found in /usr/lib
<class 'numpy.distutils.system_info.atlas_3_10_info'>
NOT AVAILABLE
atlas_threads_info:
Setting PTATLAS=ATLAS
libraries ptf77blas,ptcblas,atlas not found in /usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib
libraries lapack_atlas not found in /usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib
libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib
libraries lapack_atlas not found in /usr/local/lib
libraries ptf77blas,ptcblas,atlas not found in /usr/lib
libraries lapack_atlas not found in /usr/lib
<class 'numpy.distutils.system_info.atlas_threads_info'>
NOT AVAILABLE
atlas_info:
libraries f77blas,cblas,atlas not found in /usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib
libraries lapack_atlas not found in /usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib
libraries f77blas,cblas,atlas not found in /usr/local/lib
libraries lapack_atlas not found in /usr/local/lib
libraries f77blas,cblas,atlas not found in /usr/lib
libraries lapack_atlas not found in /usr/lib
<class 'numpy.distutils.system_info.atlas_info'>
NOT AVAILABLE
FOUND:
extra_compile_args = ['-msse3']
extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
define_macros = [('NO_ATLAS_INFO', 3), ('HAVE_CBLAS', None)]
/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/distutils/dist.py:274: UserWarning: Unknown distribution option: 'define_macros'
warnings.warn(msg)
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
creating build
creating build/src.macosx-10.11-x86_64-3.7
creating build/src.macosx-10.11-x86_64-3.7/numpy
creating build/src.macosx-10.11-x86_64-3.7/numpy/distutils
building library "npymath" sources
customize Gnu95FCompiler
Found executable /usr/local/bin/gfortran
customize Gnu95FCompiler
customize Gnu95FCompiler using config
C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall
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/src/npysort -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c'
clang: _configtest.c
clang _configtest.o -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall
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/src/npysort -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/include/python3.7m -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
creating build/src.macosx-10.11-x86_64-3.7/numpy/core
creating build/src.macosx-10.11-x86_64-3.7/numpy/core/src
creating build/src.macosx-10.11-x86_64-3.7/numpy/core/src/npymath
conv_template:> build/src.macosx-10.11-x86_64-3.7/numpy/core/src/npymath/npy_math.c
conv_template:> build/src.macosx-10.11-x86_64-3.7/numpy/core/src/npymath/ieee754.c
conv_template:> build/src.macosx-10.11-x86_64-3.7/numpy/core/src/npymath/npy_math_complex.c
building library "npysort" sources
creating build/src.macosx-10.11-x86_64-3.7/numpy/core/src/npysort
conv_template:> build/src.macosx-10.11-x86_64-3.7/numpy/core/src/npysort/quicksort.c
conv_template:> build/src.macosx-10.11-x86_64-3.7/numpy/core/src/npysort/mergesort.c
conv_template:> build/src.macosx-10.11-x86_64-3.7/numpy/core/src/npysort/heapsort.c
creating build/src.macosx-10.11-x86_64-3.7/numpy/core/src/private
conv_template:> build/src.macosx-10.11-x86_64-3.7/numpy/core/src/private/npy_partition.h
adding 'build/src.macosx-10.11-x86_64-3.7/numpy/core/src/private' to include_dirs.
conv_template:> build/src.macosx-10.11-x86_64-3.7/numpy/core/src/npysort/selection.c
conv_template:> build/src.macosx-10.11-x86_64-3.7/numpy/core/src/private/npy_binsearch.h
conv_template:> build/src.macosx-10.11-x86_64-3.7/numpy/core/src/npysort/binsearch.c
None - nothing done with h_files = ['build/src.macosx-10.11-x86_64-3.7/numpy/core/src/private/npy_partition.h', 'build/src.macosx-10.11-x86_64-3.7/numpy/core/src/private/npy_binsearch.h']
building extension "numpy.core._dummy" sources
Generating build/src.macosx-10.11-x86_64-3.7/numpy/core/include/numpy/config.h
C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall
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/src/npysort -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c'
clang: _configtest.c
success!
removing: _configtest.c _configtest.o
C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall
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/src/npysort -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c'
clang: _configtest.c
_configtest.c:1:10: fatal error: 'endian.h' file not found
#include <endian.h>
^~~~~~~~~~
1 error generated.
_configtest.c:1:10: fatal error: 'endian.h' file not found
#include <endian.h>
^~~~~~~~~~
1 error generated.
failure.
removing: _configtest.c _configtest.o
C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall
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/src/npysort -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c'
clang: _configtest.c
success!
removing: _configtest.c _configtest.o
C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall
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/src/npysort -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c'
clang: _configtest.c
success!
removing: _configtest.c _configtest.o
C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall
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/src/npysort -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c'
clang: _configtest.c
success!
removing: _configtest.c _configtest.o
C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall
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/src/npysort -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c'
clang: _configtest.c
success!
removing: _configtest.c _configtest.o
C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall
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/src/npysort -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c'
clang: _configtest.c
removing: _configtest.c _configtest.o
C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall
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/src/npysort -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c'
clang: _configtest.c
removing: _configtest.c _configtest.o
C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall
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/src/npysort -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c'
clang: _configtest.c
removing: _configtest.c _configtest.o
C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall
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/src/npysort -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c'
clang: _configtest.c
removing: _configtest.c _configtest.o
C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
I apologize as it seems really stupid, but I got the following error when I try to install the requirement. I can reinstall all the dependencies manually, but I wonder if you have a suggestion that is quicker (maybe using a virtual container of sorts? and if you can provide, say, a docker image file or a mkvirtualenv file?)
The text was updated successfully, but these errors were encountered: