我已经尝试安装使用 TensorFlow.js 在浏览器中进行实时人体姿势估计从这指令,但是我对 npm 有一些问题,我有这个输出:
so@so-notebook:~/Downloads$ npm install @tensorflow/tfjs-core@^1.3.0
/usr/bin/nodejs: /lib/x86_64-linux-gnu/libssl.so.1.0.0: no version information available (required by /usr/bin/nodejs)
/usr/bin/nodejs: /lib/x86_64-linux-gnu/libssl.so.1.0.0: no version information available (required by /usr/bin/nodejs)
/usr/bin/nodejs: /lib/x86_64-linux-gnu/libssl.so.1.0.0: no version information available (required by /usr/bin/nodejs)
/usr/bin/nodejs: /lib/x86_64-linux-gnu/libcrypto.so.1.0.0: no version information available (required by /usr/bin/nodejs)
/usr/bin/nodejs: /lib/x86_64-linux-gnu/libcrypto.so.1.0.0: no version information available (required by /usr/bin/nodejs)
/home/so/Downloads
└─┬ @tensorflow/[email protected]
├── @types/[email protected]
├── @types/[email protected]
├── @types/[email protected]
├── @types/[email protected]
├── [email protected]
└── [email protected]
npm WARN enoent ENOENT: no such file or directory, open '/home/so/Downloads/package.json'
npm WARN Downloads No description
npm WARN Downloads No repository field.
npm WARN Downloads No README data
npm WARN Downloads No license field.
我已经尝试安装openssl通过这个命令:
so@so-notebook:~/Downloads$ sudo apt install openssl1.0
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
kbuild libgsoap-2.8.60 module-assistant virtualbox-source
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
openssl1.0
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 207 kB of archives.
After this operation, 844 kB of additional disk space will be used.
Get:1 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 openssl1.0 amd64 1.0.2n-1ubuntu5.3 [207 kB]
Fetched 207 kB in 1s (165 kB/s)
Selecting previously unselected package openssl1.0.
(Reading database ... 523290 files and directories currently installed.)
Preparing to unpack .../openssl1.0_1.0.2n-1ubuntu5.3_amd64.deb ...
Unpacking openssl1.0 (1.0.2n-1ubuntu5.3) ...
Setting up openssl1.0 (1.0.2n-1ubuntu5.3) ...
更新:
它没有安装在/usr/local/
基于这信息:
因为该文件夹是这样的:
so@so-notebook:~/Downloads$ openssl version
OpenSSL 1.1.1g 21 Apr 2020
so@so-notebook:~/Downloads$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.4 LTS
Release: 18.04
Codename: bionic
谢谢。