Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating a local environment using environment file with pip dependencies fails with errors #39

Open
jasonboukheir opened this issue Feb 26, 2024 · 0 comments

Comments

@jasonboukheir
Copy link

jasonboukheir commented Feb 26, 2024

Here is my environment.yml file:

name:
channels:
  - conda-forge
  - pytorch
  - nvidia
dependencies:
  - python >= 3.8, <3.9
  - pytorch
  - pytorch-cuda=11.8
  - torchvision
  - pip
  - pip:
      - ultralytics
      - pillow
      - numpy
      - pandas
      - git+https://github.com/openai/CLIP.git

When running the following command:

micromamba env create -f environment.yml -p ./.conda

it fails with

Installing pip packages: ultralytics, pillow, numpy, pandas, git+https://github.com/openai/CLIP.git
critical libmamba Cannot activate, prefix does not exist at: '{ SNIP }\micromambaenv\envs.conda'
critical libmamba pip failed to install packages

It seems to be trying to find an environment called .conda instead of using the environment I have locally in my project.

I'm using micromamba version 1.5.6 on windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant