conda

Building Singularity recipe from Nipype docker image CommandNotFound

心已入冬 提交于 2021-02-10 09:18:37
问题 I have the following Singularity container recipe: #!/bin/bash Bootstrap: docker From: nipype/nipype:latest %labels Version v1.0 %post # Install nano apt-get update apt-get install nano # Set up Python environment CONDA_ENV=/opt/conda/bin export PATH=$CONDA_ENV:$PATH chmod -R 777 $CONDA_ENV # Activate conda environment conda activate neuro conda install seaborn pip install pybids and I build the container with Singularity as follows: sudo singularity build swish.simg Singularity.swish The

Building Singularity recipe from Nipype docker image CommandNotFound

旧巷老猫 提交于 2021-02-10 09:15:21
问题 I have the following Singularity container recipe: #!/bin/bash Bootstrap: docker From: nipype/nipype:latest %labels Version v1.0 %post # Install nano apt-get update apt-get install nano # Set up Python environment CONDA_ENV=/opt/conda/bin export PATH=$CONDA_ENV:$PATH chmod -R 777 $CONDA_ENV # Activate conda environment conda activate neuro conda install seaborn pip install pybids and I build the container with Singularity as follows: sudo singularity build swish.simg Singularity.swish The

Building Singularity recipe from Nipype docker image CommandNotFound

天大地大妈咪最大 提交于 2021-02-10 09:11:15
问题 I have the following Singularity container recipe: #!/bin/bash Bootstrap: docker From: nipype/nipype:latest %labels Version v1.0 %post # Install nano apt-get update apt-get install nano # Set up Python environment CONDA_ENV=/opt/conda/bin export PATH=$CONDA_ENV:$PATH chmod -R 777 $CONDA_ENV # Activate conda environment conda activate neuro conda install seaborn pip install pybids and I build the container with Singularity as follows: sudo singularity build swish.simg Singularity.swish The

Building Singularity recipe from Nipype docker image CommandNotFound

橙三吉。 提交于 2021-02-10 09:11:04
问题 I have the following Singularity container recipe: #!/bin/bash Bootstrap: docker From: nipype/nipype:latest %labels Version v1.0 %post # Install nano apt-get update apt-get install nano # Set up Python environment CONDA_ENV=/opt/conda/bin export PATH=$CONDA_ENV:$PATH chmod -R 777 $CONDA_ENV # Activate conda environment conda activate neuro conda install seaborn pip install pybids and I build the container with Singularity as follows: sudo singularity build swish.simg Singularity.swish The

Visual Studio Code, Conda, and Python Environments (I cannot get it working)

↘锁芯ラ 提交于 2021-02-10 05:37:14
问题 I am setting up Visual Studio Code on my pc and am running into difficulties with the python environment I created and Visual Studio Code. However, when running some test code, I get an import error.. I installed Python 3.7.3 with miniconda to 'C:\Python37', and then created a clone of the base environment named 'sci' and installed some packages (numpy, pandas, matplotlib, scipy, scikit-learn) using cmd. I tested the install in cmd with commands as follows: conda activate sci python import

Conda environment from .yaml offline

自作多情 提交于 2021-02-10 05:15:11
问题 I would like to create a Conda environment from a .yaml file on an offline machine (i.e. no Internet access). On an online machine this works perfectly fine: conda env create -f environment.yaml However, it doesn't work on an offline machine as the packages are then not found. How do I do this? If that's not possible is there another easy way to get my complete Conda environment to an offline machine (including both Conda and pip installed packages)? Going through the packages one by one to

Conda environment from .yaml offline

谁都会走 提交于 2021-02-10 05:14:13
问题 I would like to create a Conda environment from a .yaml file on an offline machine (i.e. no Internet access). On an online machine this works perfectly fine: conda env create -f environment.yaml However, it doesn't work on an offline machine as the packages are then not found. How do I do this? If that's not possible is there another easy way to get my complete Conda environment to an offline machine (including both Conda and pip installed packages)? Going through the packages one by one to

conda找不到"current_repodata.json"的解决方案

微笑、不失礼 提交于 2021-02-09 11:34:23
我的conda版本是4.8.2,在进行常规操作的时候,比如创建一个虚拟环境,会报找不到 current_repodata.json 这个文件,这个时候,把路径“ Anaconda3/Library/bin “目录下的 libcrypto-1_1-x64.dll 和 libssl-1_1-x64.dll 拷贝到“ Anaconda3/DLLs ”目录下即可。 来源: oschina 链接: https://my.oschina.net/u/3915051/blog/4296082

Install npm package with conda via environment.yml

﹥>﹥吖頭↗ 提交于 2021-02-08 23:43:53
问题 I am wondering if it's possible to install npm packages directly through conda's environment.yml file. I know one can install pypi packages with pip directly as follows: name: docs channels: - conda-forge dependencies: - python>=3.7 - nodejs=10.* - pip - pip: - Sphinx==1.6.5 I've tried adding npm as a dependency as it's installed via nodejs but that doesn't work, unfortunately. name: docs channels: - conda-forge dependencies: - python>=3.7 - nodejs=10.* - pip - pip: - Sphinx==1.6.5 - npm: -

Install npm package with conda via environment.yml

我们两清 提交于 2021-02-08 23:42:13
问题 I am wondering if it's possible to install npm packages directly through conda's environment.yml file. I know one can install pypi packages with pip directly as follows: name: docs channels: - conda-forge dependencies: - python>=3.7 - nodejs=10.* - pip - pip: - Sphinx==1.6.5 I've tried adding npm as a dependency as it's installed via nodejs but that doesn't work, unfortunately. name: docs channels: - conda-forge dependencies: - python>=3.7 - nodejs=10.* - pip - pip: - Sphinx==1.6.5 - npm: -