atifiu commented on PR #7997:
URL: https://github.com/apache/iceberg/pull/7997#issuecomment-1674228093

   @LuigiCerone I am trying to use Pyiceberg with hdfs and @Fokko has suggested 
me that you have got this working. I was trying to install using below command
   `pip install 
"git+https://github.com/LuigiCerone/iceberg.git@feat/hdfs_support#subdirectory=python&egg=pyiceberg[pyarrow]"`
   
   But it is throwing error. My Python version is 3.6 is it not supported ? or 
could you please suggest me how to fix this.
   
   ```
   Installing build dependencies ... done
     Getting requirements to build wheel ... done
     Preparing metadata (pyproject.toml) ... error
     ERROR: Command errored out with exit status 1:
      command: /bin/python3.6 
/home/matif/.local/lib/python3.6/site-packages/pip/_vendor/pep517/in_process/_in_process.py
 prepare_metadata_for_build_wheel /tmp/tmprow0kpai
          cwd: 
/tmp/pip-install-4ss5kzl4/pyiceberg_8eb97131d88a454394d3c3ef3b770300/python
     Complete output (26 lines):
     Traceback (most recent call last):
       File 
"/home/matif/.local/lib/python3.6/site-packages/pip/_vendor/pep517/in_process/_in_process.py",
 line 363, in <module>
         main()
       File 
"/home/matif/.local/lib/python3.6/site-packages/pip/_vendor/pep517/in_process/_in_process.py",
 line 345, in main
         json_out['return_val'] = hook(**hook_input['kwargs'])
       File 
"/home/matif/.local/lib/python3.6/site-packages/pip/_vendor/pep517/in_process/_in_process.py",
 line 164, in prepare_metadata_for_build_wheel
         return hook(metadata_directory, config_settings)
       File 
"/tmp/pip-build-env-oudfpfs2/overlay/lib/python3.6/site-packages/poetry/core/masonry/api.py",
 line 43, in prepare_metadata_for_build_wheel
         poetry = Factory().create_poetry(Path(".").resolve(), with_dev=False)
       File 
"/tmp/pip-build-env-oudfpfs2/overlay/lib/python3.6/site-packages/poetry/core/factory.py",
 line 34, in create_poetry
         local_config = PyProjectTOML(path=poetry_file).poetry_config
       File 
"/tmp/pip-build-env-oudfpfs2/overlay/lib/python3.6/site-packages/poetry/core/pyproject/toml.py",
 line 54, in poetry_config
         self._poetry_config = self.data.get("tool", {}).get("poetry")
       File 
"/tmp/pip-build-env-oudfpfs2/overlay/lib/python3.6/site-packages/poetry/core/_vendor/tomlkit/container.py",
 line 541, in get
         return self[key]
       File 
"/tmp/pip-build-env-oudfpfs2/overlay/lib/python3.6/site-packages/poetry/core/_vendor/tomlkit/container.py",
 line 582, in __getitem__
         return OutOfOrderTableProxy(self, idx)
       File 
"/tmp/pip-build-env-oudfpfs2/overlay/lib/python3.6/site-packages/poetry/core/_vendor/tomlkit/container.py",
 line 711, in __init__
         self._internal_container.append(k, v)
       File 
"/tmp/pip-build-env-oudfpfs2/overlay/lib/python3.6/site-packages/poetry/core/_vendor/tomlkit/container.py",
 line 170, in append
         current.append(k, v)
       File 
"/tmp/pip-build-env-oudfpfs2/overlay/lib/python3.6/site-packages/poetry/core/_vendor/tomlkit/items.py",
 line 921, in append
         self._value.append(key, _item)
       File 
"/tmp/pip-build-env-oudfpfs2/overlay/lib/python3.6/site-packages/poetry/core/_vendor/tomlkit/container.py",
 line 176, in append
         raise KeyAlreadyPresent(key)
     tomlkit.exceptions.KeyAlreadyPresent: Key "extras" already exists.
     ----------------------------------------
   WARNING: Discarding 
git+https://github.com/LuigiCerone/iceberg.git@feat/hdfs_support#subdirectory=python&egg=pyiceberg[pyarrow].
 Command errored out with exit status 1: /bin/python3.6 
/home/matif/.local/lib/python3.6/site-packages/pip/_vendor/pep517/in_process/_in_process.py
 prepare_metadata_for_build_wheel /tmp/tmprow0kpai Check the logs for full 
command output.
   ERROR: Could not find a version that satisfies the requirement pyiceberg 
(unavailable) (from versions: 0.0.1, 0.0.2)
   ERROR: No matching distribution found for pyiceberg (unavailable)
   ```


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to