# \[SOLVED\]Error installing the client CentOS 6.7

**URL:** <https://community.letsencrypt.org/t/solved-error-installing-the-client-centos-6-7/2078>\
**Category:** Server\
**Created:** [October 24, 2015, 8:47am UTC](https://community.letsencrypt.org/t/solved-error-installing-the-client-centos-6-7/2078 "2015-10-24T08:47:49Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Spambuster](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/spambuster/32/682_2.png) [@Spambuster](https://community.letsencrypt.org/u/Spambuster)\
**Post date:** [October 24, 2015, 8:47am UTC](https://community.letsencrypt.org/t/solved-error-installing-the-client-centos-6-7/2078/1 "2015-10-24T08:47:49Z")

</div>

Hello,

Getting this when installing the client on CentOS 6.7 whit CloudLinux 6.7 + Cpanel 11.52.0 (build 18)

root@asgard [~]# cd letsencrypt  
root@asgard [~/letsencrypt]# ./letsencrypt-auto --agree-dev-preview --server \

> ```
> https://acme-v01.api.letsencrypt.org/directory auth
> 
> ```

Updating letsencrypt and virtual environment dependencies.../root/.local/share/l etsencrypt/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/uti l/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available . This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see [https://urllib3.readthedocs](https://urllib3.readthedocs). org/en/latest/security.html#insecureplatformwarning.  
InsecurePlatformWarning  
./root/.local/share/letsencrypt/lib/python2.6/site-packages/pip/_vendor/requests /packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext ob ject is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https:/ /urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.  
InsecurePlatformWarning  
./root/.local/share/letsencrypt/lib/python2.6/site-packages/pip/_vendor/requests /packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext ob ject is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https:/ /urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.  
InsecurePlatformWarning  
Command "python setup.py egg\_info" failed with error code 1 in /tmp/pip-build-\_kLIqJ/ConfigArgParse  
root@asgard [~/letsencrypt]#

---

<div class="post-metadata">

**Author:** ![eva2000](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/eva2000/32/289_2.png) [@eva2000](https://community.letsencrypt.org/u/eva2000)\
**Post date:** [October 24, 2015, 9:45am UTC](https://community.letsencrypt.org/t/solved-error-installing-the-client-centos-6-7/2078/2 "2015-10-24T09:45:56Z")

</div>

CentOS 6.x runs python 2.6.6 but letsencrypt client requires python 2.7 [https://github.com/letsencrypt/letsencrypt/issues/1106](https://github.com/letsencrypt/letsencrypt/issues/1106)

for centos 6, you can install python 2.7 besides python 2.6 via IUS Community yum repo [https://ius.io/GettingStarted/](https://ius.io/GettingStarted/) and then install python 2.7

```
yum -y install python27 python27-devel python27-pip python27-setuptools python27-tools python27-virtualenv --enablerepo=ius

```

then do what i do and replace python2 with python 2.7 in letsencrypt-auto script

```
git clone https://github.com/letsencrypt/letsencrypt
cd letsencrypt
sed -i "s|--python python2|--python python2.7|" letsencrypt-auto
./letsencrypt-auto --verbose
```

---

<div class="post-metadata">

**Author:** ![Spambuster](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/spambuster/32/682_2.png) [@Spambuster](https://community.letsencrypt.org/u/Spambuster)\
**Post date:** [October 24, 2015, 11:52am UTC](https://community.letsencrypt.org/t/solved-error-installing-the-client-centos-6-7/2078/3 "2015-10-24T11:52:36Z")

</div>

Hello @eva2000

Got the IUS Community yum repo installed, how do i install python 2.7? 😄

---

<div class="post-metadata">

**Author:** ![kelunik](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/kelunik/32/359_2.png) [@kelunik](https://community.letsencrypt.org/u/kelunik)\
**Post date:** [October 24, 2015, 12:01pm UTC](https://community.letsencrypt.org/t/solved-error-installing-the-client-centos-6-7/2078/4 "2015-10-24T12:01:02Z")

</div>

Phython 2.6 is on the way of being supported again, see [The executable python2 (from --python=python2) does not exist](https://community.letsencrypt.org/t/the-executable-python2-from-python-python2-does-not-exist/2060/4?u=kelunik)

It’s a known issue: [https://github.com/letsencrypt/letsencrypt/issues/1046](https://github.com/letsencrypt/letsencrypt/issues/1046)

---

<div class="post-metadata">

**Author:** ![eva2000](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/eva2000/32/289_2.png) [@eva2000](https://community.letsencrypt.org/u/eva2000)\
**Post date:** [October 24, 2015, 12:26pm UTC](https://community.letsencrypt.org/t/solved-error-installing-the-client-centos-6-7/2078/5 "2015-10-24T12:26:51Z")

</div>

> [@Spambuster](#):
>
> Got the IUS Community yum repo installed, how do i install python 2.7?

```
yum -y install python27 python27-devel python27-pip python27-setuptools python27-tools python27-virtualenv --enablerepo=ius

```

---

<div class="post-metadata">

**Author:** ![Spambuster](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/spambuster/32/682_2.png) [@Spambuster](https://community.letsencrypt.org/u/Spambuster)\
**Post date:** [October 24, 2015, 3:28pm UTC](https://community.letsencrypt.org/t/solved-error-installing-the-client-centos-6-7/2078/6 "2015-10-24T15:28:07Z")

</div>

I get this now:

Transaction Check Error:  
file /usr/bin/2to3 from install of python27-tools-2.7.10-1.ius.el6.x86\_64 conflicts with file from package python-tools-2.6.6-64.el6.x86\_64

---

<div class="post-metadata">

**Author:** ![eva2000](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/eva2000/32/289_2.png) [@eva2000](https://community.letsencrypt.org/u/eva2000)\
**Post date:** [October 24, 2015, 4:14pm UTC](https://community.letsencrypt.org/t/solved-error-installing-the-client-centos-6-7/2078/7 "2015-10-24T16:14:09Z")

</div>

remove python-tools then install

```
yum -y remove python-tools
```

---

<div class="post-metadata">

**Author:** ![Spambuster](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/spambuster/32/682_2.png) [@Spambuster](https://community.letsencrypt.org/u/Spambuster)\
**Post date:** [October 24, 2015, 4:59pm UTC](https://community.letsencrypt.org/t/solved-error-installing-the-client-centos-6-7/2078/8 "2015-10-24T16:59:13Z")

</div>

Client is now 100% installed 😃

Thanks so much for your help @eva2000

---

<div class="post-metadata">

**Author:** ![durian808](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/durian808/32/1234_2.png) [@durian808](https://community.letsencrypt.org/u/durian808)\
**Post date:** [October 26, 2015, 10:26pm UTC](https://community.letsencrypt.org/t/solved-error-installing-the-client-centos-6-7/2078/9 "2015-10-26T22:26:42Z")

</div>

Hello,

I tried out the installation via ./letsencrypt-auto, with the intention of only using the client to  
acquire a cert, then using Plesk to install the cert. CentOS 6.6, Plesk 11.5.30.

I am having the same problem w/ python version.

> Python 2.6 is on the way of being supported again

I am monitoring the issue for updates. [letsencrypt-auto doesn't work with Python 2.6 · Issue #1046 · certbot/certbot · GitHub](https://github.com/letsencrypt/letsencrypt/issues/1046)

much thanks

---

<div class="post-metadata">

**Author:** ![CrazyChinese](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/crazychinese/32/12509_2.png) [@CrazyChinese](https://community.letsencrypt.org/u/CrazyChinese)\
**Post date:** [April 5, 2017, 1:43am UTC](https://community.letsencrypt.org/t/solved-error-installing-the-client-centos-6-7/2078/10 "2017-04-05T01:43:22Z")

</div>

Transaction Check Error:  
file /usr/bin/2to3 from install of python-tools-2.6.6-66.el6\_8.x86\_64 conflicts with file from package python27-tools-2.7.13-1.ius.centos6.x86\_64

[root@NL03 letsencrypt]# yum -y remove python-tools  
Loaded plugins: fastestmirror  
Setting up Remove Process  
No Match for argument: python-tools  
Loading mirror speeds from cached hostfile

- base: [centos.mirror.triple-it.nl](http://centos.mirror.triple-it.nl)
- epel: [fedora.kiewel-online.ch](http://fedora.kiewel-online.ch)
- extras: [centos.mirror.triple-it.nl](http://centos.mirror.triple-it.nl)
- ius: [mirror.amsiohosting.net](http://mirror.amsiohosting.net)
- updates: [mirrors.supportex.net](http://mirrors.supportex.net)  
Package(s) python-tools available, but not installed.  
No Packages marked for removal
