# Pylith Installer Problems

**URL:** <https://community.geodynamics.org/t/pylith-installer-problems/1608>\
**Category:** PyLith\
**Created:** [December 10, 2020, 12:38am UTC](https://community.geodynamics.org/t/pylith-installer-problems/1608 "2020-12-10T00:38:05Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![robertlwalker](https://yyz2.discourse-cdn.com/flex036/user_avatar/community.geodynamics.org/robertlwalker/32/97_2.png) [@robertlwalker](https://community.geodynamics.org/u/robertlwalker)\
**Post date:** [December 10, 2020, 12:38am UTC](https://community.geodynamics.org/t/pylith-installer-problems/1608/1 "2020-12-10T00:38:05Z")

</div>

I tried to use the pylith installer to build on a cluster, and locally, and got the same error during config:

```
checking for python module six... configure: error: in `/home/dockimble/pylith_ii':

```

I have included the config.log from the attempted run.

Configure flags were:

#!/bin/bash

export SITE=`pwd`

…/src/pylith/pylith\_installer/configure   
–enable-python=yes   
–with-pylith-git=master   
–with-make-threads=2   
–prefix=$SITE/pylith

---

<div class="post-metadata">

**Author:** ![baagaard](https://yyz2.discourse-cdn.com/flex036/user_avatar/community.geodynamics.org/baagaard/32/615_2.png) [@baagaard](https://community.geodynamics.org/u/baagaard)\
**Post date:** [December 10, 2020, 3:35pm UTC](https://community.geodynamics.org/t/pylith-installer-problems/1608/2 "2020-12-10T15:35:50Z")

</div>

I don’t see any `config.log`.

When you run configure for the installer, you should check to make sure you are having the installer build _all_ of the Python dependencies (setuptools, cython, six, numpy, cftime, h5py, netcdfpy). I will fix the configure so that this happens automatically.

Also, don’t you want the installer to build the `knepley/feature-petcs-fe` branch instead of master (master requires an older version of PETSc knpley/pylith than the current one).

---

<div class="post-metadata">

**Author:** ![robertlwalker](https://yyz2.discourse-cdn.com/flex036/user_avatar/community.geodynamics.org/robertlwalker/32/97_2.png) [@robertlwalker](https://community.geodynamics.org/u/robertlwalker)\
**Post date:** [December 11, 2020, 4:06am UTC](https://community.geodynamics.org/t/pylith-installer-problems/1608/3 "2020-12-11T04:06:39Z")

</div>

[config.log](https://community.geodynamics.org/uploads/short-url/24s1iO6TxZ058QYvj7RCIRz3h5o.log) (39.9 KB)

There it should be. And yes, I do want it to build the knepley/feature-petsc-fe branch. Thank you.

---

<div class="post-metadata">

**Author:** ![baagaard](https://yyz2.discourse-cdn.com/flex036/user_avatar/community.geodynamics.org/baagaard/32/615_2.png) [@baagaard](https://community.geodynamics.org/u/baagaard)\
**Post date:** [December 11, 2020, 8:22pm UTC](https://community.geodynamics.org/t/pylith-installer-problems/1608/4 "2020-12-11T20:22:52Z")

</div>

I have pushed changes to the PyLith installer (branch `baagaard/feature-update-dependencies`) to insure all Python packages are built when building Python (–enable-python). This should resolve the problem you have in not building some of the Python packages (like six; which is the error you are getting).

---

<div class="post-metadata">

**Author:** ![robertlwalker](https://yyz2.discourse-cdn.com/flex036/user_avatar/community.geodynamics.org/robertlwalker/32/97_2.png) [@robertlwalker](https://community.geodynamics.org/u/robertlwalker)\
**Post date:** [December 11, 2020, 9:00pm UTC](https://community.geodynamics.org/t/pylith-installer-problems/1608/5 "2020-12-11T21:00:12Z")

</div>

You misspelled openssl as oenssl in the configure.ac file.

---

<div class="post-metadata">

**Author:** ![baagaard](https://yyz2.discourse-cdn.com/flex036/user_avatar/community.geodynamics.org/baagaard/32/615_2.png) [@baagaard](https://community.geodynamics.org/u/baagaard)\
**Post date:** [December 11, 2020, 9:11pm UTC](https://community.geodynamics.org/t/pylith-installer-problems/1608/6 "2020-12-11T21:11:40Z")

</div>

Arrrrgh! Fixed and pushed.

---

<div class="post-metadata">

**Author:** ![robertlwalker](https://yyz2.discourse-cdn.com/flex036/user_avatar/community.geodynamics.org/robertlwalker/32/97_2.png) [@robertlwalker](https://community.geodynamics.org/u/robertlwalker)\
**Post date:** [December 11, 2020, 10:09pm UTC](https://community.geodynamics.org/t/pylith-installer-problems/1608/7 "2020-12-11T22:09:11Z")

</div>

I am going to continue the thread so that future users of this tool will be able to reference.

Using the following configure parameters:

export SITE=`pwd`

…/src/pylith/pylith\_installer/configure   
–enable-python=yes   
–with-pylith-git=knepley/feature-petsc-fe   
–with-make-threads=2   
–prefix=$SITE/pylith\_ii

The install process has continued until hitting a snag at h5py.

Log included: [make.log](https://community.geodynamics.org/uploads/short-url/nld2DvBSABhesuBeCG8mTGCnG8Z.log) (9.9 KB)

---

<div class="post-metadata">

**Author:** ![baagaard](https://yyz2.discourse-cdn.com/flex036/user_avatar/community.geodynamics.org/baagaard/32/615_2.png) [@baagaard](https://community.geodynamics.org/u/baagaard)\
**Post date:** [December 11, 2020, 10:14pm UTC](https://community.geodynamics.org/t/pylith-installer-problems/1608/8 "2020-12-11T22:14:46Z")

</div>

What cython is being used?

---

<div class="post-metadata">

**Author:** ![robertlwalker](https://yyz2.discourse-cdn.com/flex036/user_avatar/community.geodynamics.org/robertlwalker/32/97_2.png) [@robertlwalker](https://community.geodynamics.org/u/robertlwalker)\
**Post date:** [December 11, 2020, 10:55pm UTC](https://community.geodynamics.org/t/pylith-installer-problems/1608/9 "2020-12-11T22:55:07Z")

</div>

If the installer isn’t building it, i don’t believe it is there.

---

<div class="post-metadata">

**Author:** ![baagaard](https://yyz2.discourse-cdn.com/flex036/user_avatar/community.geodynamics.org/baagaard/32/615_2.png) [@baagaard](https://community.geodynamics.org/u/baagaard)\
**Post date:** [December 12, 2020, 8:31pm UTC](https://community.geodynamics.org/t/pylith-installer-problems/1608/10 "2020-12-12T20:31:54Z")

</div>

I need you to provide more information and dig deeper. Did the installer build cython? If not, then pull the installer again, wipe the installer build directory clean, and reconfigure. If so, then double check that that installer cython is the one in the path. If it is failing, then I need to know which operating system you are using and what compilers.

---

<div class="post-metadata">

**Author:** ![robertlwalker](https://yyz2.discourse-cdn.com/flex036/user_avatar/community.geodynamics.org/robertlwalker/32/97_2.png) [@robertlwalker](https://community.geodynamics.org/u/robertlwalker)\
**Post date:** [December 14, 2020, 8:36pm UTC](https://community.geodynamics.org/t/pylith-installer-problems/1608/12 "2020-12-14T20:36:31Z")

</div>

Good news,

It would appear as if the installer worked correctly (this would be the first time it ever has for me).

My machine is running Ubuntu 20.04, config and make logs are included.

Robert

[config.log](https://community.geodynamics.org/uploads/short-url/iCmA94JlSbBJKiZOErQZU8qIxoq.log) (41.7 KB)  
[make.zip](https://community.geodynamics.org/uploads/short-url/tjJY2d8DHiwd8QbzQFrZxm52qr6.zip) (529.8 KB) (make.log is a 10+MB text file)
