与 conda 相关的软件包安装错误
package install error related to conda
如何使用 miniconda 安装以下 2 个软件包?
pip install PyICU
pip install pycld2
我收到一个与 gcc 相关的错误,因此我 运行
conda install gcc
现在我收到与 g++
相关的错误
我不是在寻找涉及创建单独环境的解决方案。我正在使用 miniconda 的 docker 图像,我想从 miniconda 构建一个新图像。
使用以下方法安装基本软件包后,此问题已解决:
sudo apt-get update
sudo apt-get install build-essential
Docker用于在 Miniconda Docker 映像中安装 g++ 的文件以及所有其他依赖项。
RUN apt-get -qq update && apt-get -qq -y install curl bzip2 \
libblas-dev \
g++\
build-essential \
&& curl -sSL https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -o /tmp/miniconda.sh \
&& bash /tmp/miniconda.sh -bfp /usr/local \
&& rm -rf /tmp/miniconda.sh \
&& conda install -y python=3 \
&& conda update conda \
&& apt-get -qq -y remove curl bzip2 \
&& apt-get -qq -y autoremove \
&& apt-get autoclean \
&& rm -rf /var/lib/apt/lists/* /var/log/dpkg.log \
&& conda clean --all --yes
如何使用 miniconda 安装以下 2 个软件包?
pip install PyICU
pip install pycld2
我收到一个与 gcc 相关的错误,因此我 运行
conda install gcc
现在我收到与 g++
相关的错误我不是在寻找涉及创建单独环境的解决方案。我正在使用 miniconda 的 docker 图像,我想从 miniconda 构建一个新图像。
使用以下方法安装基本软件包后,此问题已解决:
sudo apt-get update
sudo apt-get install build-essential
Docker用于在 Miniconda Docker 映像中安装 g++ 的文件以及所有其他依赖项。
RUN apt-get -qq update && apt-get -qq -y install curl bzip2 \
libblas-dev \
g++\
build-essential \
&& curl -sSL https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -o /tmp/miniconda.sh \
&& bash /tmp/miniconda.sh -bfp /usr/local \
&& rm -rf /tmp/miniconda.sh \
&& conda install -y python=3 \
&& conda update conda \
&& apt-get -qq -y remove curl bzip2 \
&& apt-get -qq -y autoremove \
&& apt-get autoclean \
&& rm -rf /var/lib/apt/lists/* /var/log/dpkg.log \
&& conda clean --all --yes