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

ERROR: For --editable= git+https://......., only bzr+URL, git+URL, hg+URL, svn+URL are currently supported #12216

Open
2 tasks done
SOTAMak1r opened this issue Jan 5, 2023 · 2 comments
Labels
pending::feedback indicates we are waiting on feedback from the user source::community catch-all for issues filed by community members type::bug describes erroneous operation, use severity::* to classify the type

Comments

@SOTAMak1r
Copy link

Checklist

  • I added a descriptive title
  • I searched open reports and couldn't find a duplicate

What happened?

I ran this command:

conda env create -f environment.yaml

the error is:

Using Anaconda API: https://api.anaconda.org
Fetching package metadata .............
Solving package specifications: .
By downloading and using the CUDA Toolkit conda packages, you accept the terms and conditions of the CUDA End User License Agreement (EULA): https://docs.nvidia.com/cuda/eula/index.html

ERROR: For --editable= git+https://github.com/CompVis/taming-transformers.git@master#egg=taming-transformers, only bzr+URL, git+URL, hg+URL, svn+URL are currently supported

CondaValueError: pip returned an error.

environment.yaml is:

name: ldm
channels:
  - pytorch
  - defaults
dependencies:
  - python=3.8.5
  - pip=20.3
  - cudatoolkit
  - pytorch=1.11.0
  - torchvision=0.12.0
  - numpy=1.19.2
  - pip:
    - albumentations==0.4.3
    - diffusers
    - opencv-python==4.1.2.30
    - pudb==2019.2
    - invisible-watermark
    - imageio==2.9.0
    - imageio-ffmpeg==0.4.2
    - pytorch-lightning==1.4.2
    - omegaconf==2.1.1
    - test-tube>=0.7.5
    - streamlit>=0.73.1
    - einops==0.3.0
    - torch-fidelity==0.3.0
    - transformers==4.19.2
    - torchmetrics==0.6.0
    - kornia==0.6
    - -e git+https://github.com/CompVis/taming-transformers.git@master#egg=taming-transformers
    - -e git+https://github.com/openai/CLIP.git@main#egg=clip
    - -e .

Conda Info

Current conda install:

               platform : linux-64
          conda version : 4.3.30
       conda is private : False
      conda-env version : 4.3.30
    conda-build version : 3.0.27
         python version : 3.6.3.final.0
       requests version : 2.18.4
       root environment : /nvme/chenjunyi/anaconda3  (writable)
    default environment : /nvme/chenjunyi/anaconda3
       envs directories : /nvme/chenjunyi/anaconda3/envs
                          /nvme/chenjunyi/.conda/envs
          package cache : /nvme/chenjunyi/anaconda3/pkgs
                          /nvme/chenjunyi/.conda/pkgs
           channel URLs : https://repo.continuum.io/pkgs/main/linux-64
                          https://repo.continuum.io/pkgs/main/noarch
                          https://repo.continuum.io/pkgs/free/linux-64
                          https://repo.continuum.io/pkgs/free/noarch
                          https://repo.continuum.io/pkgs/r/linux-64
                          https://repo.continuum.io/pkgs/r/noarch
                          https://repo.continuum.io/pkgs/pro/linux-64
                          https://repo.continuum.io/pkgs/pro/noarch
            config file : None
             netrc file : None
           offline mode : False
             user-agent : conda/4.3.30 requests/2.18.4 CPython/3.6.3 Linux/3.10.0-957.el7.x86_64 CentOS Linux/7.6.1810 glibc/2.17    
                UID:GID : 200000815:200000815

Conda Config

No response

Conda list

No response

Additional Context

No response

@SOTAMak1r SOTAMak1r added the type::bug describes erroneous operation, use severity::* to classify the type label Jan 5, 2023
@travishathaway travishathaway added type::bug describes erroneous operation, use severity::* to classify the type and removed type::bug describes erroneous operation, use severity::* to classify the type labels Jan 23, 2023
@travishathaway
Copy link
Contributor

Hi @SOTAMak1r,

Thanks for submitting this bug report. May I ask why you are using the -e flag while installing this dependencies? I tested this out without those flags and it seems to work correctly.

But, I would not expect - -e . to ever work. You shouldn't be doing this in a conda environment file.

Have you already found a better way to do this?

@travishathaway travishathaway self-assigned this Jan 23, 2023
@travishathaway travishathaway added pending::feedback indicates we are waiting on feedback from the user source::community catch-all for issues filed by community members labels Jan 23, 2023
@songyongshun
Copy link

try:
cd src
git clone https://github.com/CompVis/taming-transformers
cd taming-transformers
python setup.py install
you will see what makes the installation failed.

@travishathaway travishathaway removed their assignment May 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pending::feedback indicates we are waiting on feedback from the user source::community catch-all for issues filed by community members type::bug describes erroneous operation, use severity::* to classify the type
Projects
Status: No status
Development

No branches or pull requests

3 participants