代码拉取完成,页面将自动刷新
部署开发环境时,安装psycopg2-binary库,提示以下错误
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [35 lines of output]
C:\Users\Administartor\AppData\Local\Temp\pip-build-env-qhm73h2p\overlay\Lib\site-packages\setuptools\config\setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg`
!!
********************************************************************************
The license_file parameter is deprecated, use license_files instead.
By 2023-Oct-30, you need to update your project and remove deprecated calls
or your builds will no longer be supported.
See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
********************************************************************************
!!
parsed = self.parsers.get(option_name, lambda x: x)(value)
running egg_info
writing psycopg2_binary.egg-info\PKG-INFO
writing dependency_links to psycopg2_binary.egg-info\dependency_links.txt
writing top-level names to psycopg2_binary.egg-info\top_level.txt
Error: pg_config executable not found.
pg_config is required to build psycopg2 from source. Please add the directory
containing pg_config to the $PATH or specify the full executable path with the
option:
python setup.py build_ext --pg-config /path/to/pg_config build ...
or with the pg_config option in 'setup.cfg'.
If you prefer to avoid building psycopg2 from source, please install the PyPI
'psycopg2-binary' package instead.
For further information please check the 'doc/src/install.rst' file (also at
<https://www.psycopg.org/docs/install.html>).
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
PS E:\repo> pip install -r file:E:/repo/jumpserver/requirements/requirements.txt
Looking in indexes: https://mirrors.aliyun.com/pypi/simple/
Collecting ansible-core (from -r file:E:/repo/jumpserver/requirements/requirements.txt (line 3))
Cloning https://github.com/jumpserver/ansible (to revision master) to c:\users\administartor\appdata\local\temp\pip-install-4nevk9bv\ansible-core_63109090a3184c97825c547f936c9602
Running command git clone --filter=blob:none --quiet https://github.com/jumpserver/ansible 'C:\Users\Administartor\AppData\Local\Temp\pip-install-4nevk9bv\ansible-core_63109090a3184c97825c547f936c9602'
error: unable to create file docs/docsite/rst/scenario_guides/vmware_rest_scenarios/task_outputs/Build_a_list_of_all_the_folders_with_the_type_VIRTUAL_MACHINE_and_called_vm.result.json: Filename too long
error: unable to create file docs/docsite/rst/scenario_guides/vmware_rest_scenarios/task_outputs/Build_a_list_of_all_the_folders_with_the_type_VIRTUAL_MACHINE_and_called_vm.task.yaml: Filename too long
warning: unable to access 'test/integration/targets/collections/collection_root_user/ansible_collections/testns/othercoll/plugins/module_utils/formerly_testcoll_pkg/.gitattributes': Filename too long
warning: unable to access 'test/integration/targets/collections/collection_root_user/ansible_collections/testns/testcoll/playbooks/roles/non_coll_role_to_call/tasks/.gitattributes': Filename too long
warning: unable to access 'test/integration/targets/collections/collection_root_user/ansible_collections/testns/testcoll/plugins/module_utils/nested_same/nested_same/.gitattributes': Filename too long
error: unable to create file test/integration/targets/collections/collection_root_user/ansible_collections/testns/testcoll/plugins/module_utils/nested_same/nested_same/nested_same.py: Filename too long
error: unable to create file test/integration/targets/collections/collection_root_user/ansible_collections/testns/testcoll/plugins/module_utils/subpkg_with_init/mod_in_subpkg_with_init.py: Filename too long
fatal: cannot create directory at 'test/integration/targets/collections/collection_root_user/ansible_collections/testns/testcoll/roles/calls_intra_collection_dep_role_unqualified': Filename too long
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'
error: subprocess-exited-with-error
× git clone --filter=blob:none --quiet https://github.com/jumpserver/ansible 'C:\Users\Administartor\AppData\Local\Temp\pip-install-4nevk9bv\ansible-core_63109090a3184c97825c547f936c9602' did not run successfully.
│ exit code: 128
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× git clone --filter=blob:none --quiet https://github.com/jumpserver/ansible 'C:\Users\Administartor\AppData\Local\Temp\pip-install-4nevk9bv\ansible-core_63109090a3184c97825c547f936c9602' did not run successfully.
│ exit code: 128
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.