ArtLabss / open-data-anonymizer

Python Data Anonymization & Masking Library For Data Science Tasks
https://www.artlabs.tech
BSD 3-Clause "New" or "Revised" License
234 stars 29 forks source link

[BUG] #3

Closed ShNadi closed 2 years ago

ShNadi commented 2 years ago

Hi, while calling the anonymize function:

could you please let me know, how can I fix this error? Thanks, Shiva

shukkkur commented 2 years ago

@ShNadi Heyyy, many thanks for reporting the issue! Seems like I haven't uploaded the latest version to pypi (pip). So, what you have to do:

  1. pip install anonympy --upgrade
  2. To verify:
    import anonympy 
    print(anonympy.__version__)
    >>> 0.2.6

    After that you can run your code with seed argument to get reproducible results. Feel free to reopen the issue, if anything else pops up. Cheers! 😄

ShNadi commented 2 years ago

@shukkkur thanks for your quick reply! I have upgraded the anonympy to version 0.2.6 but, the problem is not solved. The same error as before...

Best,

shukkkur commented 2 years ago

@ShNadi Can you plase share your code

ShNadi commented 2 years ago

image

ShNadi commented 2 years ago

@shukkkur Here is the code and the error... Have a nice weekend! image

shukkkur commented 2 years ago

Strangeee 🤔 Tested both on my machine and Google Colab. Works.

image image

I would suggest to reinstall the package: 1) pip uninstall anonympy 2) pip install anonympy

Let me know how it goes.

shukkkur commented 2 years ago

@ShNadi Any Updates?

ShNadi commented 2 years ago

hey @shukkkur, I reinstalled it in my Jupyter notebook, and it still does not work. But it works perfectly in the Pycharm environment. So, probably there is something wrong with my Jupyter... Many thanks for the nice implemented package and the support. Best,