ERROR: Could not build wheels for xmlsec, which is required to install pyproject.toml-based projects

wget http://xmlsoft.org/sources/libxml2-2.9.1.tar.gz
tar -xvf libxml2-2.9.1.tar.gz
cd libxml2-2.9.1
./configure && make && make install

可能报错

 configure: error: no acceptable ld found in $PATH

$ ld

根据提示安装相应的包

 

 

 

如何安装jupyter notebook

 

先安装好ipython等,详见文末链接第一条国光博主的帖子

# 安装依赖

apt install clang fftw libzmq

# 安装 

pip3 install jupyter -i https://pypi.tuna.tsinghua.edu.cn/simple some-package

在启动 Jupyter Notebook 之前,先进行配置,使用以下命令生成配置文件:


使用 nano 或 vim 来编辑

vim ~/.jupyter/jupyter_notebook_config.py 

将启动目录设置为我们指定的位置,并允许使用 root 权限启动 botebook。具体为修改以下两行内容,并注意取消注释:

c.NotebookApp.notebook_dir = '/data/data/com.termux/files/home/storage/downloads/workspace'
c.NotebookApp.allow_root = True

保存退出(nano:ctrl+o,ctrl+w;vim::wq),随后即可使用以下命令启动:

$> jupyter notebook

https://www.sqlsec.com/2018/05/termux.html#toc-heading-93

 https://blog.csdn.net/qq_48260908/article/details/120138401

https://blog.csdn.net/weixin_43583135/article/details/121390989

 
posted @ 2022-04-18 14:53  星涅爱别离  阅读(7635)  评论(0编辑  收藏  举报