问题描述
我为 macOS 安装了带有 pkg 安装程序的 miniconda 我更新了 conda 我用
创建了一个环境% conda create -n envR
然后
% conda install --file requirements.txt
CondaError: Error reading file,file should be a text file containing packages
conda create --help for details
requirements.txt 的内容
numpy==1.20.0
opencv-python==4.5.1.48
Pillow==8.1.0
PyTesseract==0.3.7
此“requirements.txt”位于从 github 下载的 zip 文件中。
我用 sublime 文本打开了 requirements.txt,用 UTF-8 编码保存。 在我的人眼看来,它看起来是一样的。 但现在它起作用了。我用 utf-8 去掉了不可见的字符吗?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)