# ERROR conda.cli.main\_run:execute(34)

**URL:** https://community.drivendata.org/t/error-conda-cli-main-run-execute-34/5770
**Category:** MagNet: Model the Geomagnetic Field
**Created:** [January 18, 2021, 1:52am UTC](https://community.drivendata.org/t/error-conda-cli-main-run-execute-34/5770 "2021-01-18T01:52:51Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![shovitraj](https://avatars.discourse-cdn.com/v4/letter/s/f9ae1b/32.png) [@shovitraj](https://community.drivendata.org/u/shovitraj)
#### Post date: [January 18, 2021, 1:52am UTC](https://community.drivendata.org/t/error-conda-cli-main-run-execute-34/5770/1 "2021-01-18T01:52:51Z")

</div>

I get the following error after  
make test-submision

/home/appuser/miniconda/envs/py/.tmphcr5c791: line 3: 25 Killed python main.py  
ERROR conda.cli.main\_run:execute(34): Subprocess for ‘conda run [‘python’, ‘main.py’]’ command failed. (See above for error)  
Exporting submission.csv result…  
ERROR: Script did not produce a submission.csv file in the main directory.

Is this conda path error or something else?

---

<div class="post-metadata">

### Author: ![iorana](https://avatars.discourse-cdn.com/v4/letter/i/edb3f5/32.png) [@iorana](https://community.drivendata.org/u/iorana)
#### Post date: [January 18, 2021, 1:18pm UTC](https://community.drivendata.org/t/error-conda-cli-main-run-execute-34/5770/2 "2021-01-18T13:18:57Z")

</div>

Hi,  
As far as I know, it is the output we get when there is a problem in the code: problem with model load, incorrect version of a package, so anything. There should be some more information, I think either above or below this error message.

---

<div class="post-metadata">

### Author: ![shovitraj](https://avatars.discourse-cdn.com/v4/letter/s/f9ae1b/32.png) [@shovitraj](https://community.drivendata.org/u/shovitraj)
#### Post date: [January 18, 2021, 3:03pm UTC](https://community.drivendata.org/t/error-conda-cli-main-run-execute-34/5770/3 "2021-01-18T15:03:14Z")

</div>

Here’s my log.txt

Unpacking submission…  
Archive: ./submission/submission.zip  
inflating: ./config.json  
creating: ./model/  
inflating: ./model/.DS\_Store  
creating: ./model/variables/  
inflating: ./model/variables/variables.data-00000-of-00001  
inflating: ./model/variables/variables.index  
inflating: ./model/saved\_model.pb  
creating: ./model/assets/  
inflating: ./predict.py  
inflating: ./scaler.pck  
Copying main.py  
… main.py copied 86c86dc51ca1783837935c4b59b155eb ./main.py  
Running submission with Python  
2021-01-18 15:00:11.780 | INFO | **main** :main:140 - reading raw Dst data from /codeexecution/data/dst\_labels.csv …  
2021-01-18 15:00:12.466 | INFO | **main** :main:144 - calculating submission format and ground truth …  
2021-01-18 15:00:16.909 | INFO | **main** :main:151 - calculated submission format and ground truth dataframes with 139,365 rows  
2021-01-18 15:00:16.910 | INFO | **main** :main:156 - reading in solar wind data …  
/home/appuser/miniconda/envs/py/.tmpo5\_rq4aq: line 3: 27 Killed python main.py  
ERROR conda.cli.main\_run:execute(34): Subprocess for ‘conda run [‘python’, ‘main.py’]’ command failed. (See above for error)  
Exporting submission.csv result…  
ERROR: Script did not produce a submission.csv file in the main directory.

---

<div class="post-metadata">

### Author: ![isms](https://yyz2.discourse-cdn.com/flex028/user_avatar/community.drivendata.org/isms/32/9_2.png) [@isms](https://community.drivendata.org/u/isms)
#### Post date: [January 18, 2021, 3:43pm UTC](https://community.drivendata.org/t/error-conda-cli-main-run-execute-34/5770/4 "2021-01-18T15:43:58Z")

</div>

It is possible your OS is killing the process for consuming too much memory. Have you tried monitoring memory usage while this runs? How much RAM does your computer have?

---

<div class="post-metadata">

### Author: ![shovitraj](https://avatars.discourse-cdn.com/v4/letter/s/f9ae1b/32.png) [@shovitraj](https://community.drivendata.org/u/shovitraj)
#### Post date: [January 18, 2021, 10:18pm UTC](https://community.drivendata.org/t/error-conda-cli-main-run-execute-34/5770/5 "2021-01-18T22:18:03Z")

</div>

I have 16GB memory and it is using about 4GB.

---

<div class="post-metadata">

### Author: ![bull](https://yyz2.discourse-cdn.com/flex028/user_avatar/community.drivendata.org/bull/32/8_2.png) [@bull](https://community.drivendata.org/u/bull)
#### Post date: [January 18, 2021, 10:40pm UTC](https://community.drivendata.org/t/error-conda-cli-main-run-execute-34/5770/6 "2021-01-18T22:40:12Z")

</div>

On Windows and macOS you may need to allow the docker host to use more RAM that it can allocate to containers by going to “Resources” tab in the settings and adjusting that to allow docker to use more RAM:

> **[Docker Desktop for Windows user manual](https://docs.docker.com/docker-for-windows/)**
>
> Getting Started

---

<div class="post-metadata">

### Author: ![shovitraj](https://avatars.discourse-cdn.com/v4/letter/s/f9ae1b/32.png) [@shovitraj](https://community.drivendata.org/u/shovitraj)
#### Post date: [January 18, 2021, 11:34pm UTC](https://community.drivendata.org/t/error-conda-cli-main-run-execute-34/5770/7 "2021-01-18T23:34:54Z")

</div>

Thank you. It worked!
