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

Unable to install using pip #1946

Open
3 tasks
cao202412 opened this issue Dec 9, 2024 · 7 comments
Open
3 tasks

Unable to install using pip #1946

cao202412 opened this issue Dec 9, 2024 · 7 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@cao202412
Copy link

cao202412 commented Dec 9, 2024

Checklist

  • I'm reporting a bug in Maigret functionality
  • I've checked for similar bug reports including closed ones
  • I've checked for pull requests that attempt to fix this bug

Description

pip 24.3.1 from (python 3.13)

How to reproduce this bug (commandline options / conditions):

I get the error when attempting to install on Windows 10.

@cao202412 cao202412 added the bug Something isn't working label Dec 9, 2024
@cao202412
Copy link
Author

如何重现此错误(命令行选项/条件):# install from pypi
pip3 install maigret

@gitgetgotguts
Copy link

screenshot ?

@soxoj
Copy link
Owner

soxoj commented Dec 9, 2024

Hi, please, provide the logs.

@dingdinglz
Copy link

I meet this problem as well.

ISSUE1

Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [3 lines of output]
      D:\anaconda\envs\ai\lib\site-packages\setuptools\_distutils\dist.py:261: UserWarning: Unknown distribution option: 'test_suite'
        warnings.warn(msg)
      error in arabic_reshaper setup command: 'extras_require' must be a dictionary whose values are strings or lists of strings containing valid project/version requirement specifiers.
      [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.

@Donixon
Copy link

Donixon commented Dec 10, 2024

I meet this problem as well.

ISSUE1

Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [3 lines of output]
      D:\anaconda\envs\ai\lib\site-packages\setuptools\_distutils\dist.py:261: UserWarning: Unknown distribution option: 'test_suite'
        warnings.warn(msg)
      error in arabic_reshaper setup command: 'extras_require' must be a dictionary whose values are strings or lists of strings containing valid project/version requirement specifiers.
      [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.

Same issue with WSL Ubuntu

@soxoj soxoj added this to the release-0.5.0 milestone Dec 10, 2024
@soxoj
Copy link
Owner

soxoj commented Dec 10, 2024

Thank you, @Donixon @dingdinglz @cao202412. As a temporary measure, I suggest installing Maigret from the repository until I publish the new release in PyPi:

pip install git+https://github.com/soxoj/maigret

Please check and let me know if this solution works for you.

@dingdinglz
Copy link

Thank you, @Donixon @dingdinglz @cao202412. As a temporary measure, I suggest installing Maigret from the repository until I publish the new release in PyPi:

pip install git+https://github.com/soxoj/maigret

Please check and let me know if this solution works for you.

Thank you for your help , this method can solve my problem.

@soxoj soxoj pinned this issue Dec 13, 2024
@soxoj soxoj mentioned this issue Dec 13, 2024
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants