python - 警告:已安装脚本 pipenv 和 pipenv-resolver
问题描述
WARNING: The scripts pipenv and pipenv-resolver are installed in
'/Library/Frameworks/Python.framework/Versions/3.8/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-
warn-script-location.
为什么我收到此错误消息以及如何修复它
解决方案
您需要将其添加到 PATH 变量中。
例子:
echo 'export PATH="/Library/Frameworks/Python.framework/Versions/3.8/bin:$PATH"' >> ~/.bash_profile
source ~/.bash_profile
推荐阅读
- apache-spark - 从 JavaRDD 生成直方图
- elasticsearch - 想要添加范围时如何在没有查询的情况下使用弹性搜索进行聚合?
- css - img 高度 100% 滚动条
- c - 在不使用循环的情况下向多个面向连接的套接字发送消息
- mysql - 在 MYSQL 查询中使用 WHERE 和 ORDER BY 条件时结果非常慢
- elasticsearch - 有没有办法让我有条件地链接查询中的多个索引?
- javascript - Raycaster 在three.js 中俯仰相机时置换对象交叉点
- javascript - 在 .json 文件中记录点击次数
- angular - 如何使用Angular [ngClass]从json文件绑定类名
- python - 如何正确声明函数之外的变量,以便迷你文本冒险中的 test() 运行