python - 更改用户名后无法在 OS Catalina 上安装 anaconda
问题描述
我将我的操作系统升级到 Catalina,然后 anaconda 无法工作,所以我删除了它并想再次安装它。
但是,我的 macOS 用户名是zoyie 1,其中包含一个空格,导致安装失败。
然后我把我的用户名从zoyie 1更改为ZongyuWu并再次安装。
64 位图形安装程序仍然无法工作并且没有给我任何错误信息,所以我尝试了 64 位命令行安装程序并得到
Collecting package metadata (current_repodata.json): failed
UnavailableInvalidChannel: The channel is not accessible or is invalid.
channel name: Downloads
channel url: file:///Users/zoyie 1/Downloads
error code: 404
You will need to adjust your conda configuration to proceed.
Use `conda config --show channels` to view your configuration's current state,
and use `conda config --show-sources` to view config file locations.
As of conda 4.3, a valid channel must contain a `noarch/repodata.json` and
associated `noarch/repodata.json.bz2` file, even if `noarch/repodata.json` is
empty. Use `conda index /Users/zoyie 1/Downloads`, or create `noarch/repodata.json`
and associated `noarch/repodata.json.bz2`.
有人知道如何在我的 Mac 上安装 anaconda 吗?
因为我还没有安装 anaconda,所以我不能使用 conda。
我找不到 ~/.condarac,因为我还没有安装 anaconda。
删除 ~/.bash_profile 中有关 conda 的行是没有用的。
尝试安装 miniconda 时出现同样的问题。
解决方案
推荐阅读
- arrays - 对象的新实例如何也可以是构造函数
- mysql - MYSQL查询性能与优化
- arrays - 批处理脚本:在最后/第一次出现字符之后/之前提取文本并将其存储在数组中
- excel - 计数值和重置 vb.net 中的计数值
- reactjs - React:为什么 useState 在与 Component 一起使用时神奇地 React.createElement?
- prolog - 为什么 Prolog 在查询时会生成额外的变量?
- reactjs - 如何通过在 react 中使用 react-hook-form 来获取 react-phone-input-2 值
- node.js - MongoDB:多对多关系的设计模式?(社交网络应用)
- numba - 如何在numba中将字符串转换为int
- windows - Android Studio 模拟器总是让 Windows 崩溃