Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cant install with the command #42

Open
GAMINGMarcellk opened this issue Mar 23, 2024 · 1 comment
Open

cant install with the command #42

GAMINGMarcellk opened this issue Mar 23, 2024 · 1 comment

Comments

@GAMINGMarcellk
Copy link

:2: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
Traceback (most recent call last):
File "C:\Program Files\Python312\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in
main()
File "C:\Program Files\Python312\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python312\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\AppData\Local\Temp\pip-build-env-rtgbgqaf\overlay\Lib\site-packages\setuptools\build_meta.py", line 325, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\AppData\Local\Temp\pip-build-env-rtgbgqaf\overlay\Lib\site-packages\setuptools\build_meta.py", line 295, in get_build_requires
self.run_setup()
File "C:\Users\Administrator\AppData\Local\Temp\pip-build-env-rtgbgqaf\overlay\Lib\site-packages\setuptools\build_meta.py", line 487, in run_setup
super().run_setup(setup_script=setup_script)
File "C:\Users\Administrator\AppData\Local\Temp\pip-build-env-rtgbgqaf\overlay\Lib\site-packages\setuptools\build_meta.py", line 311, in run_setup
exec(code, locals())
File "", line 5, in
File "C:\Users\Administrator\AppData\Local\Temp\pip-install-ugh8gx_x\cryptotools_8eb9764d665d4481a0088c4f43513499\cryptotools_init
.py", line 16, in
_module = loader.find_module(module_name).load_module(module_name)
^^^^^^^^^^^^^^^^^^
AttributeError: 'FileFinder' object has no attribute 'find_module'
[end of output]

@Lvceo
Copy link

Lvceo commented Jul 25, 2024

Same here :

$ pip install git+https://github.com/mcdallas/cryptotools.git@master#egg=cryptotools
Defaulting to user installation because normal site-packages is not writeable
Collecting cryptotools
  Cloning https://github.com/mcdallas/cryptotools.git (to revision master) to /tmp/pip-install-ewf7a3w4/cryptotools_c2e5f3de8bd7462ca5336bb3f12c3ce6
  Running command git clone --filter=blob:none --quiet https://github.com/mcdallas/cryptotools.git /tmp/pip-install-ewf7a3w4/cryptotools_c2e5f3de8bd7462ca5336bb3f12c3ce6
  Resolved https://github.com/mcdallas/cryptotools.git to commit 9ba32c86af9590fec4da01b195f02e8004671f4c
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [11 lines of output]
      /tmp/pip-install-ewf7a3w4/cryptotools_c2e5f3de8bd7462ca5336bb3f12c3ce6/setup.py:2: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
        import pkg_resources
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-install-ewf7a3w4/cryptotools_c2e5f3de8bd7462ca5336bb3f12c3ce6/setup.py", line 5, in <module>
          from cryptotools import __doc__ as docstring
        File "/tmp/pip-install-ewf7a3w4/cryptotools_c2e5f3de8bd7462ca5336bb3f12c3ce6/cryptotools/__init__.py", line 16, in <module>
          _module = loader.find_module(module_name).load_module(module_name)
                    ^^^^^^^^^^^^^^^^^^
      AttributeError: 'FileFinder' object has no attribute 'find_module'
      [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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants