知识卡片
包管理器负责的依赖层次不同
Python包、底层编译库和系统工具可能由不同管理器提供,需明确各自边界及安装顺序。遇到编译错误先识别缺哪一层,不应照抄整份旧apt清单或把换深度学习框架当所有仓库错误的修复。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- · 查看原书依据
Now, you can create a virtual environment, not a Python virtualenv but a more complete conda environment that isolates all of Python’s binary dependencies from your OS Python environment. Then, you can install the dependencies and source code for nlpia within that conda environment with listing A.2.
参考来源
- 位置:《Natural Language Processing in Action, Second Edition》附录A《附录A:NLP工具》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Natural Language Processing in Action, Second Edition/_epub-src/OEBPS/Text/appendix-a.html)
- 结论依据:摘录中关于包管理器负责的依赖层次不同的定义、比较或条件支撑卡片;原书表述不严谨的范围已在覆盖记录逐项限定,不把案例结果外推为普遍结论。
- 原始内容:Now, you can create a virtual environment, not a Python virtualenv but a more complete conda environment that isolates all of Python’s binary dependencies from your OS Python environment. Then, you can install the dependencies and source code for nlpia within that conda environment with listing A.2.