【发布时间】:2021-01-06 23:10:48
【问题描述】:
我一直在尝试使用 Cpanel 在共享主机中部署 Django 应用程序。 但是每次我尝试安装 google-cloud-automl 依赖项时,我都会在服务器上收到此消息
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-vnlg73ta/grpcio/setup.py", line 212, in <module>
if check_linker_need_libatomic():
File "/tmp/pip-build-vnlg73ta/grpcio/setup.py", line 172, in check_linker_need_libatomic
stderr=PIPE)
File "/opt/alt/python37/lib64/python3.7/subprocess.py", line 800, in __init__
restore_signals, start_new_session)
File "/opt/alt/python37/lib64/python3.7/subprocess.py", line 1551, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
PermissionError: [Errno 13] Permission denied: 'cc'
知道如何安装此依赖项吗?
【问题讨论】:
标签: python-3.x django cpanel shared-hosting google-cloud-automl