本文轉載自   查看原文   2021-01-26 23:33   722    Linux知識

轉自:https://blog.csdn.net/w5688414/article/details/81300330?utm_medium=distribute.pc_relevant.none-task-blog-OPENSEARCH-1.control&depth_1-utm_source=distribute.pc_relevant.none-task-blog-OPENSEARCH-1.control

我在安裝jupyter notebook的時候遇見了下面的錯誤

Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-Jfdhqq/scandir/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-OUh5CO/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-Jfdhqq/scandir/

只需要使用;

sudo apt-get install libssl-dev libffi-dev python-dev build-essential libxml2-dev libxslt1-dev
sudo pip install jupyter notebook

參考文獻

[1].Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-f8m_zq/statsmod. 

https://blog.csdn.net/helinbin/article/details/79961273


免責聲明!

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



猜您在找 Python:相對導入與絕對導入(import)、os.path、__file__ bash: /usr/bin/python3: No such file or directory ubuntu 執行Python腳本出現: /usr/bin/env: ‘python\r’: No such file or directory -bash: /usr/bin/yum: /usr/bin/python: bad interpreter: No such file or directory -bash: /usr/bin/yum: /usr/bin/python: bad interpreter: No such file or directory 執行Python "/bin/usr/python: bad interpreter: No such file or directory" 錯誤 Python——/usr/bin/env: ‘python(3)\r’: No such file or directory -bash: /usr/bin/yum: /usr/bin/python: bad interpreter: No such file or directory python文件#!/usr/bin/env: 的錯誤No such file or directory
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM