【ubuntu的python报错】/usr/bin/env: “python3\r”: 没有那个文件或目录

【ubuntu的python报错】/usr/bin/env: "python3\r": 没有那个文件或目录

通过apt-get命令安装dos2unix的包,然后通过dos2unix这个命令即可完成转换。

bash 复制代码
sudo apt-get install dos2unix
dos2unix <filename>
相关推荐
orion5711 小时前
Missing Semester Class1:course overview and introduction of shell
linux
apocelipes13 小时前
常用编程语言和库的正则表达式性能对比
c语言·c++·python·性能优化·golang·开发工具和环境
用户83562907805115 小时前
使用 Python 在 PDF 中创建与管理书签
后端·python
用户1204872216117 小时前
Linux驱动编译与加载
linux·嵌入式
MeixianAgent19 小时前
Python 回测数据入口怎么验?历史 K 线入库前先做 5 个检查
后端·python
咕白m6251 天前
用 Python 实现一键批量查找与替换 Excel 数据
后端·python
用户805533698031 天前
Input 子系统架构:Core、Handler、Driver 三层是怎么协作的
linux·嵌入式
用户805533698031 天前
RK-Forge外设系列开篇 - 把板子从「能启动」变成「能用」:Ethernet/SPI/MMC 三个纯接线外设
linux·github·嵌入式
七歌杜金房1 天前
我终于又有了自己的 Linux 电脑
linux·debian·mac
SelectDB2 天前
Apache Doris Python UDF:让 SQL 直接调用 Python 生态,支撑 Agent 时代复杂业务逻辑
大数据·数据库·python