# We are getting segmentation fault error while building a new conda module in python310

**URL:** <https://forum.anaconda.com/t/we-are-getting-segmentation-fault-error-while-building-a-new-conda-module-in-python310/58659>\
**Category:** Package Builds\
**Created:** [July 19, 2023, 8:54am UTC](https://forum.anaconda.com/t/we-are-getting-segmentation-fault-error-while-building-a-new-conda-module-in-python310/58659 "2023-07-19T08:54:45Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sanuja\_V](https://avatars.discourse-cdn.com/v4/letter/s/80bc00/32.png) [@Sanuja\_V](https://forum.anaconda.com/u/Sanuja_V)\
**Post date:** [July 19, 2023, 8:54am UTC](https://forum.anaconda.com/t/we-are-getting-segmentation-fault-error-while-building-a-new-conda-module-in-python310/58659/1 "2023-07-19T08:54:45Z")

</div>

Hi Team,  
WE are getting the below error while building a new module in python310.  
conda\_build.metadata:No numpy version specified in conda\_build\_config.yaml. Falling back to default numpy value of 1.22  
Segmentation fault (core dumped). Please suggest

---

<div class="post-metadata">

**Author:** ![sweller](https://avatars.discourse-cdn.com/v4/letter/s/c2df01/32.png) [@sweller](https://forum.anaconda.com/u/sweller)\
**Post date:** [July 20, 2023, 7:28pm UTC](https://forum.anaconda.com/t/we-are-getting-segmentation-fault-error-while-building-a-new-conda-module-in-python310/58659/2 "2023-07-20T19:28:09Z")

</div>

Hello,

Are you trying to build the module in a new conda environment? I would try that first.  
If that fails, please share the contents of your meta.yaml file, so we can try to reproduce the problem.

---

<div class="post-metadata">

**Author:** ![Sanuja\_V](https://avatars.discourse-cdn.com/v4/letter/s/80bc00/32.png) [@Sanuja\_V](https://forum.anaconda.com/u/Sanuja_V)\
**Post date:** [August 3, 2023, 5:02pm UTC](https://forum.anaconda.com/t/we-are-getting-segmentation-fault-error-while-building-a-new-conda-module-in-python310/58659/3 "2023-08-03T17:02:55Z")

</div>

Thanks for your response

The contents of the meta.yaml is as attached

Regards  
Sanuja V

 ![20230803_223021.jpg](https://europe1.discourse-cdn.com/anaconda/original/2X/5/530163e098b47ca5147eab2863f69ddb85e74e47.jpeg)

---

<div class="post-metadata">

**Author:** ![sweller](https://avatars.discourse-cdn.com/v4/letter/s/c2df01/32.png) [@sweller](https://forum.anaconda.com/u/sweller)\
**Post date:** [August 3, 2023, 10:02pm UTC](https://forum.anaconda.com/t/we-are-getting-segmentation-fault-error-while-building-a-new-conda-module-in-python310/58659/4 "2023-08-03T22:02:27Z")

</div>

It looks like you are trying to build the ‘six’ package on a linux machine using the package source from [pypi.org](http://pypi.org). It is going to be easier to build the package from the source using ‘conda build’ tool instead.

You can grab the ‘six’ source code from here:  
[Files :: Anaconda.org](https://anaconda.org/conda-forge/six/files).

You should download the latest ‘noarch’ source.

Then:  
1). Extract the tarball contents somewhere  
2). Install the ‘conda-build’ package: ‘conda install conda-build’  
3). Create a new conda environment and activate it.  
4). Switch directories to the ‘recipe’ folder in the downloaded and extracted source tree.  
5). Run ‘conda build .’ in this directory,

---

<div class="post-metadata">

**Author:** ![Sanuja\_V](https://avatars.discourse-cdn.com/v4/letter/s/80bc00/32.png) [@Sanuja\_V](https://forum.anaconda.com/u/Sanuja_V)\
**Post date:** [August 10, 2023, 10:29am UTC](https://forum.anaconda.com/t/we-are-getting-segmentation-fault-error-while-building-a-new-conda-module-in-python310/58659/5 "2023-08-10T10:29:26Z")

</div>

Hi Stephan

I am trying to build the six package using cobsa-build. And it works good for python3.7 and giving a segmentation fault for python310…

We have conda-six and six-recipe folder…conda build was already installed and we have a conda environment already available.

We are building conda modules to install in linux servers.

The admin package used for build is miniconda-python310-23.5.2-0\_admin.x86\_64

Please suggest

Regards  
Sanuja V

---

<div class="post-metadata">

**Author:** ![sweller](https://avatars.discourse-cdn.com/v4/letter/s/c2df01/32.png) [@sweller](https://forum.anaconda.com/u/sweller)\
**Post date:** [August 28, 2023, 8:15pm UTC](https://forum.anaconda.com/t/we-are-getting-segmentation-fault-error-while-building-a-new-conda-module-in-python310/58659/6 "2023-08-28T20:15:02Z")

</div>

Hi Sanuja,

Sorry for not replying to your message sooner. Can you paste the relevant build output from running conda-build with Python 3.10 below, so I can see the complete error message?

Thank you.
