小编InL*_*Law的帖子

conda 4.7.7-> 4.6-收集软件包元数据(current_repodata.json)-(通道conda-forge)ipywidgets-5.2.3-py36_0由于InvalidSpec:== 1. *

康达更新刹车一切。

解决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)

python-3.x anaconda conda

7
推荐指数
1
解决办法
1万
查看次数

Jupyter conda异常GET/api/kernelspecs两个默认的envs

我已经安装了conda(python 3.5,channel = conda-forge)和几个包含conda和jupyter labextension ...

conda info --envs
Run Code Online (Sandbox Code Playgroud)

只有root,我没有创建任何额外的环境)

在此输入图像描述

结果是有一些奇怪的事情

  1. 检索已安装的软件包时发生错误.

    EnvironmentLocationNotFound: Not a conda environment: /opt/conda/envs/conda
    
    Run Code Online (Sandbox Code Playgroud)

jupyter conda中有两个默认环境

  1. 我在启动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)

但是我想把它放在康达里面.

python conda jupyter jupyter-notebook jupyter-lab

6
推荐指数
1
解决办法
398
查看次数

Ubuntu 18 nixpkgs conda - 重定位错误 libc.so.6 符号 _dl_exception_create,版本 GLIBC_PRIVATE ld-linux-x86-64.so.2 链接时间参考

设置:

  • 系统: "x86_64-linux"
  • 主机操作系统: Linux 4.15.0-22-generic, Ubuntu, 18.04 LTS (Bionic Beaver)
  • 多用户?: no
  • 沙箱: no
  • 版本: nix-env (Nix) 2.0.2
  • 频道(aeug): "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)

linux conda nix nixpkgs ubuntu-18.04

5
推荐指数
0
解决办法
802
查看次数

Latex日期日期时间计算月日年

在 Latex 中,\xc2\xb4s 可以以不同的格式更新日期命令并考虑语言,但我无法 \xc2\xb4t 找到如何使用 Latex 中的 \\the\\day+1 等日期部分进行计算。

\n\n
\\leadingzero{\\month}/\\the\\year -> \\leadingzero{\\month}[+4]/\\the\\year[-1]\n
Run Code Online (Sandbox Code Playgroud)\n\n

有办法做到吗?

\n

datetime latex date calculation

2
推荐指数
1
解决办法
4263
查看次数