I first installed the frappie but due to some db problems i deleted the frappie framework folder. Now trying to install but the installation give me the below error.
running build_ext
building ‘_mysql’ extension
creating build/temp.linux-x86_64-2.7
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -Dversion_info=(1,2,5,‘final’,1) -D__version__=1.2.5 -I/usr/include/mysql -I/usr/include/python2.7 -c _mysql.c -o bui$
In file included from _mysql.c:44:0:
/usr/include/mysql/my_config.h:439:0: warning: “HAVE_WCSCOLL” redefined [enabled by default]
#define HAVE_WCSCOLL
^
In file included from /usr/include/python2.7/pyconfig.h:3:0,
from /usr/include/python2.7/Python.h:8,
from _mysql.c:29:
/usr/include/x86_64-linux-gnu/python2.7/pyconfig.h:911:0: note: this is the location of the previous definition
In file included from _mysql.c:44:0:
/usr/include/mysql/my_config.h:654:2: error: error <my_config.h> MUST be included first!
error <my_config.h> MUST be included first!
^
error: command ‘x86_64-linux-gnu-gcc’ failed with exit status 1
Cleaning up…
Removing temporary dir /home/sandy/frappe-bench/env/build…
Command /home/sandy/frappe-bench/env/bin/python -c "import setuptools, tokenize;file=‘/home/sandy/frappe-bench/env/build/mysql-python/setup.py’;exec(compile(getattr(tokenize, ‘open’, open)(file).read().replace(‘\r\n’$
Exception information:
Traceback (most recent call last):
File “/home/sandy/frappe-bench/env/local/lib/python2.7/site-packages/pip/basecommand.py”, line 122, in main
status = self.run(options, args)
File “/home/sandy/frappe-bench/env/local/lib/python2.7/site-packages/pip/commands/install.py”, line 283, in run
requirement_set.install(install_options, global_options, root=options.root_path)
File “/home/sandy/frappe-bench/env/local/lib/python2.7/site-packages/pip/req.py”, line 1435, in install
requirement.install(install_options, global_options, *args, **kwargs)
File “/home/sandy/frappe-bench/env/local/lib/python2.7/site-packages/pip/req.py”, line 706, in install
cwd=self.source_dir, filter_stdout=self._filter_install, show_stdout=False)
File “/home/sandy/frappe-bench/env/local/lib/python2.7/site-packages/pip/util.py”, line 697, in call_subprocess
% (command_desc, proc.returncode, cwd))
InstallationError: Command /home/sandy/frappe-bench/env/bin/python -c "import setuptools, tokenize;file=‘/home/sandy/frappe-bench/env/build/mysql-python/setup.py’;exec(compile(getattr(tokenize, ‘open’, open)(file).re$
Even tried the bench path mariadb-config
. Nothing worked.
Awaiting your reply.