Code Monkey home page Code Monkey logo

Comments (3)

anwai98 avatar anwai98 commented on July 18, 2024

Hi @cdalinghaus,

Could you try using mamba env create -f environment_cpu.yaml to install the environment?

(this creates an environment with name torch-em-cpu by default - unless you specify using -n <ENV_NAME>)

from torch-em.

cdalinghaus avatar cdalinghaus commented on July 18, 2024

Thanks @anwai98 .

I further tested it and it seems to work when I use
mamba env create -f environment_cpu.yaml

But when I use it without the env, as the readme suggests it does not work:

mamba create -f environment_cpu.yaml -n test

Looking for: ['environment_cpu.yaml']

warning  libmamba Cache file "/home/constantin/mambaforge/pkgs/cache/497deca9.json" was modified by another program
warning  libmamba Cache file "/home/constantin/mambaforge/pkgs/cache/09cdf8bf.json" was modified by another program
conda-forge/noarch                                  17.4MB @   3.5MB/s  5.5s
conda-forge/linux-64                                41.4MB @   4.6MB/s 10.2s
Could not solve for environment specs
The following package could not be installed
└─ environment_cpu.yaml   does not exist (perhaps a typo or a missing channel).

https://github.com/constantinpape/torch-em?tab=readme-ov-file#from-source

from torch-em.

constantinpape avatar constantinpape commented on July 18, 2024

This is a typo in the readme, thanks for noticing @cdalinghaus . Both mamba and conda require the env in the command for creating environments from a file. I updated it.

from torch-em.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.