vj4
vj4 copied to clipboard
python3.8 AttributeError: module 'platform' has no attribute 'linux_distribution'
AttributeError: module 'platform' has no attribute 'linux_distribution'
any fix while using the command python3 -m vj4.server --debug i get the above error
The issue is caused by aiomongo referencing an old version of pymongo which is not compatible with the newer python. The issue was fixed by https://github.com/mongodb/mongo-python-driver/commit/82c610a9f54d5af20d9b5b626189891d82216a4f but the author as long as the repository of aiomongo disappeared on github. We could either recover the code from https://github.com/iceb0y/aiomongo or switch to another driver implementation.