Error: Could not find a version that satisfies the requirement mysqlclient (from pattern)

Viewed 4418

When I try to install the pattern package using "pip install pattern", it tried to install "mysqlclient" but could not match any version for pattern and generate the following errors. ERROR: Could not find a version that satisfies the requirement mysqlclient (from pattern) ERROR: No matching distribution found for mysqlclient Would anyone please help me to solve this problem?

1 Answers

I met the same issue and used the following way and it works!

Before pip install mysqlclient run this :

 export PATH=$PATH:/usr/local/mysql/bin
Related