Geekflare is supported by our audience. We may earn affiliate commissions from buying links on this site.
Share on:

How to Fix virtualenv: command not found on CentOS 6?

centos
Invicti Web Application Security Scanner – the only solution that delivers automatic verification of vulnerabilities with Proof-Based Scanning™.

Lately, I was working on securing one of the website’s through Let’s Encrypt and during I encountered the following error while running “./letsencrypt-auto

Checking for new version...
Creating virtual environment...
./letsencrypt-auto: line 455: virtualenv: command not found

It was on CentOS 6.7 hosted with DigitalOcean and this is how I fixed.

Ensure you have root privilege and execute the following command.

yum install centos-release-SCL
yum update
yum install scl-utils python27 python27-scldevel
scl enable python27 bash

Afterward, I was able to proceed with Let’s Encrypt setup.

Reference: https://community.letsencrypt.org/t/solved-virtualenv-command-not-found/2127/8

Thanks to our Sponsors
More great readings on Linux
Power Your Business
Some of the tools and services to help your business grow.
  • Invicti uses the Proof-Based Scanning™ to automatically verify the identified vulnerabilities and generate actionable results within just hours.
    Try Invicti
  • Web scraping, residential proxy, proxy manager, web unlocker, search engine crawler, and all you need to collect web data.
    Try Brightdata
  • Semrush is an all-in-one digital marketing solution with more than 50 tools in SEO, social media, and content marketing.
    Try Semrush
  • Intruder is an online vulnerability scanner that finds cyber security weaknesses in your infrastructure, to avoid costly data breaches.
    Try Intruder