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

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM