SOLVED extension "pip" install is prohibited

charliecres

Active Member
Mar 5, 2020
27
2
3
Dhaka
cPanel Access Level
Root Administrator
1st problem:

when I try to change the python application version it's giving me an error. (Application running on py 3.9)

here is the error log...

ValueError: Extension 'setuptools' install is prohibited. System extension Traceback (most recent call last): File "/opt/alt/python37/lib/python3.7/site-packages/clselector/cl_selector.py", line 221, in run self.run_set() File "/opt/alt/python37/lib/python3.7/site-packages/clselector/cl_selector.py", line 321, in run_set self._opts['--passenger-log-file']) File "/opt/alt/python37/lib/python3.7/site-packages/clselector/cl_selector.py", line 377, in run_change r = self._selector_lib.change_version(user, app_root, new_version, skip_web_check) File "/opt/alt/python37/lib/python3.7/site-packages/clselector/selectorlib.py", line 1417, in change_version self._change_version(user, app_root, new_version, skip_web_check=skip_web_check) File "/opt/alt/python37/lib/python3.7/site-packages/clselector/selectorlib.py", line 1353, in _change_version self._relocate_python_extensions(new_environment, installed_extensions) File "/opt/alt/python37/lib/python3.7/site-packages/clselector/selectorlib.py", line 1316, in _relocate_python_extensions new_env.extension_install(extension) File "/opt/alt/python37/lib/python3.7/site-packages/clselect/clselectpythonuser/environments.py", line 263, in extension_install raise ValueError("Extension '%s' install is prohibited. System extension" % extension_name)ValueError: Extension 'setuptools' install is prohibited. System extension
facing one more error is about "pip"...



2nd problem:

500
Internal Server Error

An internal server error has occured.


application error log is

[UID:1040][2391500] Child process with pid: 2391512 was killed by signal: 15, core dump: 0
OSError: LSAPI: Socket read/write error
OSError: LSAPI: Socket read/write error
OSError: LSAPI: Socket read/write error
OSError: LSAPI: Socket read/write error
OSError: LSAPI: Socket read/write error
OSError: LSAPI: Socket read/write error
OSError: LSAPI: Socket read/write error
OSError: LSAPI: Socket read/write error
Internal Server Error: /blog/

and...


/usr/local/lsws/fcgi-bin/lswsgi_wrapper: line 18: /opt/alt/python39/bin/lswsgi: No such file or directory
/usr/local/lsws/fcgi-bin/lswsgi_wrapper: line 18: /opt/alt/python39/bin/lswsgi: No such file or directory
/usr/local/lsws/fcgi-bin/lswsgi_wrapper: line 18: /opt/alt/python39/bin/lswsgi:


i am using updated litespeed server,,
and already followed this for previous error "503 internal server error" https://support.cpanel.net/hc/en-us...ons-return-503-using-LiteSpeed-and-CloudLinux


so, how can i fix those issue?
 
Last edited by a moderator: