Guest User

Untitled

a guest
Oct 21st, 2025
9
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.69 KB | None | 0 0
  1. ➜ ~ pip install solana --verbose
  2.  
  3. Using pip 25.2 from /home/maschine/lib/python3.12/site-packages/pip (python 3.12)
  4. Collecting solana
  5. Obtaining dependency information for solana from https://files.pythonhosted.org/packages/ac/11/d5e5d02200ca85b615da39078806b377156b67b2093c8bc08a1b9c293070/solana-0.36.9-py3-none-any.whl.metadata
  6. Downloading solana-0.36.9-py3-none-any.whl.metadata (5.3 kB)
  7. Collecting construct-typing<0.7.0,>=0.6.2 (from solana)
  8. Obtaining dependency information for construct-typing<0.7.0,>=0.6.2 from https://files.pythonhosted.org/packages/b2/0b/ab3ce2b27dd74b6a6703065bd304ea8211ff4de3b1c304446ed95234177b/construct_typing-0.6.2-py3-none-any.whl.metadata
  9. Downloading construct_typing-0.6.2-py3-none-any.whl.metadata (7.1 kB)
  10. Requirement already satisfied: httpx>=0.28.0 in ./lib/python3.12/site-packages (from solana) (0.28.1)
  11. Requirement already satisfied: solders<0.27,>=0.23 in ./lib/python3.12/site-packages (from solana) (0.26.0)
  12. Requirement already satisfied: typing-extensions>=4.2.0 in ./lib/python3.12/site-packages (from solana) (4.15.0)
  13. Collecting websockets<=15.0.1,>=9.0 (from solana)
  14. Obtaining dependency information for websockets<=15.0.1,>=9.0 from https://files.pythonhosted.org/packages/14/8f/aa61f528fba38578ec553c145857a181384c72b98156f858ca5c8e82d9d3/websockets-15.0.1-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
  15. Downloading websockets-15.0.1-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.8 kB)
  16. Collecting construct==2.10.68 (from construct-typing<0.7.0,>=0.6.2->solana)
  17. Downloading construct-2.10.68.tar.gz (57 kB)
  18. Running command python setup.py egg_info
  19. /home/maschine/lib/python3.12/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
  20. !!
  21.  
  22. ********************************************************************************
  23. Please consider removing the following classifiers in favor of a SPDX license expression:
  24.  
  25. License :: OSI Approved :: MIT License
  26.  
  27. See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
  28. ********************************************************************************
  29.  
  30. !!
  31. self._finalize_license_expression()
  32. running egg_info
  33. creating /tmp/user/1000/pip-pip-egg-info-emdqh_t2/construct.egg-info
  34. writing /tmp/user/1000/pip-pip-egg-info-emdqh_t2/construct.egg-info/PKG-INFO
  35. writing dependency_links to /tmp/user/1000/pip-pip-egg-info-emdqh_t2/construct.egg-info/dependency_links.txt
  36. writing requirements to /tmp/user/1000/pip-pip-egg-info-emdqh_t2/construct.egg-info/requires.txt
  37. writing top-level names to /tmp/user/1000/pip-pip-egg-info-emdqh_t2/construct.egg-info/top_level.txt
  38. writing manifest file '/tmp/user/1000/pip-pip-egg-info-emdqh_t2/construct.egg-info/SOURCES.txt'
  39. reading manifest file '/tmp/user/1000/pip-pip-egg-info-emdqh_t2/construct.egg-info/SOURCES.txt'
  40. reading manifest template 'MANIFEST.in'
  41. adding license file 'LICENSE'
  42. Traceback (most recent call last):
  43. File "<string>", line 2, in <module>
  44. File "<pip-setuptools-caller>", line 35, in <module>
  45. File "/tmp/user/1000/pip-install-59_ihr23/construct_11c1d1848b4d43efbc27702dc5642d7a/setup.py", line 5, in <module>
  46. setup(
  47. File "/home/maschine/lib/python3.12/site-packages/setuptools/__init__.py", line 115, in setup
  48. return distutils.core.setup(**attrs)
  49. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  50. File "/home/maschine/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 186, in setup
  51. return run_commands(dist)
  52. ^^^^^^^^^^^^^^^^^^
  53. File "/home/maschine/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 202, in run_commands
  54. dist.run_commands()
  55. File "/home/maschine/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 1002, in run_commands
  56. self.run_command(cmd)
  57. File "/home/maschine/lib/python3.12/site-packages/setuptools/dist.py", line 1102, in run_command
  58. super().run_command(command)
  59. File "/home/maschine/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 1021, in run_command
  60. cmd_obj.run()
  61. File "/home/maschine/lib/python3.12/site-packages/setuptools/command/egg_info.py", line 312, in run
  62. self.find_sources()
  63. File "/home/maschine/lib/python3.12/site-packages/setuptools/command/egg_info.py", line 320, in find_sources
  64. mm.run()
  65. File "/home/maschine/lib/python3.12/site-packages/setuptools/command/egg_info.py", line 548, in run
  66. self.prune_file_list()
  67. File "/home/maschine/lib/python3.12/site-packages/setuptools/command/sdist.py", line 162, in prune_file_list
  68. super().prune_file_list()
  69. File "/home/maschine/lib/python3.12/site-packages/setuptools/_distutils/command/sdist.py", line 386, in prune_file_list
  70. base_dir = self.distribution.get_fullname()
  71. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  72. File "/home/maschine/lib/python3.12/site-packages/setuptools/_core_metadata.py", line 275, in get_fullname
  73. return _distribution_fullname(self.get_name(), self.get_version())
  74. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  75. File "/home/maschine/lib/python3.12/site-packages/setuptools/_core_metadata.py", line 293, in _distribution_fullname
  76. canonicalize_version(version, strip_trailing_zero=False),
  77. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  78. TypeError: canonicalize_version() got an unexpected keyword argument 'strip_trailing_zero'
  79. error: subprocess-exited-with-error
  80.  
  81. × python setup.py egg_info did not run successfully.
  82. │ exit code: 1
  83. ╰─> See above for output.
  84.  
  85. note: This error originates from a subprocess, and is likely not a problem with pip.
  86. full command: /home/maschine/bin/python3 -c '
  87. exec(compile('"'"''"'"''"'"'
  88. # This is <pip-setuptools-caller> -- a caller that pip uses to run setup.py
  89. #
  90. # - It imports setuptools before invoking setup.py, to enable projects that directly
  91. # import from `distutils.core` to work with newer packaging standards.
  92. # - It provides a clear error message when setuptools is not installed.
  93. # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so
  94. # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning:
  95. # manifest_maker: standard file '"'"'-c'"'"' not found".
  96. # - It generates a shim setup.py, for handling setup.cfg-only projects.
  97. import os, sys, tokenize, traceback
  98.  
  99. try:
  100. import setuptools
  101. except ImportError:
  102. print(
  103. "ERROR: Can not execute `setup.py` since setuptools failed to import in "
  104. "the build environment with exception:",
  105. file=sys.stderr,
  106. )
  107. traceback.print_exc()
  108. sys.exit(1)
  109.  
  110. __file__ = %r
  111. sys.argv[0] = __file__
  112.  
  113. if os.path.exists(__file__):
  114. filename = __file__
  115. with tokenize.open(__file__) as f:
  116. setup_py_code = f.read()
  117. else:
  118. filename = "<auto-generated setuptools caller>"
  119. setup_py_code = "from setuptools import setup; setup()"
  120.  
  121. exec(compile(setup_py_code, filename, "exec"))
  122. '"'"''"'"''"'"' % ('"'"'/tmp/user/1000/pip-install-59_ihr23/construct_11c1d1848b4d43efbc27702dc5642d7a/setup.py'"'"',), "<pip-setuptools-caller>", "exec"))' egg_info --egg-base /tmp/user/1000/pip-pip-egg-info-emdqh_t2
  123. cwd: /tmp/user/1000/pip-install-59_ihr23/construct_11c1d1848b4d43efbc27702dc5642d7a/
  124. Preparing metadata (setup.py) ... error
  125. error: metadata-generation-failed
  126.  
  127. × Encountered error while generating package metadata.
  128. ╰─> See above for output.
  129.  
Add Comment
Please, Sign In to add comment