Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR install in issabel centos 7 #253

Open
spfdias opened this issue Jan 29, 2021 · 4 comments
Open

ERROR install in issabel centos 7 #253

spfdias opened this issue Jan 29, 2021 · 4 comments

Comments

@spfdias
Copy link

spfdias commented Jan 29, 2021

[root@qpanel qpanel]# python2.7 app.py
Traceback (most recent call last):
File "app.py", line 1, in
from qpanel import app
File "/qpanel/qpanel/app.py", line 8, in
from flask_themes import setup_themes, render_theme_template
ImportError: No module named flask_themes

@spfdias
Copy link
Author

spfdias commented Jan 29, 2021

[root@qpanel /]# python3.4 /qpanel/app.py
Traceback (most recent call last):
File "/qpanel/app.py", line 1, in
from qpanel import app
File "/qpanel/qpanel/app.py", line 8, in
from flask_themes import setup_themes, render_theme_template
ImportError: No module named 'flask_themes'

@spfdias
Copy link
Author

spfdias commented Jan 29, 2021

gcc -pthread -Wno-unused-result -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python3.4m -c esl_oop.cpp -o build/temp.linux-x86_64-3.4/esl_oop.o -I.
gcc: error trying to exec 'cc1plus': execvp: Arquivo ou diretório não encontrado
error: command 'gcc' failed with exit status 1

----------------------------------------

Command "/usr/bin/python3.4 -u -c "import setuptools, tokenize;file='/tmp/pip-build-xyt0lya8/python-ESL/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-yqqkr9g_-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-xyt0lya8/python-ESL/

@brunoh-ms
Copy link

Hello,

I don't have much knowledge in python, but I had the same problem as you when trying to install on issabel 4 Centos 7, were you able to solve it? can you help me?

@roramirez
Copy link
Owner

Hi!, you'll need use a Python 3 to run QPanel now. The old version of Python (2.7) doesn't work anymore.

The issue mention #253 (comment) almost need install dependencies in your system (gcc and build essential).

In a Centos system the follow yum install could be fine

yum install gcc openssl-devel bzip2-devel libffi-devel -y

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants