czxin788 commented on issue #119:
URL: 
https://github.com/apache/dolphinscheduler-sdk-python/issues/119#issuecomment-1888732685

   > pip3 install 
git+https://github.com/apache/dolphinscheduler-sdk-python.git#egg=apache-dolphinscheduler
   
   not  good, try python 3.8?
   ···
   [root@vmware-k8s-master ~]# pip3.7  install 
git+https://github.com/apache/dolphinscheduler-sdk-python.git#egg=apache-dolphinscheduler
   Looking in indexes: https://mirrors.aliyun.com/pypi/simple/
   Collecting apache-dolphinscheduler
     Cloning https://github.com/apache/dolphinscheduler-sdk-python.git to 
/tmp/pip-install-jdha1_k1/apache-dolphinscheduler_5fcc61d47604417fa23e7d90fdb751d3
     Running command git clone --quiet 
https://github.com/apache/dolphinscheduler-sdk-python.git 
/tmp/pip-install-jdha1_k1/apache-dolphinscheduler_5fcc61d47604417fa23e7d90fdb751d3
     Resolved https://github.com/apache/dolphinscheduler-sdk-python.git to 
commit e04b836e54fb7bfd96527007cfeaa0fef4444b07
     Installing build dependencies ... done
     Getting requirements to build wheel ... done
     Preparing metadata (pyproject.toml) ... error
     error: subprocess-exited-with-error
     
     × Preparing metadata (pyproject.toml) did not run successfully.
     │ exit code: 1
     ╰─> [63 lines of output]
         running dist_info
         creating 
/tmp/pip-modern-metadata-0euot2z6/apache_dolphinscheduler.egg-info
         writing 
/tmp/pip-modern-metadata-0euot2z6/apache_dolphinscheduler.egg-info/PKG-INFO
         writing dependency_links to 
/tmp/pip-modern-metadata-0euot2z6/apache_dolphinscheduler.egg-info/dependency_links.txt
         writing entry points to 
/tmp/pip-modern-metadata-0euot2z6/apache_dolphinscheduler.egg-info/entry_points.txt
         writing requirements to 
/tmp/pip-modern-metadata-0euot2z6/apache_dolphinscheduler.egg-info/requires.txt
         writing top-level names to 
/tmp/pip-modern-metadata-0euot2z6/apache_dolphinscheduler.egg-info/top_level.txt
         writing manifest file 
'/tmp/pip-modern-metadata-0euot2z6/apache_dolphinscheduler.egg-info/SOURCES.txt'
         reading manifest file 
'/tmp/pip-modern-metadata-0euot2z6/apache_dolphinscheduler.egg-info/SOURCES.txt'
         reading manifest template 'MANIFEST.in'
         writing manifest file 
'/tmp/pip-modern-metadata-0euot2z6/apache_dolphinscheduler.egg-info/SOURCES.txt'
         creating 
'/tmp/pip-modern-metadata-0euot2z6/apache_dolphinscheduler-4.1.0.dev0.dist-info'
         Traceback (most recent call last):
           File 
"/usr/local/python3.7.17/lib/python3.7/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py",
 line 353, in <module>
             main()
           File 
"/usr/local/python3.7.17/lib/python3.7/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py",
 line 335, in main
             json_out['return_val'] = hook(**hook_input['kwargs'])
           File 
"/usr/local/python3.7.17/lib/python3.7/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py",
 line 149, in prepare_metadata_for_build_wheel
             return hook(metadata_directory, config_settings)
           File 
"/tmp/pip-build-env-yxmf_xk2/overlay/lib/python3.7/site-packages/setuptools/build_meta.py",
 line 380, in prepare_metadata_for_build_wheel
             self.run_setup()
           File 
"/tmp/pip-build-env-yxmf_xk2/overlay/lib/python3.7/site-packages/setuptools/build_meta.py",
 line 488, in run_setup
             self).run_setup(setup_script=setup_script)
           File 
"/tmp/pip-build-env-yxmf_xk2/overlay/lib/python3.7/site-packages/setuptools/build_meta.py",
 line 338, in run_setup
             exec(code, locals())
           File "<string>", line 94, in <module>
           File 
"/tmp/pip-build-env-yxmf_xk2/overlay/lib/python3.7/site-packages/setuptools/__init__.py",
 line 107, in setup
             return distutils.core.setup(**attrs)
           File 
"/tmp/pip-build-env-yxmf_xk2/overlay/lib/python3.7/site-packages/setuptools/_distutils/core.py",
 line 185, in setup
             return run_commands(dist)
           File 
"/tmp/pip-build-env-yxmf_xk2/overlay/lib/python3.7/site-packages/setuptools/_distutils/core.py",
 line 201, in run_commands
             dist.run_commands()
           File 
"/tmp/pip-build-env-yxmf_xk2/overlay/lib/python3.7/site-packages/setuptools/_distutils/dist.py",
 line 969, in run_commands
             self.run_command(cmd)
           File 
"/tmp/pip-build-env-yxmf_xk2/overlay/lib/python3.7/site-packages/setuptools/dist.py",
 line 1234, in run_command
             super().run_command(command)
           File 
"/tmp/pip-build-env-yxmf_xk2/overlay/lib/python3.7/site-packages/setuptools/_distutils/dist.py",
 line 988, in run_command
             cmd_obj.run()
           File 
"/tmp/pip-build-env-yxmf_xk2/overlay/lib/python3.7/site-packages/setuptools/command/dist_info.py",
 line 104, in run
             bdist_wheel = self.get_finalized_command('bdist_wheel')
           File 
"/tmp/pip-build-env-yxmf_xk2/overlay/lib/python3.7/site-packages/setuptools/_distutils/cmd.py",
 line 304, in get_finalized_command
             cmd_obj = self.distribution.get_command_obj(command, create)
           File 
"/tmp/pip-build-env-yxmf_xk2/overlay/lib/python3.7/site-packages/setuptools/_distutils/dist.py",
 line 860, in get_command_obj
             klass = self.get_command_class(command)
           File 
"/tmp/pip-build-env-yxmf_xk2/overlay/lib/python3.7/site-packages/setuptools/dist.py",
 line 979, in get_command_class
             self.cmdclass[command] = cmdclass = ep.load()
           File 
"/tmp/pip-build-env-yxmf_xk2/overlay/lib/python3.7/site-packages/setuptools/_vendor/importlib_metadata/__init__.py",
 line 208, in load
             module = import_module(match.group('module'))
           File "/usr/local/python3.7.17/lib/python3.7/importlib/__init__.py", 
line 127, in import_module
             return _bootstrap._gcd_import(name[level:], package, level)
           File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
           File "<frozen importlib._bootstrap>", line 983, in _find_and_load
           File "<frozen importlib._bootstrap>", line 967, in 
_find_and_load_unlocked
           File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
           File "<frozen importlib._bootstrap_external>", line 728, in 
exec_module
           File "<frozen importlib._bootstrap>", line 219, in 
_call_with_frames_removed
           File 
"/tmp/pip-build-env-yxmf_xk2/overlay/lib/python3.7/site-packages/wheel/bdist_wheel.py",
 line 27, in <module>
             from .macosx_libfile import calculate_macosx_platform_tag
           File 
"/tmp/pip-build-env-yxmf_xk2/overlay/lib/python3.7/site-packages/wheel/macosx_libfile.py",
 line 43, in <module>
             import ctypes
           File "/usr/local/python3.7.17/lib/python3.7/ctypes/__init__.py", 
line 7, in <module>
             from _ctypes import Union, Structure, Array
         ModuleNotFoundError: No module named '_ctypes'
         [end of output]
     
     note: This error originates from a subprocess, and is likely not a problem 
with pip.
   error: metadata-generation-failed
   
   × Encountered error while generating package metadata.
   ╰─> See above for output.
   
   note: This is an issue with the package mentioned above, not pip.
   hint: See above for details.
   ···


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to