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

error in anonympy setup command: 'python_requires' must be a string containing valid version specifiers; Invalid specifier: '>=3.6*' #26

Open
gianmarcoaversanoenx opened this issue May 11, 2023 · 11 comments

Comments

@gianmarcoaversanoenx
Copy link

pip install anonympy

retults in

error in anonympy setup command: 'python_requires' must be a string containing valid version specifiers; Invalid specifier: '>=3.6*'

this error happens just sometimes... i am using python 3.10.10 and i can install it, then i suddenly cannot anymore.

@damnkrat
Copy link

Same on python 3.11

@ajouanjean
Copy link

ajouanjean commented Jul 6, 2023

same here

Solutions was to download the tar.gz file, remove the * char in line 33 of setup.py directly in the tar.gz file, and pip install the tar.gz file.

But there is still a problem with cape_privacy, cf. the pull request related to it...

@shukkkur
Copy link
Member

shukkkur commented Jul 12, 2023

@ajouanjean Pull requested merged now

@LSD-98
Copy link

LSD-98 commented Jul 16, 2023

Hello,
I am quite new to Python and Git, but I still have the same error when running
pip install anonympy. Here is the full output:

pip install anonympy
Collecting anonympy
  Using cached anonympy-0.3.7.tar.gz (5.8 MB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [1 lines of output]
      error in anonympy setup command: 'python_requires' must be a string containing valid version specifiers; Invalid specifier: '>=3.6*'
      [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.

What I do not understand is that the setup.py file from the tar.gz folder downloaded on pypi is not updated and still has the *. The cape_privacy fix is also missing on pypi.

Edit : fixed it by installing the package from the repository. pip install git+https://github.com/ArtLabss/open-data-anonymizer.git

@ajouanjean
Copy link

Yes, files in PyPI have not yet been updated, so using pip will not work unfortunately.
@shukkkur could you please push a new version to pypi?
Thanks a lot

@shukkkur
Copy link
Member

shukkkur commented Jul 17, 2023

Hey @ajouanjean

I am very happy that people are using our package. Will definitely do this weekend, although I am totally clueless how to do did I do it in the past 😅

Thanks for the reminders and forgive my laziness :)

@keenborder786
Copy link

I am still facing the same error and will be happy to fix it.

@djmhunt
Copy link

djmhunt commented Dec 4, 2023

Hi @shukkkur,

It is great to see that the GitHub code has been updated. Do you have any update on when you plan to create a new release here or on pypi?

@filipafcastro
Copy link

I'm also having trouble now with installing the package from the repository.
image

Error downloading object: anonympy/tests/pdf/expected/Tesseract-OCR/iconv.dll (806b29c): Smudge error: Error downloading anonympy/tests/pdf/expected/Tesseract-OCR/iconv.dll (806b29c2da610a1f8145dc7934f779dd7a569e4a95beac6433d72a833b01feac): batch response: This repository is over its data quota. Account responsible for LFS bandwidth should purchase more data packs to restore access.

Any idea what these data packs are? Thanks!

@onakatomi
Copy link

@filipafcastro I have the same issue. @shukkkur any update for when this will be fixed, or when the fixed version (latest github version) will be pushed to pypi?

@elyse-weiss
Copy link

Also, getting this issue!

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

10 participants