# CODA Python interferance envoriment installition

**URL:** https://forum.atmospherictoolbox.org/t/coda-python-interferance-envoriment-installition/637
**Category:** CODA
**Tags:** python
**Created:** [April 28, 2023, 8:32am UTC](https://forum.atmospherictoolbox.org/t/coda-python-interferance-envoriment-installition/637 "2023-04-28T08:32:15Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![mmvid007](https://forum.atmospherictoolbox.org/letter_avatar_proxy/v4/letter/m/c68b51/32.png) [@mmvid007](https://forum.atmospherictoolbox.org/u/mmvid007)
#### Post date: [April 28, 2023, 8:32am UTC](https://forum.atmospherictoolbox.org/t/coda-python-interferance-envoriment-installition/637/1 "2023-04-28T08:32:15Z")

</div>

Hello, greeting,  
I am using Windows 7, a 64-bit operating system, and Python 3.8.8 .for that I need a CODA interface for analyzing the Aeolus satellite Level 2, L2B wind product binary Data. I installed the latest coda Python interface 2.24.2 version and also tried to install the coda environment package using the anaconda command prompt shell as per instructions.

conda install -c conda-forge coda

but I am facing some issues. like it shows

solving environment: failed with initial frozen solve  
solving environment: field with repo data from current\_repodata.json,will retry with next repodata source.

after installing the packages. it shows,

Your Installed version is: not available  
Note that strict channel priority may have removed packages that required satisfiability

it is requested to give me the exact solution for above matter .

---

<div class="post-metadata">

### Author: ![sander.niemeijer](https://forum.atmospherictoolbox.org/user_avatar/forum.atmospherictoolbox.org/sander.niemeijer/32/5_2.png) [@sander.niemeijer](https://forum.atmospherictoolbox.org/u/sander.niemeijer)
#### Post date: [April 28, 2023, 8:55am UTC](https://forum.atmospherictoolbox.org/t/coda-python-interferance-envoriment-installition/637/2 "2023-04-28T08:55:32Z")

</div>

We should probably update the documentation for this. Installing CODA in the base environment of an anaconda installation will generally not work because packages from the conda-forge channel will conflict with those of anaconda. If you use an anaconda installation you should first create a separate environment and then install coda in there. e.g.

```auto
$ conda create -n coda
$ conda activate coda
$ conda install -c conda-forge coda

```

The better option would be to install [mininforge](https://conda-forge.org/miniforge/). This will make sure every package comes from the conda-forge channel automatically.

---

<div class="post-metadata">

### Author: ![mmvid007](https://forum.atmospherictoolbox.org/letter_avatar_proxy/v4/letter/m/c68b51/32.png) [@mmvid007](https://forum.atmospherictoolbox.org/u/mmvid007)
#### Post date: [April 28, 2023, 10:28am UTC](https://forum.atmospherictoolbox.org/t/coda-python-interferance-envoriment-installition/637/3 "2023-04-28T10:28:24Z")

</div>

Thank you for your response. I followed the above steps for installing the CODA. herewith attached are the screenshots and set the Coda definition path :

import os

# Change this to the location of your AEOLUS codadef file

os.putenv(‘CODA\_DEFINITION’, r’C:\Users\IITM.conda\envs\coda\Library\share\coda\doc\html’)

# You can also remove this line and set the CODA\_DEFINITION environment variable globally on your system

import coda  
import numpy

ModuleNotFoundError: No module named ‘coda’

Please suggest for further.

 ![coda_steps](https://forum.atmospherictoolbox.org/uploads/default/original/1X/97d29620a51b4d2cdecc5d55006ce2db5d27b0bd.jpeg)  
.

---

<div class="post-metadata">

### Author: ![mmvid007](https://forum.atmospherictoolbox.org/letter_avatar_proxy/v4/letter/m/c68b51/32.png) [@mmvid007](https://forum.atmospherictoolbox.org/u/mmvid007)
#### Post date: [April 28, 2023, 10:40am UTC](https://forum.atmospherictoolbox.org/t/coda-python-interferance-envoriment-installition/637/4 "2023-04-28T10:40:13Z")

</div>

and the one more pop-up shows, the  
 ![coda error](https://forum.atmospherictoolbox.org/uploads/default/original/1X/200f6fe3250d89b023599cd403c8568b3a491c69.jpeg)  
screenshot is attached. how do fix these issues please suggest

---

<div class="post-metadata">

### Author: ![sander.niemeijer](https://forum.atmospherictoolbox.org/user_avatar/forum.atmospherictoolbox.org/sander.niemeijer/32/5_2.png) [@sander.niemeijer](https://forum.atmospherictoolbox.org/u/sander.niemeijer)
#### Post date: [April 28, 2023, 10:41am UTC](https://forum.atmospherictoolbox.org/t/coda-python-interferance-envoriment-installition/637/5 "2023-04-28T10:41:30Z")

</div>

That is not the right location of the coda definition path. See [this post](https://forum.atmospherictoolbox.org/t/issue-with-coda-with-python/403/2) for more details.

---

<div class="post-metadata">

### Author: ![sander.niemeijer](https://forum.atmospherictoolbox.org/user_avatar/forum.atmospherictoolbox.org/sander.niemeijer/32/5_2.png) [@sander.niemeijer](https://forum.atmospherictoolbox.org/u/sander.niemeijer)
#### Post date: [April 28, 2023, 10:44am UTC](https://forum.atmospherictoolbox.org/t/coda-python-interferance-envoriment-installition/637/6 "2023-04-28T10:44:30Z")

</div>

For the popup missing dll error, I don’t know. This does not look like a CODA specific problem but more something wrong with your windows installation. You should probably look for a solution to that elsewhere.

---

<div class="post-metadata">

### Author: ![mmvid007](https://forum.atmospherictoolbox.org/letter_avatar_proxy/v4/letter/m/c68b51/32.png) [@mmvid007](https://forum.atmospherictoolbox.org/u/mmvid007)
#### Post date: [May 1, 2023, 11:16am UTC](https://forum.atmospherictoolbox.org/t/coda-python-interferance-envoriment-installition/637/8 "2023-05-01T11:16:08Z")

</div>

> [@sander.niemeijer](#):
>
> `conda create -n coda`

for installing the Miniforge there are two options Miniforge-pypy3 and Miniforge3. which package did i need to installed? was i trying to Miniforge-pypy3 but there is showing an error screenshot attached .please help  
 ![miniforge](https://forum.atmospherictoolbox.org/uploads/default/original/1X/145ba97e44b311e04b809efa2b6d18ea36b4b888.jpeg)

---

<div class="post-metadata">

### Author: ![sander.niemeijer](https://forum.atmospherictoolbox.org/user_avatar/forum.atmospherictoolbox.org/sander.niemeijer/32/5_2.png) [@sander.niemeijer](https://forum.atmospherictoolbox.org/u/sander.niemeijer)
#### Post date: [May 1, 2023, 11:30am UTC](https://forum.atmospherictoolbox.org/t/coda-python-interferance-envoriment-installition/637/9 "2023-05-01T11:30:27Z")

</div>

I would recommend the Miniforge3 installer. But the type of error you have indicates something very weird with your system. Also the other issues you raised before (e.g. the dll error) are very strange and not something that others have raised before.  
And these are issues that are outside the scope of this forum.
