Simon Casley
2018-11-16 01:36:09 UTC
Hi - When running setup.py for pgAdmin4 v3.5, I get the following error:
(pgadmin435) ***@cclgis01-dev:/opt/webapps/pgAdmin4/pgadmin435/lib/python3.5/site-packages/pgadmin4# python setup.py
Traceback (most recent call last):
File "setup.py", line 15, in <module>
from pgadmin.model import db, Version, SCHEMA_VERSION as CURRENT_SCHEMA_VERSION
File "/opt/webapps/pgAdmin4/pgadmin435/lib/python3.5/site-packages/pgadmin4/pgadmin/__init__.py", line 33, in <module>
from pgadmin.utils.session import create_session_interface, pga_unauthorised
File "/opt/webapps/pgAdmin4/pgadmin435/lib/python3.5/site-packages/pgadmin4/pgadmin/utils/session.py", line 26, in <module>
import config
File "/opt/webapps/pgAdmin4/pgadmin435/lib/python3.5/site-packages/pgadmin4/config.py", line 121, in <module>
if builtins.SERVER_MODE is None:
AttributeError: module 'builtins' has no attribute 'SERVER_MODE'
Any idea what the issue is?
Thanks
Simon
(pgadmin435) ***@cclgis01-dev:/opt/webapps/pgAdmin4/pgadmin435/lib/python3.5/site-packages/pgadmin4# python setup.py
Traceback (most recent call last):
File "setup.py", line 15, in <module>
from pgadmin.model import db, Version, SCHEMA_VERSION as CURRENT_SCHEMA_VERSION
File "/opt/webapps/pgAdmin4/pgadmin435/lib/python3.5/site-packages/pgadmin4/pgadmin/__init__.py", line 33, in <module>
from pgadmin.utils.session import create_session_interface, pga_unauthorised
File "/opt/webapps/pgAdmin4/pgadmin435/lib/python3.5/site-packages/pgadmin4/pgadmin/utils/session.py", line 26, in <module>
import config
File "/opt/webapps/pgAdmin4/pgadmin435/lib/python3.5/site-packages/pgadmin4/config.py", line 121, in <module>
if builtins.SERVER_MODE is None:
AttributeError: module 'builtins' has no attribute 'SERVER_MODE'
Any idea what the issue is?
Thanks
Simon