OK this is the output…BUT with all the links removed as requested by the site…
The directory '/home/john/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/john/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting pycuda
1 location(s) to search for versions of pycuda:
No cache entry available
Starting new HTTPS connection (1):
Updating cache with response from
Caching permanant redirect
Looking up in the cache
No cache entry available
Starting new HTTPS connection (1):
Updating cache with response from
Caching due to etag
Analyzing links from page
Found link
Found link
Found link
Caching due to etag
100% |████████████████████████████████| 1.6MB 306kB/s
Running setup.py (path:/tmp/pip-build-9x4d92yv/pycuda/setup.py) egg_info for package pycuda
Running command python setup.py egg_info
***************************************************************
*** WARNING: nvcc not in path.
*** May need to set CUDA_INC_DIR for installation to succeed.
***************************************************************
*************************************************************
*** I have detected that you have not run configure.py.
*************************************************************
*** Additionally, no global config files were found.
*** I will go ahead with the default configuration.
*** In all likelihood, this will not work out.
***
*** See README_SETUP.txt for more information.
***
*** If the build does fail, just re-run configure.py with the
*** correct arguments, and then retry. Good luck!
*************************************************************
*** HIT Ctrl-C NOW IF THIS IS NOT WHAT YOU WANT
*************************************************************
Continuing in 1 seconds...
running egg_info
creating pip-egg-info/pycuda.egg-info
writing pip-egg-info/pycuda.egg-info/PKG-INFO
writing dependency_links to pip-egg-info/pycuda.egg-info/dependency_links.txt
writing requirements to pip-egg-info/pycuda.egg-info/requires.txt
writing top-level names to pip-egg-info/pycuda.egg-info/top_level.txt
writing manifest file 'pip-egg-info/pycuda.egg-info/SOURCES.txt'
reading manifest file 'pip-egg-info/pycuda.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
/usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'test_requires'
warnings.warn(msg)
warning: no files found matching 'doc/source/_static/*.css'
warning: no files found matching 'doc/source/_templates/*.html'
warning: no files found matching '*.cpp' under directory 'bpl-subset/bpl_subset/boost'
warning: no files found matching '*.html' under directory 'bpl-subset/bpl_subset/boost'
warning: no files found matching '*.inl' under directory 'bpl-subset/bpl_subset/boost'
warning: no files found matching '*.txt' under directory 'bpl-subset/bpl_subset/boost'
warning: no files found matching '*.h' under directory 'bpl-subset/bpl_subset/libs'
warning: no files found matching '*.ipp' under directory 'bpl-subset/bpl_subset/libs'
warning: no files found matching '*.pl' under directory 'bpl-subset/bpl_subset/libs'
writing manifest file 'pip-egg-info/pycuda.egg-info/SOURCES.txt'
Source in /tmp/pip-build-9x4d92yv/pycuda has version 2019.1.2, which satisfies requirement pycuda from
Requirement already satisfied: appdirs>=1.4.0 in /home/john/.local/lib/python3.6/site-packages (from pycuda)
Requirement already satisfied: decorator>=3.2.0 in /home/john/.local/lib/python3.6/site-packages (from pycuda)
Requirement already satisfied: mako in /home/john/.local/lib/python3.6/site-packages (from pycuda)
Requirement already satisfied: pytools>=2011.2 in /usr/local/lib/python3.6/dist-packages (from pycuda)
Requirement already satisfied: MarkupSafe>=0.9.2 in /home/john/.local/lib/python3.6/site-packages (from mako->pycuda)
Requirement already satisfied: numpy>=1.6.0 in /home/john/.local/lib/python3.6/site-packages (from pytools>=2011.2->pycuda)
Requirement already satisfied: six>=1.8.0 in /home/john/.local/lib/python3.6/site-packages (from pytools>=2011.2->pycuda)
Installing collected packages: pycuda
Running setup.py install for pycuda ... Running command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-9x4d92yv/pycuda/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-zar2nits-record/install-record.txt --single-version-externally-managed --compile
***************************************************************
*** WARNING: nvcc not in path.
*** May need to set CUDA_INC_DIR for installation to succeed.
***************************************************************
*************************************************************
*** I have detected that you have not run configure.py.
*************************************************************
*** Additionally, no global config files were found.
*** I will go ahead with the default configuration.
*** In all likelihood, this will not work out.
***
*** See README_SETUP.txt for more information.
***
*** If the build does fail, just re-run configure.py with the
*** correct arguments, and then retry. Good luck!
*************************************************************
*** HIT Ctrl-C NOW IF THIS IS NOT WHAT YOU WANT
*************************************************************
Continuing in 1 seconds...
/usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'test_requires'
warnings.warn(msg)
running install
running build
running build_py
creating build
creating build/lib.linux-aarch64-3.6
creating build/lib.linux-aarch64-3.6/pycuda
copying pycuda/curandom.py -> build/lib.linux-aarch64-3.6/pycuda
copying pycuda/reduction.py -> build/lib.linux-aarch64-3.6/pycuda
copying pycuda/autoinit.py -> build/lib.linux-aarch64-3.6/pycuda
copying pycuda/characterize.py -> build/lib.linux-aarch64-3.6/pycuda
copying pycuda/_cluda.py -> build/lib.linux-aarch64-3.6/pycuda
copying pycuda/debug.py -> build/lib.linux-aarch64-3.6/pycuda
copying pycuda/gpuarray.py -> build/lib.linux-aarch64-3.6/pycuda
copying pycuda/tools.py -> build/lib.linux-aarch64-3.6/pycuda
copying pycuda/driver.py -> build/lib.linux-aarch64-3.6/pycuda
copying pycuda/_mymako.py -> build/lib.linux-aarch64-3.6/pycuda
copying pycuda/compiler.py -> build/lib.linux-aarch64-3.6/pycuda
copying pycuda/scan.py -> build/lib.linux-aarch64-3.6/pycuda
copying pycuda/cumath.py -> build/lib.linux-aarch64-3.6/pycuda
copying pycuda/elementwise.py -> build/lib.linux-aarch64-3.6/pycuda
copying pycuda/__init__.py -> build/lib.linux-aarch64-3.6/pycuda
creating build/lib.linux-aarch64-3.6/pycuda/gl
copying pycuda/gl/autoinit.py -> build/lib.linux-aarch64-3.6/pycuda/gl
copying pycuda/gl/__init__.py -> build/lib.linux-aarch64-3.6/pycuda/gl
creating build/lib.linux-aarch64-3.6/pycuda/sparse
copying pycuda/sparse/operator.py -> build/lib.linux-aarch64-3.6/pycuda/sparse
copying pycuda/sparse/pkt_build.py -> build/lib.linux-aarch64-3.6/pycuda/sparse
copying pycuda/sparse/inner.py -> build/lib.linux-aarch64-3.6/pycuda/sparse
copying pycuda/sparse/coordinate.py -> build/lib.linux-aarch64-3.6/pycuda/sparse
copying pycuda/sparse/cg.py -> build/lib.linux-aarch64-3.6/pycuda/sparse
copying pycuda/sparse/packeted.py -> build/lib.linux-aarch64-3.6/pycuda/sparse
copying pycuda/sparse/__init__.py -> build/lib.linux-aarch64-3.6/pycuda/sparse
creating build/lib.linux-aarch64-3.6/pycuda/compyte
copying pycuda/compyte/dtypes.py -> build/lib.linux-aarch64-3.6/pycuda/compyte
copying pycuda/compyte/array.py -> build/lib.linux-aarch64-3.6/pycuda/compyte
copying pycuda/compyte/__init__.py -> build/lib.linux-aarch64-3.6/pycuda/compyte
running egg_info
writing pycuda.egg-info/PKG-INFO
writing dependency_links to pycuda.egg-info/dependency_links.txt
writing requirements to pycuda.egg-info/requires.txt
writing top-level names to pycuda.egg-info/top_level.txt
reading manifest file 'pycuda.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'doc/source/_static/*.css'
warning: no files found matching 'doc/source/_templates/*.html'
warning: no files found matching '*.cpp' under directory 'bpl-subset/bpl_subset/boost'
warning: no files found matching '*.html' under directory 'bpl-subset/bpl_subset/boost'
warning: no files found matching '*.inl' under directory 'bpl-subset/bpl_subset/boost'
warning: no files found matching '*.txt' under directory 'bpl-subset/bpl_subset/boost'
warning: no files found matching '*.h' under directory 'bpl-subset/bpl_subset/libs'
warning: no files found matching '*.ipp' under directory 'bpl-subset/bpl_subset/libs'
warning: no files found matching '*.pl' under directory 'bpl-subset/bpl_subset/libs'
writing manifest file 'pycuda.egg-info/SOURCES.txt'
creating build/lib.linux-aarch64-3.6/pycuda/cuda
copying pycuda/cuda/pycuda-complex-impl.hpp -> build/lib.linux-aarch64-3.6/pycuda/cuda
copying pycuda/cuda/pycuda-complex.hpp -> build/lib.linux-aarch64-3.6/pycuda/cuda
copying pycuda/cuda/pycuda-helpers.hpp -> build/lib.linux-aarch64-3.6/pycuda/cuda
copying pycuda/sparse/pkt_build_cython.pyx -> build/lib.linux-aarch64-3.6/pycuda/sparse
running build_ext
building '_driver' extension
creating build/temp.linux-aarch64-3.6
creating build/temp.linux-aarch64-3.6/src
creating build/temp.linux-aarch64-3.6/src/cpp
creating build/temp.linux-aarch64-3.6/src/wrapper
creating build/temp.linux-aarch64-3.6/bpl-subset
creating build/temp.linux-aarch64-3.6/bpl-subset/bpl_subset
creating build/temp.linux-aarch64-3.6/bpl-subset/bpl_subset/libs
creating build/temp.linux-aarch64-3.6/bpl-subset/bpl_subset/libs/python
creating build/temp.linux-aarch64-3.6/bpl-subset/bpl_subset/libs/python/src
creating build/temp.linux-aarch64-3.6/bpl-subset/bpl_subset/libs/python/src/converter
creating build/temp.linux-aarch64-3.6/bpl-subset/bpl_subset/libs/python/src/object
creating build/temp.linux-aarch64-3.6/bpl-subset/bpl_subset/libs/smart_ptr
creating build/temp.linux-aarch64-3.6/bpl-subset/bpl_subset/libs/smart_ptr/src
creating build/temp.linux-aarch64-3.6/bpl-subset/bpl_subset/libs/system
creating build/temp.linux-aarch64-3.6/bpl-subset/bpl_subset/libs/system/src
creating build/temp.linux-aarch64-3.6/bpl-subset/bpl_subset/libs/thread
creating build/temp.linux-aarch64-3.6/bpl-subset/bpl_subset/libs/thread/src
creating build/temp.linux-aarch64-3.6/bpl-subset/bpl_subset/libs/thread/src/pthread
aarch64-linux-gnu-gcc -pthread -fwrapv -Wall -O3 -DNDEBUG -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_THREAD_BUILD_DLL=1 -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -DBOOST_PYTHON_SOURCE=1 -Dboost=pycudaboost -DBOOST_THREAD_DONT_USE_CHRONO=1 -DPYGPU_PACKAGE=pycuda -DPYGPU_PYCUDA=1 -DHAVE_CURAND=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/home/john/.local/lib/python3.6/site-packages/numpy/core/include -I/usr/include/python3.6m -c src/cpp/cuda.cpp -o build/temp.linux-aarch64-3.6/src/cpp/cuda.o
In file included from src/cpp/cuda.cpp:4:0:
src/cpp/cuda.hpp:14:10: fatal error: cuda.h: No such file or directory
#include <cuda.h>
^~~~~~~~
compilation terminated.
error: command 'aarch64-linux-gnu-gcc' failed with exit status 1
error
Cleaning up...
Removing source in /tmp/pip-build-9x4d92yv/pycuda
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-9x4d92yv/pycuda/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-zar2nits-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-9x4d92yv/pycuda/
Exception information:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/pip/basecommand.py", line 215, in main
status = self.run(options, args)
File "/usr/lib/python3/dist-packages/pip/commands/install.py", line 360, in run
prefix=options.prefix_path,
File "/usr/lib/python3/dist-packages/pip/req/req_set.py", line 784, in install
**kwargs
File "/usr/lib/python3/dist-packages/pip/req/req_install.py", line 878, in install
spinner=spinner,
File "/usr/lib/python3/dist-packages/pip/utils/__init__.py", line 725, in call_subprocess
% (command_desc, proc.returncode, cwd))
pip.exceptions.InstallationError: Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-9x4d92yv/pycuda/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-zar2nits-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-9x4d92yv/pycuda/