Created
February 9, 2019 17:41
-
-
Save Erotemic/1f9b19ad1d116c9731ce7f446f020ce4 to your computer and use it in GitHub Desktop.
cant find numpy error with pip install
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(py36) joncrall@Ooo:~/code/netharn$ ./setup.py clean && pip install -e . | |
Deleting directory="./__pycache__" | |
Deleting directory="./_skbuild" | |
Not deleting non-existant path="./__pycache__/skbuild_pr.cpython-36.pyc" | |
Obtaining file:///home/joncrall/code/netharn | |
Installing build dependencies ... done | |
Getting requirements to build wheel ... done | |
Preparing wheel metadata ... done | |
Requirement already satisfied: torch in /home/joncrall/.local/conda/envs/py36/lib/python3.6/site-packages (from netharn==0.1.8.dev0) (1.0.0) | |
Requirement already satisfied: tqdm in /home/joncrall/.local/conda/envs/py36/lib/python3.6/site-packages (from netharn==0.1.8.dev0) (4.23.4) | |
Requirement already satisfied: imgaug in /home/joncrall/code/imgaug (from netharn==0.1.8.dev0) (0.2.7) | |
Requirement already satisfied: numpy in /home/joncrall/.local/conda/envs/py36/lib/python3.6/site-packages (from netharn==0.1.8.dev0) (1.16.1) | |
Requirement already satisfied: Cython in /home/joncrall/.local/conda/envs/py36/lib/python3.6/site-packages (from netharn==0.1.8.dev0) (0.29.1) | |
Requirement already satisfied: astunparse in /home/joncrall/.local/conda/envs/py36/lib/python3.6/site-packages (from netharn==0.1.8.dev0) (1.6.1) | |
Requirement already satisfied: cffi in /home/joncrall/.local/conda/envs/py36/lib/python3.6/site-packages (from netharn==0.1.8.dev0) (1.11.5) | |
Requirement already satisfied: coverage in /home/joncrall/.local/conda/envs/py36/lib/python3.6/site-packages (from netharn==0.1.8.dev0) (4.5.1) | |
Requirement already satisfied: scikit-build in /home/joncrall/code/scikit-build (from netharn==0.1.8.dev0) (0.8.1+22.g9566de5) | |
Requirement already satisfied: scikit-learn in /home/joncrall/.local/conda/envs/py36/lib/python3.6/site-packages (from netharn==0.1.8.dev0) (0.19.1) | |
Requirement already satisfied: protobuf in /home/joncrall/.local/conda/envs/py36/lib/python3.6/site-packages (from netharn==0.1.8.dev0) (3.6.0) | |
Requirement already satisfied: pandas in /home/joncrall/.local/conda/envs/py36/lib/python3.6/site-packages (from netharn==0.1.8.dev0) (0.23.3) | |
Requirement already satisfied: Pillow in /home/joncrall/.local/conda/envs/py36/lib/python3.6/site-packages (from netharn==0.1.8.dev0) (5.2.0) | |
Requirement already satisfied: ubelt in /home/joncrall/code/ubelt (from netharn==0.1.8.dev0) (0.6.0) | |
Requirement already satisfied: h5py in /home/joncrall/.local/conda/envs/py36/lib/python3.6/site-packages (from netharn==0.1.8.dev0) (2.8.0) | |
Requirement already satisfied: progiter in /home/joncrall/code/progiter (from netharn==0.1.8.dev0) (0.0.3) | |
Requirement already satisfied: pygtrie in /home/joncrall/.local/conda/envs/py36/lib/python3.6/site-packages (from netharn==0.1.8.dev0) (2.2) | |
Requirement already satisfied: opencv-python in /home/joncrall/.local/conda/envs/py36/lib/python3.6/site-packages (from netharn==0.1.8.dev0) (3.4.1.15) | |
Requirement already satisfied: pytest in /home/joncrall/.local/conda/envs/py36/lib/python3.6/site-packages (from netharn==0.1.8.dev0) (3.6.3) | |
Requirement already satisfied: torchvision in /home/joncrall/.local/conda/envs/py36/lib/python3.6/site-packages (from netharn==0.1.8.dev0) (0.2.1) | |
Requirement already satisfied: matplotlib in /home/joncrall/.local/conda/envs/py36/lib/python3.6/site-packages (from netharn==0.1.8.dev0) (2.2.2) | |
Requirement already satisfied: parse in /home/joncrall/.local/conda/envs/py36/lib/python3.6/site-packages (from netharn==0.1.8.dev0) (1.8.4) | |
Requirement already satisfied: tensorboard in /home/joncrall/.local/conda/envs/py36/lib/python3.6/site-packages (from netharn==0.1.8.dev0) (1.8.0) | |
Requirement already satisfied: pyflakes in /home/joncrall/.local/conda/envs/py36/lib/python3.6/site-packages (from netharn==0.1.8.dev0) (1.6.0) | |
Requirement already satisfied: xdoctest in /home/joncrall/code/xdoctest (from netharn==0.1.8.dev0) (0.7.2) | |
Requirement already satisfied: pyqt5; python_version > "2.7" in /home/joncrall/.local/conda/envs/py36/lib/python3.6/site-packages (from netharn==0.1.8.dev0) (5.11.2) | |
Requirement already satisfied: tensorboard-logger in /home/joncrall/.local/conda/envs/py36/lib/python3.6/site-packages (from netharn==0.1.8.dev0) (0.1.0) | |
Requirement already satisfied: easydict in /home/joncrall/.local/conda/envs/py36/lib/python3.6/site-packages (from netharn==0.1.8.dev0) (1.7) | |
Requirement already satisfied: pytest-cov in /home/joncrall/.local/conda/envs/py36/lib/python3.6/site-packages (from netharn==0.1.8.dev0) (2.5.1) | |
Requirement already satisfied: psutil in /home/joncrall/.local/conda/envs/py36/lib/python3.6/site-packages (from netharn==0.1.8.dev0) (5.4.7) | |
Requirement already satisfied: six in /home/joncrall/.local/conda/envs/py36/lib/python3.6/site-packages (from netharn==0.1.8.dev0) (1.11.0) | |
Requirement already satisfied: packaging in /home/joncrall/.local/conda/envs/py36/lib/python3.6/site-packages (from netharn==0.1.8.dev0) (17.1) | |
Requirement already satisfied: scipy in /home/joncrall/.local/conda/envs/py36/lib/python3.6/site-packages (from imgaug->netharn==0.1.8.dev0) (1.1.0) | |
Requirement already satisfied: scikit-image>=0.11.0 in /home/joncrall/code/scikit-image (from imgaug->netharn==0.1.8.dev0) (0.15.dev0) | |
Requirement already satisfied: imageio in /home/joncrall/.local/conda/envs/py36/lib/python3.6/site-packages (from imgaug->netharn==0.1.8.dev0) (2.4.1) | |
Requirement already satisfied: Shapely in /home/joncrall/.local/conda/envs/py36/lib/python3.6/site-packages (from imgaug->netharn==0.1.8.dev0) (1.6.4.post2) | |
Requirement already satisfied: wheel<1.0,>=0.23.0 in /home/joncrall/.local/conda/envs/py36/lib/python3.6/site-packages (from astunparse->netharn==0.1.8.dev0) (0.30.0) | |
Requirement already satisfied: pycparser in /home/joncrall/.local/conda/envs/py36/lib/python3.6/site-packages (from cffi->netharn==0.1.8.dev0) (2.18) | |
Requirement already satisfied: setuptools>=28.0.0 in /home/joncrall/.local/conda/envs/py36/lib/python3.6/site-packages (from scikit-build->netharn==0.1.8.dev0) (39.0.1) | |
Requirement already satisfied: python-dateutil>=2.5.0 in /home/joncrall/.local/conda/envs/py36/lib/python3.6/site-packages (from pandas->netharn==0.1.8.dev0) (2.7.2) | |
Requirement already satisfied: pytz>=2011k in /home/joncrall/.local/conda/envs/py36/lib/python3.6/site-packages (from pandas->netharn==0.1.8.dev0) (2018.3) | |
Requirement already satisfied: xxhash in /home/joncrall/.local/conda/envs/py36/lib/python3.6/site-packages (from ubelt->netharn==0.1.8.dev0) (1.3.0) | |
Requirement already satisfied: Pygments in /home/joncrall/.local/conda/envs/py36/lib/python3.6/site-packages (from ubelt->netharn==0.1.8.dev0) (2.2.0) | |
Requirement already satisfied: timerit in /home/joncrall/code/timerit (from ubelt->netharn==0.1.8.dev0) (0.1.0) | |
Requirement already satisfied: ordered-set in /home/joncrall/code/ordered-set (from ubelt->netharn==0.1.8.dev0) (2.0.2) | |
Requirement already satisfied: atomicwrites>=1.0 in /home/joncrall/.local/conda/envs/py36/lib/python3.6/site-packages (from pytest->netharn==0.1.8.dev0) (1.1.5) | |
Requirement already satisfied: attrs>=17.4.0 in /home/joncrall/.local/conda/envs/py36/lib/python3.6/site-packages (from pytest->netharn==0.1.8.dev0) (17.4.0) | |
Requirement already satisfied: py>=1.5.0 in /home/joncrall/.local/conda/envs/py36/lib/python3.6/site-packages (from pytest->netharn==0.1.8.dev0) (1.5.3) | |
Requirement already satisfied: pluggy<0.7,>=0.5 in /home/joncrall/.local/conda/envs/py36/lib/python3.6/site-packages (from pytest->netharn==0.1.8.dev0) (0.6.0) | |
Requirement already satisfied: more-itertools>=4.0.0 in /home/joncrall/.local/conda/envs/py36/lib/python3.6/site-packages (from pytest->netharn==0.1.8.dev0) (4.1.0) | |
Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 in /home/joncrall/.local/conda/envs/py36/lib/python3.6/site-packages (from matplotlib->netharn==0.1.8.dev0) (2.2.0) | |
Requirement already satisfied: kiwisolver>=1.0.1 in /home/joncrall/.local/conda/envs/py36/lib/python3.6/site-packages (from matplotlib->netharn==0.1.8.dev0) (1.0.1) | |
Requirement already satisfied: cycler>=0.10 in /home/joncrall/.local/conda/envs/py36/lib/python3.6/site-packages (from matplotlib->netharn==0.1.8.dev0) (0.10.0) | |
Requirement already satisfied: bleach==1.5.0 in /home/joncrall/.local/conda/envs/py36/lib/python3.6/site-packages (from tensorboard->netharn==0.1.8.dev0) (1.5.0) | |
Requirement already satisfied: werkzeug>=0.11.10 in /home/joncrall/.local/conda/envs/py36/lib/python3.6/site-packages (from tensorboard->netharn==0.1.8.dev0) (0.14.1) | |
Requirement already satisfied: html5lib==0.9999999 in /home/joncrall/.local/conda/envs/py36/lib/python3.6/site-packages (from tensorboard->netharn==0.1.8.dev0) (0.9999999) | |
Requirement already satisfied: markdown>=2.6.8 in /home/joncrall/.local/conda/envs/py36/lib/python3.6/site-packages (from tensorboard->netharn==0.1.8.dev0) (2.6.11) | |
Requirement already satisfied: PyQt5_sip<4.20,>=4.19.11 in /home/joncrall/.local/conda/envs/py36/lib/python3.6/site-packages (from pyqt5; python_version > "2.7"->netharn==0.1.8.dev0) (4.19.12) | |
Requirement already satisfied: networkx>=2.0 in /home/joncrall/.local/conda/envs/py36/lib/python3.6/site-packages (from scikit-image>=0.11.0->imgaug->netharn==0.1.8.dev0) (2.2) | |
Requirement already satisfied: PyWavelets>=0.4.0 in /home/joncrall/.local/conda/envs/py36/lib/python3.6/site-packages (from scikit-image>=0.11.0->imgaug->netharn==0.1.8.dev0) (0.5.2) | |
Requirement already satisfied: dask[array]>=0.9.0 in /home/joncrall/.local/conda/envs/py36/lib/python3.6/site-packages (from scikit-image>=0.11.0->imgaug->netharn==0.1.8.dev0) (0.20.0) | |
Requirement already satisfied: cloudpickle>=0.2.1 in /home/joncrall/.local/conda/envs/py36/lib/python3.6/site-packages (from scikit-image>=0.11.0->imgaug->netharn==0.1.8.dev0) (0.6.1) | |
Requirement already satisfied: decorator>=4.3.0 in /home/joncrall/.local/conda/envs/py36/lib/python3.6/site-packages (from networkx>=2.0->scikit-image>=0.11.0->imgaug->netharn==0.1.8.dev0) (4.3.0) | |
Requirement already satisfied: toolz>=0.7.3; extra == "array" in /home/joncrall/.local/conda/envs/py36/lib/python3.6/site-packages (from dask[array]>=0.9.0->scikit-image>=0.11.0->imgaug->netharn==0.1.8.dev0) (0.9.0) | |
Installing collected packages: netharn | |
Found existing installation: netharn 0.1.8.dev0 | |
Uninstalling netharn-0.1.8.dev0: | |
Successfully uninstalled netharn-0.1.8.dev0 | |
Running setup.py develop for netharn | |
Complete output from command /home/joncrall/.local/conda/envs/py36/bin/python -c "import setuptools, tokenize;__file__='/home/joncrall/code/netharn/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" develop --no-deps: | |
Not searching for unused variables given on the command line. | |
-- The C compiler identification is GNU 7.2.0 | |
-- Check for working C compiler: /home/joncrall/.local/conda/envs/py36/bin/x86_64-conda_cos6-linux-gnu-cc | |
-- Check for working C compiler: /home/joncrall/.local/conda/envs/py36/bin/x86_64-conda_cos6-linux-gnu-cc -- works | |
-- Detecting C compiler ABI info | |
-- Detecting C compiler ABI info - done | |
-- Detecting C compile features | |
-- Detecting C compile features - done | |
-- The CXX compiler identification is GNU 7.2.0 | |
-- Check for working CXX compiler: /home/joncrall/.local/conda/envs/py36/bin/x86_64-conda_cos6-linux-gnu-c++ | |
-- Check for working CXX compiler: /home/joncrall/.local/conda/envs/py36/bin/x86_64-conda_cos6-linux-gnu-c++ -- works | |
-- Detecting CXX compiler ABI info | |
-- Detecting CXX compiler ABI info - done | |
-- Detecting CXX compile features | |
-- Detecting CXX compile features - done | |
-- The CUDA compiler identification is NVIDIA 9.2.148 | |
-- Check for working CUDA compiler: /home/joncrall/.local/cuda/bin/nvcc | |
-- Check for working CUDA compiler: /home/joncrall/.local/cuda/bin/nvcc -- works | |
-- Detecting CUDA compiler ABI info | |
-- Detecting CUDA compiler ABI info - done | |
-- Configuring done | |
-- Generating done | |
-- Build files have been written to: /home/joncrall/code/netharn/_cmake_test_compile/build | |
-- The C compiler identification is GNU 7.2.0 | |
-- The CXX compiler identification is GNU 7.2.0 | |
-- The CUDA compiler identification is NVIDIA 9.2.148 | |
-- Check for working C compiler: /home/joncrall/.local/conda/envs/py36/bin/x86_64-conda_cos6-linux-gnu-cc | |
-- Check for working C compiler: /home/joncrall/.local/conda/envs/py36/bin/x86_64-conda_cos6-linux-gnu-cc -- works | |
-- Detecting C compiler ABI info | |
-- Detecting C compiler ABI info - done | |
-- Detecting C compile features | |
-- Detecting C compile features - done | |
-- Check for working CXX compiler: /home/joncrall/.local/conda/envs/py36/bin/x86_64-conda_cos6-linux-gnu-c++ | |
-- Check for working CXX compiler: /home/joncrall/.local/conda/envs/py36/bin/x86_64-conda_cos6-linux-gnu-c++ -- works | |
-- Detecting CXX compiler ABI info | |
-- Detecting CXX compiler ABI info - done | |
-- Detecting CXX compile features | |
-- Detecting CXX compile features - done | |
-- Check for working CUDA compiler: /home/joncrall/.local/cuda/bin/nvcc | |
-- Check for working CUDA compiler: /home/joncrall/.local/cuda/bin/nvcc -- works | |
-- Detecting CUDA compiler ABI info | |
-- Detecting CUDA compiler ABI info - done | |
-- Found PythonInterp: /home/joncrall/.local/conda/envs/py36/bin/python (found version "3.6.5") | |
-- Found PythonLibs: /home/joncrall/.local/conda/envs/py36/lib/libpython3.6m.so (found version "3.6.5") | |
-- Looking for pthread.h | |
-- Looking for pthread.h - found | |
-- Looking for pthread_create | |
-- Looking for pthread_create - not found | |
-- Looking for pthread_create in pthreads | |
-- Looking for pthread_create in pthreads - not found | |
-- Looking for pthread_create in pthread | |
-- Looking for pthread_create in pthread - found | |
-- Found Threads: TRUE | |
CMake Warning at /tmp/pip-build-env-stwozqu7/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.13/Modules/FindCUDA.cmake:900 (message): | |
Expecting to find librt for libcudart_static, but didn't find it. | |
Call Stack (most recent call first): | |
CMakeLists.txt:94 (find_package) | |
-- Found CUDA: /home/joncrall/.local/cuda (found version "9.2") | |
-- CUDA found (include: /home/joncrall/.local/cuda/include, lib: /home/joncrall/.local/cuda/lib64/libcudart_static.a;-lpthread;dl) | |
-- Found Cython: /home/joncrall/.local/conda/envs/py36/bin/cython | |
CMake Error at /tmp/pip-build-env-stwozqu7/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.13/Modules/FindPackageHandleStandardArgs.cmake:137 (message): | |
Could NOT find NumPy (missing: NumPy_INCLUDE_DIR) (found version "") | |
Call Stack (most recent call first): | |
/tmp/pip-build-env-stwozqu7/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.13/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE) | |
/tmp/pip-build-env-stwozqu7/overlay/lib/python3.6/site-packages/skbuild/resources/cmake/FindNumPy.cmake:98 (find_package_handle_standard_args) | |
CMakeLists.txt:109 (find_package) | |
-- Configuring incomplete, errors occurred! | |
See also "/home/joncrall/code/netharn/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/CMakeOutput.log". | |
See also "/home/joncrall/code/netharn/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/CMakeError.log". | |
File "/tmp/pip-build-env-stwozqu7/overlay/lib/python3.6/site-packages/skbuild/setuptools_wrap.py", line 548, in setup | |
languages=cmake_languages | |
File "/tmp/pip-build-env-stwozqu7/overlay/lib/python3.6/site-packages/skbuild/cmaker.py", line 232, in configure | |
os.path.abspath(CMAKE_BUILD_DIR))) | |
An error occurred while configuring with CMake. | |
Command: | |
"cmake" "/home/joncrall/code/netharn" "-G" "Ninja" "-DCMAKE_INSTALL_PREFIX:PATH=/home/joncrall/code/netharn/_skbuild/linux-x86_64-3.6/cmake-install" "-DPYTHON_EXECUTABLE:FILEPATH=/home/joncrall/.local/conda/envs/py36/bin/python" "-DPYTHON_VERSION_STRING:STRING=3.6.5" "-DPYTHON_INCLUDE_DIR:PATH=/home/joncrall/.local/conda/envs/py36/include/python3.6m" "-DPYTHON_LIBRARY:FILEPATH=/home/joncrall/.local/conda/envs/py36/lib/libpython3.6m.so" "-DSKBUILD:BOOL=TRUE" "-DCMAKE_MODULE_PATH:PATH=/tmp/pip-build-env-stwozqu7/overlay/lib/python3.6/site-packages/skbuild/resources/cmake" "-DCMAKE_BUILD_TYPE:STRING=Release" | |
Source directory: | |
/home/joncrall/code/netharn | |
Working directory: | |
/home/joncrall/code/netharn/_skbuild/linux-x86_64-3.6/cmake-build | |
Please see CMake's output for more information. | |
-------------------------------------------------------------------------------- | |
-- Trying "Ninja" generator | |
-------------------------------- | |
--------------------------- | |
---------------------- | |
----------------- | |
------------ | |
------- | |
-- | |
-- | |
------- | |
------------ | |
----------------- | |
---------------------- | |
--------------------------- | |
-------------------------------- | |
-- Trying "Ninja" generator - success | |
-------------------------------------------------------------------------------- | |
Traceback (most recent call last): | |
---------------------------------------- | |
Rolling back uninstall of netharn | |
Moving to /home/joncrall/.local/conda/envs/py36/lib/python3.6/site-packages/netharn.egg-link | |
from /tmp/pip-uninstall-l1vw36d5/netharn.egg-link | |
Command "/home/joncrall/.local/conda/envs/py36/bin/python -c "import setuptools, tokenize;__file__='/home/joncrall/code/netharn/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" develop --no-deps" failed with error code 1 in /home/joncrall/code/netharn/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment