康达更新刹车一切。
解决conda env需要花费数小时乃至永远
可能是由于conda优化造成的:https://www.anaconda.com/why-we-removed-the-free-channel-in-conda-4-7/
但这破坏了许多系统(例如我的系统):https : //github.com/conda/conda/issues/8844
有类似的错误
Collecting package metadata (current_repodata.json): - WARNING conda.models.version:get_matcher(531): Using .* with relational operator is superfluous and deprecated and will be removed in a future version of conda. Your spec was 1.*, but conda is ignoring the .* and treating it as 1
done
Solving environment: failed with current_repodata.json, will retry with next repodata source.
Initial quick solve with frozen env failed. Unfreezing env and trying again.
Solving environment: failed with …Run Code Online (Sandbox Code Playgroud) 我已经安装了conda(python 3.5,channel = conda-forge)和几个包含conda和jupyter labextension ...
在
conda info --envs
Run Code Online (Sandbox Code Playgroud)
只有root,我没有创建任何额外的环境)
结果是有一些奇怪的事情
检索已安装的软件包时发生错误.
EnvironmentLocationNotFound: Not a conda environment: /opt/conda/envs/conda
Run Code Online (Sandbox Code Playgroud)jupyter conda中有两个默认环境
我在启动jupyter(笔记本或实验室)时遇到错误:
[E 16:33:06.973 LabApp] Uncaught exception GET /api/kernelspecs?1525530786969 (172.17.0.1)
[E 16:35:44.455 LabApp] 500 GET /api/kernelspecs (172.17.0.1) 3.71ms
Run Code Online (Sandbox Code Playgroud)
一个结果是,即使它们出现,也没有内核
jupyter kernelspec list
Run Code Online (Sandbox Code Playgroud)一种方法是使用pip 9.x和
pip install --upgrade jupyter-client
Run Code Online (Sandbox Code Playgroud)
但是我想把它放在康达里面.
设置:
"x86_64-linux"Linux 4.15.0-22-generic, Ubuntu, 18.04 LTS (Bionic Beaver)nononix-env (Nix) 2.0.2"nixpkgs-18.09pre140731.c29d2fde74d"/home/aeug/.nix-defexpr/channels/nixpkgs跑步:
nix-shell -p conda --run "conda-shell"
Run Code Online (Sandbox Code Playgroud)
结果是:
bash: /etc/profile.d/vte.sh: No such file or directory
mkdir: relocation error: /usr/lib/libc.so.6: symbol _dl_exception_create, version GLIBC_PRIVATE not defined in file ld-linux-x86-64.so.2 with link time reference
Run Code Online (Sandbox Code Playgroud)
编辑我必须允许我的用户访问 /etc/profile.d/vte.sh
但这导致:
./conda-shell
** (process:20829): WARNING **: 08:04:35.617: chrootenv doesn't stack!
** Message: 08:04:35.628: Requires Linux version >= 3.19 built with CONFIG_USER_NS
** Message: 08:04:35.628: …Run Code Online (Sandbox Code Playgroud) 在 Latex 中,\xc2\xb4s 可以以不同的格式更新日期命令并考虑语言,但我无法 \xc2\xb4t 找到如何使用 Latex 中的 \\the\\day+1 等日期部分进行计算。
\n\n\\leadingzero{\\month}/\\the\\year -> \\leadingzero{\\month}[+4]/\\the\\year[-1]\nRun Code Online (Sandbox Code Playgroud)\n\n有办法做到吗?
\nconda ×3
anaconda ×1
calculation ×1
date ×1
datetime ×1
jupyter ×1
jupyter-lab ×1
latex ×1
linux ×1
nix ×1
nixpkgs ×1
python ×1
python-3.x ×1
ubuntu-18.04 ×1