[BUG] 安装失败

作者: MikeyBeez创建于 2021年6月7日更新于 2021年6月7日
标签bug

Description

Thank you for sharing this interesting software. I tried to do a clean install on Pop!_OS 20.04 using your automated tool. Pip failed because of dependency conflicts. g clone [email protected]:MikeyBeez/nlp-recipes.git Cloning into 'nlp-recipes'... remote: Enumerating objects: 14854, done. remote: Counting objects: 100% (40/40), done. remote: Compressing objects: 100% (27/27), done. remote: Total 14854 (delta 17), reused 20 (delta 12), pack-reused 14814 Receiving objects: 100% (14854/14854), 47.60 MiB | 24.83 MiB/s, done. Resolving deltas: 100% (10732/10732), done. ❯ cd nlp-recipes Python tools/generate_conda_file.py Generated conda file: nlp_cpu.yaml To create the conda environment: $ conda env create -f nlp_cpu.yaml To update the conda environment: $ conda env update -f nlp_cpu.yaml To register the conda environment in Jupyter: $ conda activate nlp_cpu $ Python -m ipykernel install --user --name nlp_cpu --display-name "Python (nlp_cpu)" ❯ ❯ cp ../transfer-learning-conv-ai/.envrc . direnv: error /media/home/bard/Code/nlp-recipes/.envrc is blocked. Rundirenv allowto approve its content ❯ vim .envrc direnv: error /media/home/bard/Code/nlp-recipes/.envrc is blocked. Rundirenv allowto approve its content ❯ direnv allow direnv: loading /media/home/bard/Code/nlp-recipes/.envrc Could not find conda environment: nlp_cpu You can list all discoverable environments withconda info --envs`. direnv: export ~PATH ❯ conda env create -f nlp_cpu.yaml Collecting package metadata (repodata.json): done Solving environment: done Downloading and Extracting Packages textwrap3-0.9.2 | 12 KB | ################################### | 100% wrapt-1.12.1 | 49 KB | ################################### | 100% pytorch-cpu-1.3.1 | 2 KB | ################################### | 100% termcolor-1.1.0 | 9 KB | ################################### | 100% pytest-6.2.3 | 420 KB | ################################### | 100% protobuf-3.14.0 | 303 KB | ################################### | 100% distributed-1.28.1 | 826 KB | ################################### | 100% grpcio-1.36.1 | 1.9 MB | ################################### | 100% h5py-2.10.0 | 901 KB | ################################### | 100% coverage-5.5 | 258 KB | ################################### | 100% pluggy-0.13.1 | 33 KB | ################################### | 100% dask-1.2.2 | 11 KB | ################################### | 100% markdown-3.3.4 | 127 KB | ################################### | 100% opt_einsum-3.3.0 | 57 KB | ################################### | 100% hdf5-1.10.6 | 3.7 MB | ################################### | 100% gstreamer-1.14.0 | 3.1 MB | ################################### | 100% matplotlib-3.3.4 | 26 KB |

内容来源: microsoft/nlp-recipes