# Challenges in Installing biobb\_dna on Ubuntu: Seeking Solutions

**URL:** https://ask.bioexcel.eu/t/challenges-in-installing-biobb-dna-on-ubuntu-seeking-solutions/4733
**Category:** BioBB
**Created:** [December 16, 2023, 10:44am UTC](https://ask.bioexcel.eu/t/challenges-in-installing-biobb-dna-on-ubuntu-seeking-solutions/4733 "2023-12-16T10:44:19Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![fatemeh](https://avatars.discourse-cdn.com/v4/letter/f/9de053/32.png) [@fatemeh](https://ask.bioexcel.eu/u/fatemeh)
#### Post date: [December 16, 2023, 10:44am UTC](https://ask.bioexcel.eu/t/challenges-in-installing-biobb-dna-on-ubuntu-seeking-solutions/4733/1 "2023-12-16T10:44:19Z")

</div>

Hello, I am writing about biobb\_dna. Unfortunately, I am not able to install it on Ubuntu with pip and Anaconda. I encountered the following error with both pip as an example. Does anybody have the same problem, or does anybody know how to solve it?  
error:  
note: This error originates from a subprocess, and is likely not a problem with pip.  
error: metadata-generation-failed  
× Encountered error while generating package metadata.  
╰─\> See above for output.  
note: This is an issue with the package mentioned above, not pip.  
hint: See above for details.

---

<div class="post-metadata">

### Author: ![genis.bayarri](https://avatars.discourse-cdn.com/v4/letter/g/6bbea6/32.png) [@genis.bayarri](https://ask.bioexcel.eu/u/genis.bayarri)
#### Post date: [December 18, 2023, 8:37am UTC](https://ask.bioexcel.eu/t/challenges-in-installing-biobb-dna-on-ubuntu-seeking-solutions/4733/2 "2023-12-18T08:37:18Z")

</div>

Hi, which version of biobb\_dna are you using? Are you trying to install biobb\_dna in a new environment?

I recommend to create a new conda environment instead of installing biobb\_dna in an existing one. Try this:

1. Create an environment.yml file:

```auto
name: biobb_dna_env
channels:
  - conda-forge
  - bioconda
dependencies:
  - biobb_dna==4.1.0

```

1. Create environment from the above file:

```auto
conda env create -f environment.yml

```

Let me know if this worked for you.

Best.

---

<div class="post-metadata">

### Author: ![fatemeh](https://avatars.discourse-cdn.com/v4/letter/f/9de053/32.png) [@fatemeh](https://ask.bioexcel.eu/u/fatemeh)
#### Post date: [December 19, 2023, 5:24pm UTC](https://ask.bioexcel.eu/t/challenges-in-installing-biobb-dna-on-ubuntu-seeking-solutions/4733/3 "2023-12-19T17:24:58Z")

</div>

thank you so much for your reply. I used this [biobb\_dna](https://biobb-dna.readthedocs.io/en/latest/readme.html)  
do you think the problem is conda?i also need to install it in a supercomputer.

unfortunately I got the error after running **conda env create -f environment.yml**  
Channels:

- conda-forge - bioconda
- conda-forge
- defaults  
Platform: linux-64  
Collecting package metadata (repodata.json): failed

UnavailableInvalidChannel: HTTP 404 NOT FOUND for channel conda-forge - bioconda \<[https://conda.anaconda.org/conda-forge](https://conda.anaconda.org/conda-forge) - bioconda\>

The channel is not accessible or is invalid.

---

<div class="post-metadata">

### Author: ![genis.bayarri](https://avatars.discourse-cdn.com/v4/letter/g/6bbea6/32.png) [@genis.bayarri](https://ask.bioexcel.eu/u/genis.bayarri)
#### Post date: [December 20, 2023, 8:38am UTC](https://ask.bioexcel.eu/t/challenges-in-installing-biobb-dna-on-ubuntu-seeking-solutions/4733/4 "2023-12-20T08:38:50Z")

</div>

Hi, are you able to download packages in the computer where you are trying to execute it? Several supercomputers don’t have internet connection and it seems that this is the problem. Or maybe for some reason there are some adresses banned from this computer?

Have you tried in your PC or in a supercomputer? Have you installed other conda packages in your computer with no problem?

Best.

---

<div class="post-metadata">

### Author: ![fatemeh](https://avatars.discourse-cdn.com/v4/letter/f/9de053/32.png) [@fatemeh](https://ask.bioexcel.eu/u/fatemeh)
#### Post date: [December 26, 2023, 11:27am UTC](https://ask.bioexcel.eu/t/challenges-in-installing-biobb-dna-on-ubuntu-seeking-solutions/4733/5 "2023-12-26T11:27:40Z")

</div>

Hello, I tried to installed in my PC and I was unsuccessful. I can install other packaged with conda. but I cannot install biobb\_dna with conda and pip.

---

<div class="post-metadata">

### Author: ![genis.bayarri](https://avatars.discourse-cdn.com/v4/letter/g/6bbea6/32.png) [@genis.bayarri](https://ask.bioexcel.eu/u/genis.bayarri)
#### Post date: [December 27, 2023, 8:23am UTC](https://ask.bioexcel.eu/t/challenges-in-installing-biobb-dna-on-ubuntu-seeking-solutions/4733/6 "2023-12-27T08:23:32Z")

</div>

Hi, I still don’t understand why you are using pip. The process of installation is only with conda following the steps of my first answer.

Best.

---

<div class="post-metadata">

### Author: ![fatemeh](https://avatars.discourse-cdn.com/v4/letter/f/9de053/32.png) [@fatemeh](https://ask.bioexcel.eu/u/fatemeh)
#### Post date: [December 27, 2023, 8:58am UTC](https://ask.bioexcel.eu/t/challenges-in-installing-biobb-dna-on-ubuntu-seeking-solutions/4733/7 "2023-12-27T08:58:14Z")

</div>

> [@genis.bayarri](#):
>
> Hi, I still don’t understand why you are using pip. The process of installation is only with conda following the steps of my first answer.

Hello, could you install it with conda? i followed the steps but I could not install it.

---

<div class="post-metadata">

### Author: ![genis.bayarri](https://avatars.discourse-cdn.com/v4/letter/g/6bbea6/32.png) [@genis.bayarri](https://ask.bioexcel.eu/u/genis.bayarri)
#### Post date: [December 27, 2023, 9:19am UTC](https://ask.bioexcel.eu/t/challenges-in-installing-biobb-dna-on-ubuntu-seeking-solutions/4733/8 "2023-12-27T09:19:09Z")

</div>

Hi, of course I can install it. Using the **environment.yml** file I provided you last week:

```auto
name: biobb_dna_env                                                                                                                                   
channels:
  - conda-forge
  - bioconda
dependencies:
  - biobb_dna==4.1.0

```

And executing the following instruction (it takes less than 2 minutes):

```auto
$ conda env create -f environment.yml
Retrieving notices: ...working... done
Channels:
 - conda-forge
 - bioconda
 - defaults
Platform: osx-64
Collecting package metadata (repodata.json): done
Solving environment: done

Downloading and Extracting Packages
                                                                                                                                                      
Preparing transaction: done                                                                                                                           
Verifying transaction: done                                                                                                                           
Executing transaction: done                                                                                                                           
#                                                                                                                                                     
# To activate this environment, use                                                                                                                   
#                                                                                                                                                     
# $ conda activate biobb_dna_env                                                                                                                  
#                                                                                                                                                     
# To deactivate an active environment, use                                                                                                            
#                                                                                                                                                     
# $ conda deactivate                                                                                                                              
                                                                                                                                                      
(base) $ conda activate biobb_dna_env                                                                                              
(biobb_dna_env) $ conda list | grep biobb
# packages in environment at /path/to/miniconda3/envs/biobb_dna_env:                                                                           
biobb_common 4.1.0 pyhdfd78af_1 bioconda                                                                                 
biobb_dna 4.1.0 pyhdfd78af_0 bioconda 

```

My conda info:

```auto
$ conda info

     active environment : biobb_dna_env
    active env location : /path/to/miniconda3/envs/biobb_dna_env
            shell level : 2
       user config file : /path/to/.condarc
 populated config files : /path/to/miniconda3/.condarc
                          /path/to/.condarc
          conda version : 23.5.2
    conda-build version : not installed
         python version : 3.11.4.final.0
       virtual packages : __archspec=1=x86_64
                          __osx=10.16=0
                          __unix=0=0
       base environment : /path/to/miniconda3 (writable)
      conda av data dir : /path/to/miniconda3/etc/conda
  conda av metadata url : None
           channel URLs : https://repo.anaconda.com/pkgs/main/osx-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/osx-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /path/to/miniconda3/pkgs
                          /path/to/.conda/pkgs
       envs directories : /path/to/miniconda3/envs
                          /path/to/.conda/envs
               platform : osx-64
             user-agent : conda/23.5.2 requests/2.29.0 CPython/3.11.4 Darwin/21.5.0 OSX/10.16 solver/libmamba conda-libmamba-solver/23.5.0 libmambapy/1.4.1
                UID:GID : 1147421021:1791188573
             netrc file : None
           offline mode : False

```

Note that I’m running it in mac, but it works as well in Ubuntu 16+.

Check that your conda version is updated.

Best
