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

[BUG] Unable to install anonympy on Ubuntu #25

Closed
fabricebaranski opened this issue Mar 29, 2023 · 3 comments
Closed

[BUG] Unable to install anonympy on Ubuntu #25

fabricebaranski opened this issue Mar 29, 2023 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@fabricebaranski
Copy link

Describe the bug
I am not able to install anonympy with python 3.10

To Reproduce
Steps to reproduce the behavior:

  1. install pyhton 3.10
  2. pip install anonympy

I get

Collecting anonympy
  Downloading anonympy-0.3.7.tar.gz (5.8 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.8/5.8 MB 6.0 MB/s eta 0:00:00
  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.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

Expected behavior
It must be installed without any error

Desktop (please complete the following information):

  • OS: Linux ubuntu

Additional context
Add any other context about the problem here.

@fabricebaranski fabricebaranski added the bug Something isn't working label Mar 29, 2023
@shukkkur
Copy link
Member

shukkkur commented Apr 1, 2023

@fbvdka Hi!)
Yep, pip install anonympy works perfectly on Windows, however on Linux I also get an error (tried on Google Colab)
Try the following:

  1. git clone https://github.com/ArtLabss/open-data-anonymizer.git
  2. cd open-data-anonymizer
  3. pip install .
  4. pip install cape-privacy==0.3.0 --no-deps

Worked on Colab. Anyway good luck!)

@shukkkur shukkkur changed the title [BUG] Unable to install anonympy with python 3.10 [BUG] Unable to install anonympy on Ubuntu Apr 1, 2023
@shukkkur shukkkur pinned this issue Apr 1, 2023
@fabricebaranski
Copy link
Author

Perfect! That works.

@samuelstuetz
Copy link

There should be another release. This bug seems to be related to a pip update where they switched to regex parsing in preparation for future PEP changes. It does not break in many cases where it is a >3.6.* however the 3.6* won't fly. The code is already fixed but having to clone and then install manually whatever is the current main branch status is not a good solution. Nor is installing an older pip.
Could someone with more insight to current repo status release a new version.

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

3 participants