[BUG]
ShNadi opened this issue · comments
Hi,
while calling the anonymize function:
- anonym.anonymize(inplace = False, seed = 100)
I face with the following error: - AttributeError: 'function' object has no attribute 'seed'
could you please let me know, how can I fix this error?
Thanks, Shiva
@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:
pip install anonympy --upgrade
- 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! 😄
@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,
@ShNadi Can you plase share your code
@shukkkur Here is the code and the error...
Have a nice weekend!
@ShNadi Any Updates?
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,