extension "pip" install is prohibited
[COLOR=rgb(226, 80, 65)]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...
[QUOTE]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"... [COLOR=rgb(226, 80, 65)]2nd problem: 500 Internal Server Error An internal server error has occured. application error log is [QUOTE][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... [QUOTE]/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"
facing one more error is about "pip"... [COLOR=rgb(226, 80, 65)]2nd problem: 500 Internal Server Error An internal server error has occured. application error log is [QUOTE][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... [QUOTE]/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"
-
Hey there! Can you confirm this is inside of CloudLinux using the Python Selector too? 0 -
Hey there! Can you confirm this is inside of CloudLinux using the Python Selector too?
thank you for your response! already fixed it0 -
I'm glad to hear that! Can you share what the fix was? 0 -
i have reinstalled cloudlinux,litespeed and paython!! and run a command from terminal! (already i have gave a like on my post) .. that"s it! 0 -
I've been scouring the web for a solution to a very similar problem. CentOS8>Almalinux 8, CloudlInux 8, LiteSpeed I don't really know python commands well enough to solve the problem, but every place I look seems like a dead end. I feel as though the EoL of CentOS8 really screwed up a bunch of dependencies # cagefsctl Traceback (most recent call last): File "/usr/sbin/cagefsctl", line 22, in import cagefsctl File "/usr/share/cagefs/cagefsctl.py", line 15, in from clcommon.lib.cledition import is_ubuntu File "/opt/alt/python37/lib/python3.7/site-packages/clcommon/lib/cledition.py", line 17, in from jwt import exceptions File "/opt/alt/python37/lib/python3.7/site-packages/jwt/__init__.py", line 19, in from .api_jwt import ( File "/opt/alt/python37/lib/python3.7/site-packages/jwt/api_jwt.py", line 11, in from .api_jws import PyJWS File "/opt/alt/python37/lib/python3.7/site-packages/jwt/api_jws.py", line 10, in from .algorithms import ( File "/opt/alt/python37/lib/python3.7/site-packages/jwt/algorithms.py", line 16, in from cryptography.hazmat.primitives.serialization import ( File "/opt/alt/python37/lib64/python3.7/site-packages/cryptography/hazmat/primitives/serialization/__init__.py", line 6, in from cryptography.hazmat.primitives._serialization import ( File "/opt/alt/python37/lib64/python3.7/site-packages/cryptography/hazmat/primitives/_serialization.py", line 13, in class Encoding(utils.Enum): AttributeError: module 'cryptography.utils' has no attribute 'Enum'0
Please sign in to leave a comment.
Comments
5 comments