open-data-anonymizer icon indicating copy to clipboard operation
open-data-anonymizer copied to clipboard

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

Open gianmarcoaversanoenx opened this issue 2 years ago • 11 comments

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.

gianmarcoaversanoenx avatar May 11 '23 11:05 gianmarcoaversanoenx

Same on python 3.11

damnkrat avatar Jun 27 '23 08:06 damnkrat

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

ajouanjean avatar Jul 06 '23 09:07 ajouanjean

@ajouanjean Pull requested merged now

shukkkur avatar Jul 12 '23 09:07 shukkkur

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

LSD-98 avatar Jul 16 '23 14:07 LSD-98

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

ajouanjean avatar Jul 17 '23 02:07 ajouanjean

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 :)

shukkkur avatar Jul 17 '23 06:07 shukkkur

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

keenborder786 avatar Aug 27 '23 00:08 keenborder786

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?

djmhunt avatar Dec 04 '23 17:12 djmhunt

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!

filipafcastro avatar Dec 21 '23 09:12 filipafcastro

@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?

onakatomi avatar Mar 04 '24 06:03 onakatomi

Also, getting this issue!

elyse-weiss avatar Mar 06 '24 17:03 elyse-weiss