It is a very headache problem for hosting a website from a local pc to a live server. Sometimes we face a horrible situation when trying to host our website. Today I will talk about how easily we can solve GCC compiler error problems.

What is actually a GCC compiler error is?

GCC compiler which is required to run such commands seems to have been disabled or required restart permission in Namecheap shared hosting plan. You must show this error at any point of your working in the terminal. When you start hosting your Django application in Namecheap. I faced a problem when I tried to install mysqlclient. You may face this error at that point or any other point of installing MySQL. If you overcome this problem you will easily use the terminal. As you want.Ways for solving GCC MYSQL installation problem.

gcc permission problem

 

1) First step

   You can easily solve this problem by contacting me in live chat. When I was facing the same problem I did not understand the issue any cant describe the real problem so it takes a while and was a waste of time for me and chatting person. You will just say ``I need GCC compiler permission enable". They will understand the problem solved for you. Here I attached their reply for reference. You can follow that.

 

Mysql GCC compiler error in namecheap solution

 

2) Second step

Another way is simply add these two lines of code in your project  __init__.py

import pymysql

pymysql.install_as_MySQLdb()

conclusion

We see how easily solve unable to execute '/usr/bin/gcc':Permission denied, problem. We can use one of two-step described in this article. Hopefully, this will help you. See you next one.

hosenmdaltaf

Hosen MD Altaf

Hello! I'm Hosen MD Altaf, a passionate Software Engineer and content writer.Who's experienced in taking fullstack applications from scratch to production.Currently, I am working with python and javaScript based FullStack Web development. Over the last 2 years, I've had the opportunity to develop web applications for a handful of awesome companies / clients as a consultant and continue to do so today. My work includes developing fullstack web apps, creating backend servers,designing font-end application, small Big-data and data science projects,creating websites with python django,react.js and wordpress.I am eager to learn kew technologies and looking for new opportunitys.

Comments (0)

wave
  • There is no comment yet!

Leave Comment

wave