Advertisement
Guest User

Untitled

a guest
Apr 6th, 2017
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 24.41 KB | None | 0 0
  1. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- root@SYNOLOGY116:/# ls bin boot dev downloaded etc home lib media mnt opt proc root run sbin simplerealistic.json software src srv sys tmp usr var
  2. root@SYNOLOGY116:/# ls /downloaded
  3. 20170406_1926_getshrektm9_17865820588097216.json 20170406_1926_getshrektm9_17865820588097216.mp4 root@SYNOLOGY116:/# nano /var/packages/debian-chroot/scripts/start-stop-status
  4. root@SYNOLOGY116:/# exit
  5. exit
  6. default@SYNOLOGY116:/volume1/homes/default$ nano /var/packages/debian-chroot/scripts/start-stop-status
  7. default@SYNOLOGY116:/volume1/homes/default$ sudo nano /var/packages/debian-chroot/scripts/start-stop-status
  8. Password:
  9. default@SYNOLOGY116:/volume1/homes/default$ /var/packages/debian-chroot/scripts/start-stop-status start
  10. Debian Chroot is already running
  11. default@SYNOLOGY116:/volume1/homes/default$ /var/packages/debian-chroot/scripts/start-stop-status stop
  12. Stopping Debian Chroot ...
  13. umount: /volume1/@appstore/debian-chroot/var/chroottarget/home: not mounted
  14. umount: /volume1/@appstore/debian-chroot/var/chroottarget/dev/pts: umount failed: Operation not permitted
  15. umount: /volume1/@appstore/debian-chroot/var/chroottarget/dev: umount failed: Operation not permitted
  16. umount: /volume1/@appstore/debian-chroot/var/chroottarget/sys: umount failed: Operation not permitted
  17. umount: /volume1/@appstore/debian-chroot/var/chroottarget/proc: umount failed: Operation not permitted
  18. default@SYNOLOGY116:/volume1/homes/default$ ^Car/packages/debian-chroot/scripts/start-stop-status default@SYNOLOGY116:/volume1/homes/default$ sudo /var/packages/debian-chroot/scripts/start-stop-status stop
  19. Stopping Debian Chroot ...
  20. umount: /volume1/@appstore/debian-chroot/var/chroottarget/volume1: mountpoint not found
  21. default@SYNOLOGY116:/volume1/homes/default$ sudo /var/packages/debian-chroot/scripts/start-stop-status start
  22. [detached (from session 6)]
  23. default@SYNOLOGY116:~$ sudo -i
  24. Password:
  25. -ash: /Apps/opt/etc/profile: No such file or directory
  26. root@SYNOLOGY116:~# pip install numpy -ash: pip: command not found
  27. root@SYNOLOGY116:~# python3 pip install numpy
  28. python3: can't open file 'pip': [Errno 2] No such file or directory
  29. root@SYNOLOGY116:~# opkh
  30. -ash: opkh: command not found
  31. root@SYNOLOGY116:~# opkh
  32. -ash: opkh: command not found
  33. root@SYNOLOGY116:~# opkg
  34. opkg must have one sub-command argument
  35. usage: opkg [options...] sub-command [arguments...] where sub-command is one of:
  36.  
  37. Package Manipulation:
  38. update Update list of available packages
  39. upgrade Upgrade installed packages
  40. install <pkgs> Install package(s)
  41. configure <pkgs> Configure unpacked package(s)
  42. remove <pkgs|regexp> Remove package(s)
  43. flag <flag> <pkgs> Flag package(s)
  44. <flag>=hold|noprune|user|ok|installed|unpacked (one per invocation)
  45.  
  46. Informational Commands:
  47. list List available packages
  48. list-installed List installed packages
  49. list-upgradable List installed and upgradable packages
  50. list-changed-conffiles List user modified configuration files
  51. files <pkg> List files belonging to <pkg>
  52. search <file|regexp> List package providing <file>
  53. find <regexp> List packages whose name or description matches <regexp>
  54. info [pkg|regexp] Display all info for <pkg>
  55. status [pkg|regexp] Display all status for <pkg>
  56. download <pkg> Download <pkg> to current directory
  57. compare-versions <v1> <op> <v2>
  58. compare versions using <= < > >= = << >>
  59. print-architecture List installable package architectures
  60. depends [-A] [pkgname|pat]+
  61. whatdepends [-A] [pkgname|pat]+
  62. whatdependsrec [-A] [pkgname|pat]+
  63. whatrecommends[-A] [pkgname|pat]+ whatsuggests[-A] [pkgname|pat]+
  64. whatprovides [-A] [pkgname|pat]+
  65. whatconflicts [-A] [pkgname|pat]+
  66. whatreplaces [-A] [pkgname|pat]+
  67.  
  68. Options:
  69. -A Query all packages not just those installed
  70. -V[<level>] Set verbosity level to <level>.
  71. --verbosity[=<level>] Verbosity levels:
  72. 0 errors only
  73. 1 normal messages (default)
  74. 2 informative messages
  75. 3 debug
  76. 4 debug level 2
  77. -f <conf_file> Use <conf_file> as the opkg configuration file
  78. --conf <conf_file>
  79. --cache <directory> Use a package cache
  80. -d <dest_name> Use <dest_name> as the the root directory for
  81. --dest <dest_name> package installation, removal, upgrading.
  82. <dest_name> should be a defined dest name from
  83. the configuration file, (but can also be a
  84. directory name in a pinch).
  85. -o <dir> Use <dir> as the root directory for
  86. --offline-root <dir> offline installation of packages.
  87. --add-arch <arch>:<prio> Register architecture with given priority
  88. --add-dest <name>:<path> Register destination with given path
  89.  
  90. Force Options:
  91. --force-depends Install/remove despite failed dependencies
  92. --force-maintainer Overwrite preexisting config files
  93. --force-reinstall Reinstall package(s)
  94. --force-overwrite Overwrite files from other package(s)
  95. --force-downgrade Allow opkg to downgrade packages
  96. --force-space Disable free space checks
  97. --force-postinstall Run postinstall scripts even in offline mode
  98. --force-remove Remove package even if prerm script fails
  99. --force-checksum Don't fail on checksum mismatches
  100. --noaction No action -- test only
  101. --download-only No action -- download only
  102. --nodeps Do not follow dependencies
  103. --nocase Perform case insensitive pattern matching
  104. --size Print package size when listing available packages
  105. --force-removal-of-dependent-packages
  106. Remove package and all dependencies
  107. --autoremove Remove packages that were installed
  108. automatically to satisfy dependencies
  109. -t Specify tmp-dir.
  110. --tmp-dir Specify tmp-dir.
  111. -l Specify lists-dir.
  112. --lists-dir Specify lists-dir.
  113.  
  114. regexp could be something like 'pkgname*' '*file*' or similar
  115. e.g. opkg info 'libstd*' or opkg search '*libop*' or opkg remove 'libncur*'
  116. root@SYNOLOGY116:~# opkg install numpy
  117. Unknown package 'numpy'.
  118. Collected errors:
  119. * opkg_install_cmd: Cannot install package numpy.
  120. root@SYNOLOGY116:~# opkg install python-pip
  121. Installing python-pip (2.7.13-4) to root...
  122. Downloading http://pkg.entware.net/binaries/armv7/python-pip_2.7.13-4_armv7soft.ipk
  123. Installing python-setuptools (2.7.13-4) to root...
  124. Downloading http://pkg.entware.net/binaries/armv7/python-setuptools_2.7.13-4_armv7soft.ipk
  125. Configuring python-setuptools.
  126. Configuring python-pip.
  127. root@SYNOLOGY116:~# pip install numpy
  128. Collecting numpy
  129. Using cached numpy-1.12.1.zip
  130. Installing collected packages: numpy
  131. Running setup.py install for numpy ... error
  132. Complete output from command /opt/bin/python2.7 -u -c "import setuptools, tokenize;__file__='/volume1/@entware/tmp/pip-build-DDTfQQ/numpy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /opt/tmp/pip-ECagPz-record/install-record.txt --single-version-externally-managed --compile:
  133. Running from numpy source directory.
  134.  
  135. Note: if you need reliable uninstall behavior, then install
  136. with pip instead of using `setup.py install`:
  137.  
  138. - `pip install .` (from a git repo or downloaded source
  139. release)
  140. - `pip install numpy` (last NumPy release on PyPi)
  141.  
  142.  
  143. blas_opt_info:
  144. blas_mkl_info:
  145. libraries mkl_rt not found in ['/usr/local/lib', '/opt/lib', '/usr/lib']
  146. NOT AVAILABLE
  147.  
  148. blis_info:
  149. libraries blis not found in ['/usr/local/lib', '/opt/lib', '/usr/lib']
  150. NOT AVAILABLE
  151.  
  152. openblas_info:
  153. libraries openblas not found in ['/usr/local/lib', '/opt/lib', '/usr/lib']
  154. NOT AVAILABLE
  155.  
  156. atlas_3_10_blas_threads_info:
  157. Setting PTATLAS=ATLAS
  158. libraries tatlas not found in ['/usr/local/lib', '/opt/lib', '/usr/lib']
  159. NOT AVAILABLE
  160.  
  161. atlas_3_10_blas_info:
  162. libraries satlas not found in ['/usr/local/lib', '/opt/lib', '/usr/lib']
  163. NOT AVAILABLE
  164.  
  165. atlas_blas_threads_info:
  166. Setting PTATLAS=ATLAS
  167. libraries ptf77blas,ptcblas,atlas not found in ['/usr/local/lib', '/opt/lib', '/usr/lib']
  168. NOT AVAILABLE
  169.  
  170. atlas_blas_info:
  171. libraries f77blas,cblas,atlas not found in ['/usr/local/lib', '/opt/lib', '/usr/lib']
  172. NOT AVAILABLE
  173.  
  174. /volume1/@entware/tmp/pip-build-DDTfQQ/numpy/numpy/distutils/system_info.py:572: UserWarning:
  175. Atlas (http://math-atlas.sourceforge.net/) libraries not found.
  176. Directories to search for the libraries can be specified in the
  177. numpy/distutils/site.cfg file (section [atlas]) or by setting
  178. the ATLAS environment variable.
  179. self.calc_info()
  180. blas_info:
  181. libraries blas not found in ['/usr/local/lib', '/opt/lib', '/usr/lib']
  182. NOT AVAILABLE
  183.  
  184. /volume1/@entware/tmp/pip-build-DDTfQQ/numpy/numpy/distutils/system_info.py:572: UserWarning:
  185. Blas (http://www.netlib.org/blas/) libraries not found.
  186. Directories to search for the libraries can be specified in the
  187. numpy/distutils/site.cfg file (section [blas]) or by setting
  188. the BLAS environment variable.
  189. self.calc_info()
  190. blas_src_info:
  191. NOT AVAILABLE
  192.  
  193. /volume1/@entware/tmp/pip-build-DDTfQQ/numpy/numpy/distutils/system_info.py:572: UserWarning:
  194. Blas (http://www.netlib.org/blas/) sources not found.
  195. Directories to search for the sources can be specified in the
  196. numpy/distutils/site.cfg file (section [blas_src]) or by setting
  197. the BLAS_SRC environment variable.
  198. self.calc_info()
  199. NOT AVAILABLE
  200.  
  201. /bin/sh: svnversion: command not found
  202. non-existing path in 'numpy/distutils': 'site.cfg'
  203. /bin/sh: svnversion: command not found
  204. F2PY Version 2
  205. lapack_opt_info:
  206. lapack_mkl_info:
  207. libraries mkl_rt not found in ['/usr/local/lib', '/opt/lib', '/usr/lib']
  208. NOT AVAILABLE
  209.  
  210. openblas_lapack_info:
  211. libraries openblas not found in ['/usr/local/lib', '/opt/lib', '/usr/lib']
  212. NOT AVAILABLE
  213.  
  214. atlas_3_10_threads_info:
  215. Setting PTATLAS=ATLAS
  216. libraries tatlas,tatlas not found in /usr/local/lib
  217. libraries lapack_atlas not found in /usr/local/lib
  218. libraries tatlas,tatlas not found in /opt/lib
  219. libraries lapack_atlas not found in /opt/lib
  220. libraries tatlas,tatlas not found in /usr/lib
  221. libraries lapack_atlas not found in /usr/lib
  222. <class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
  223. NOT AVAILABLE
  224.  
  225. atlas_3_10_info:
  226. libraries satlas,satlas not found in /usr/local/lib
  227. libraries lapack_atlas not found in /usr/local/lib
  228. libraries satlas,satlas not found in /opt/lib
  229. libraries lapack_atlas not found in /opt/lib
  230. libraries satlas,satlas not found in /usr/lib
  231. libraries lapack_atlas not found in /usr/lib
  232. <class 'numpy.distutils.system_info.atlas_3_10_info'>
  233. NOT AVAILABLE
  234.  
  235. atlas_threads_info:
  236. Setting PTATLAS=ATLAS
  237. libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib
  238. libraries lapack_atlas not found in /usr/local/lib
  239. libraries ptf77blas,ptcblas,atlas not found in /opt/lib
  240. libraries lapack_atlas not found in /opt/lib
  241. libraries ptf77blas,ptcblas,atlas not found in /usr/lib
  242. libraries lapack_atlas not found in /usr/lib
  243. <class 'numpy.distutils.system_info.atlas_threads_info'>
  244. NOT AVAILABLE
  245.  
  246. atlas_info:
  247. libraries f77blas,cblas,atlas not found in /usr/local/lib
  248. libraries lapack_atlas not found in /usr/local/lib
  249. libraries f77blas,cblas,atlas not found in /opt/lib
  250. libraries lapack_atlas not found in /opt/lib
  251. libraries f77blas,cblas,atlas not found in /usr/lib
  252. libraries lapack_atlas not found in /usr/lib
  253. <class 'numpy.distutils.system_info.atlas_info'>
  254. NOT AVAILABLE
  255.  
  256. lapack_info:
  257. libraries lapack not found in ['/usr/local/lib', '/opt/lib', '/usr/lib']
  258. NOT AVAILABLE
  259.  
  260. /volume1/@entware/tmp/pip-build-DDTfQQ/numpy/numpy/distutils/system_info.py:572: UserWarning:
  261. Lapack (http://www.netlib.org/lapack/) libraries not found.
  262. Directories to search for the libraries can be specified in the
  263. numpy/distutils/site.cfg file (section [lapack]) or by setting
  264. the LAPACK environment variable.
  265. self.calc_info()
  266. lapack_src_info:
  267. NOT AVAILABLE
  268.  
  269. /volume1/@entware/tmp/pip-build-DDTfQQ/numpy/numpy/distutils/system_info.py:572: UserWarning:
  270. Lapack (http://www.netlib.org/lapack/) sources not found.
  271. Directories to search for the sources can be specified in the
  272. numpy/distutils/site.cfg file (section [lapack_src]) or by setting
  273. the LAPACK_SRC environment variable.
  274. self.calc_info()
  275. NOT AVAILABLE
  276.  
  277. /opt/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'define_macros'
  278. warnings.warn(msg)
  279. running install
  280. running build
  281. running config_cc
  282. unifing config_cc, config, build_clib, build_ext, build commands --compiler options
  283. running config_fc
  284. unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
  285. running build_src
  286. build_src
  287. building py_modules sources
  288. creating build
  289. creating build/src.linux-armv7l-2.7
  290. creating build/src.linux-armv7l-2.7/numpy
  291. creating build/src.linux-armv7l-2.7/numpy/distutils
  292. building library "npymath" sources
  293. customize Gnu95FCompiler
  294. Could not locate executable gfortran
  295. Could not locate executable f95
  296. customize IntelFCompiler
  297. Could not locate executable ifort
  298. Could not locate executable ifc
  299. customize LaheyFCompiler
  300. Could not locate executable lf95
  301. customize PGroupFCompiler
  302. Could not locate executable pgfortran
  303. customize AbsoftFCompiler
  304. Could not locate executable f90
  305. Could not locate executable f77
  306. customize NAGFCompiler
  307. customize VastFCompiler
  308. customize CompaqFCompiler
  309. Could not locate executable fort
  310. customize IntelItaniumFCompiler
  311. Could not locate executable efort
  312. Could not locate executable efc
  313. customize IntelEM64TFCompiler
  314. customize GnuFCompiler
  315. Could not locate executable g77
  316. customize G95FCompiler
  317. Could not locate executable g95
  318. customize PathScaleFCompiler
  319. Could not locate executable pathf95
  320. don't know how to compile Fortran code on platform 'posix'
  321. C compiler: arm-openwrt-linux-gnueabi-gcc -fno-strict-aliasing -O2 -pipe -march=armv7-a -mtune=cortex-a9 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=soft -DNDEBUG -fno-inline -DNDEBUG -O2 -pipe -march=armv7-a -mtune=cortex-a9 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=soft -fPIC
  322.  
  323. 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/opt/include/python2.7 -c'
  324. arm-openwrt-linux-gnueabi-gcc: _configtest.c
  325. arm-openwrt-linux-gnueabi-gcc _configtest.o -o _configtest
  326. success!
  327. removing: _configtest.c _configtest.o _configtest
  328. C compiler: arm-openwrt-linux-gnueabi-gcc -fno-strict-aliasing -O2 -pipe -march=armv7-a -mtune=cortex-a9 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=soft -DNDEBUG -fno-inline -DNDEBUG -O2 -pipe -march=armv7-a -mtune=cortex-a9 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=soft -fPIC
  329.  
  330. 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/opt/include/python2.7 -c'
  331. arm-openwrt-linux-gnueabi-gcc: _configtest.c
  332. _configtest.c:1:5: warning: conflicting types for built-in function 'exp'
  333. int exp (void);
  334. ^~~
  335. arm-openwrt-linux-gnueabi-gcc _configtest.o -o _configtest
  336. _configtest.o: In function `main':
  337. _configtest.c:(.text.startup+0x4): undefined reference to `exp'
  338. collect2: error: ld returned 1 exit status
  339. _configtest.o: In function `main':
  340. _configtest.c:(.text.startup+0x4): undefined reference to `exp'
  341. collect2: error: ld returned 1 exit status
  342. failure.
  343. removing: _configtest.c _configtest.o
  344. C compiler: arm-openwrt-linux-gnueabi-gcc -fno-strict-aliasing -O2 -pipe -march=armv7-a -mtune=cortex-a9 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=soft -DNDEBUG -fno-inline -DNDEBUG -O2 -pipe -march=armv7-a -mtune=cortex-a9 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=soft -fPIC
  345.  
  346. 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/opt/include/python2.7 -c'
  347. arm-openwrt-linux-gnueabi-gcc: _configtest.c
  348. _configtest.c:1:5: warning: conflicting types for built-in function 'exp'
  349. int exp (void);
  350. ^~~
  351. arm-openwrt-linux-gnueabi-gcc _configtest.o -lm -o _configtest
  352. success!
  353. removing: _configtest.c _configtest.o _configtest
  354. creating build/src.linux-armv7l-2.7/numpy/core
  355. creating build/src.linux-armv7l-2.7/numpy/core/src
  356. creating build/src.linux-armv7l-2.7/numpy/core/src/npymath
  357. conv_template:> build/src.linux-armv7l-2.7/numpy/core/src/npymath/npy_math.c
  358. conv_template:> build/src.linux-armv7l-2.7/numpy/core/src/npymath/ieee754.c
  359. conv_template:> build/src.linux-armv7l-2.7/numpy/core/src/npymath/npy_math_complex.c
  360. building library "npysort" sources
  361. creating build/src.linux-armv7l-2.7/numpy/core/src/npysort
  362. conv_template:> build/src.linux-armv7l-2.7/numpy/core/src/npysort/quicksort.c
  363. conv_template:> build/src.linux-armv7l-2.7/numpy/core/src/npysort/mergesort.c
  364. conv_template:> build/src.linux-armv7l-2.7/numpy/core/src/npysort/heapsort.c
  365. creating build/src.linux-armv7l-2.7/numpy/core/src/private
  366. conv_template:> build/src.linux-armv7l-2.7/numpy/core/src/private/npy_partition.h
  367. adding 'build/src.linux-armv7l-2.7/numpy/core/src/private' to include_dirs.
  368. conv_template:> build/src.linux-armv7l-2.7/numpy/core/src/npysort/selection.c
  369. conv_template:> build/src.linux-armv7l-2.7/numpy/core/src/private/npy_binsearch.h
  370. conv_template:> build/src.linux-armv7l-2.7/numpy/core/src/npysort/binsearch.c
  371. None - nothing done with h_files = ['build/src.linux-armv7l-2.7/numpy/core/src/private/npy_partition.h', 'build/src.linux-armv7l-2.7/numpy/core/src/private/npy_binsearch.h']
  372. building extension "numpy.core._dummy" sources
  373. Generating build/src.linux-armv7l-2.7/numpy/core/include/numpy/config.h
  374. C compiler: arm-openwrt-linux-gnueabi-gcc -fno-strict-aliasing -O2 -pipe -march=armv7-a -mtune=cortex-a9 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=soft -DNDEBUG -fno-inline -DNDEBUG -O2 -pipe -march=armv7-a -mtune=cortex-a9 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=soft -fPIC
  375.  
  376. 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/opt/include/python2.7 -c'
  377. arm-openwrt-linux-gnueabi-gcc: _configtest.c
  378. _configtest.c:1:20: fatal error: Python.h: No such file or directory
  379. #include <Python.h>
  380. ^
  381. compilation terminated.
  382. _configtest.c:1:20: fatal error: Python.h: No such file or directory
  383. #include <Python.h>
  384. ^
  385. compilation terminated.
  386. failure.
  387. removing: _configtest.c _configtest.o
  388. Traceback (most recent call last):
  389. File "<string>", line 1, in <module>
  390. File "/volume1/@entware/tmp/pip-build-DDTfQQ/numpy/setup.py", line 391, in <module>
  391. setup_package()
  392. File "/volume1/@entware/tmp/pip-build-DDTfQQ/numpy/setup.py", line 383, in setup_package
  393. setup(**metadata)
  394. File "/volume1/@entware/tmp/pip-build-DDTfQQ/numpy/numpy/distutils/core.py", line 169, in setup
  395. return old_setup(**new_attr)
  396. File "/opt/lib/python2.7/distutils/core.py", line 151, in setup
  397. dist.run_commands()
  398. File "/opt/lib/python2.7/distutils/dist.py", line 953, in run_commands
  399. self.run_command(cmd)
  400. File "/opt/lib/python2.7/distutils/dist.py", line 972, in run_command
  401. cmd_obj.run()
  402. File "/volume1/@entware/tmp/pip-build-DDTfQQ/numpy/numpy/distutils/command/install.py", line 62, in run
  403. r = self.setuptools_run()
  404. File "/volume1/@entware/tmp/pip-build-DDTfQQ/numpy/numpy/distutils/command/install.py", line 36, in setuptools_run
  405. return distutils_install.run(self)
  406. File "/opt/lib/python2.7/distutils/command/install.py", line 563, in run
  407. self.run_command('build')
  408. File "/opt/lib/python2.7/distutils/cmd.py", line 326, in run_command
  409. self.distribution.run_command(command)
  410. File "/opt/lib/python2.7/distutils/dist.py", line 972, in run_command
  411. cmd_obj.run()
  412. File "/volume1/@entware/tmp/pip-build-DDTfQQ/numpy/numpy/distutils/command/build.py", line 47, in run
  413. old_build.run(self)
  414. File "/opt/lib/python2.7/distutils/command/build.py", line 127, in run
  415. self.run_command(cmd_name)
  416. File "/opt/lib/python2.7/distutils/cmd.py", line 326, in run_command
  417. self.distribution.run_command(command)
  418. File "/opt/lib/python2.7/distutils/dist.py", line 972, in run_command
  419. cmd_obj.run()
  420. File "/volume1/@entware/tmp/pip-build-DDTfQQ/numpy/numpy/distutils/command/build_src.py", line 148, in run
  421. self.build_sources()
  422. File "/volume1/@entware/tmp/pip-build-DDTfQQ/numpy/numpy/distutils/command/build_src.py", line 165, in build_sources
  423. self.build_extension_sources(ext)
  424. File "/volume1/@entware/tmp/pip-build-DDTfQQ/numpy/numpy/distutils/command/build_src.py", line 324, in build_extension_sources
  425. sources = self.generate_sources(sources, ext)
  426. File "/volume1/@entware/tmp/pip-build-DDTfQQ/numpy/numpy/distutils/command/build_src.py", line 377, in generate_sources
  427. source = func(extension, build_dir)
  428. File "numpy/core/setup.py", line 416, in generate_config_h
  429. moredefs, ignored = cocache.check_types(config_cmd, ext, build_dir)
  430. File "numpy/core/setup.py", line 40, in check_types
  431. out = check_types(*a, **kw)
  432. File "numpy/core/setup.py", line 275, in check_types
  433. "install {0}-dev|{0}-devel.".format(python))
  434. SystemError: Cannot compile 'Python.h'. Perhaps you need to install python-dev|python-devel.
  435.  
  436. ----------------------------------------
  437. Command "/opt/bin/python2.7 -u -c "import setuptools, tokenize;__file__='/volume1/@entware/tmp/pip-build-DDTfQQ/numpy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /opt/tmp/pip-ECagPz-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /volume1/@entware/tmp/pip-build-DDTfQQ/numpy/
  438. root@SYNOLOGY116:~#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement