本文转载自  查看原文  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