通过应用商店安装
安装应用商店里面的python3之后,没有任何作用。
通过shell链接到NAS上找到安装包的位置
1 | [~] # cat /share/CACHEDEV1_DATA/.qpkg/Python3/README.md |
有可能会报告没有运行权限
1 | [~] # ls -als /etc/profile.d/python3.bash |
执行如下命令添加权限即可
1 | [~] # chmod 744 /share/CACHEDEV1_DATA/.qpkg/Python3/python3.bash |
但是似乎不能开机就运行这个脚本。每次重新开机都要去再运行一次,但是似乎也不是什么大问题了。
通过Entware-ng安装
1 | opkg install python3 |
pip也可以通过以下命令安装
1 | curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py |