How to make a python library in replit

When running poetry add -D black, it results in an error 'HTTPResponse' object has no attribute 'strict', When running poetry lock, I get HTTPResponse.__init__() got an unexpected keyword argument 'strict'. I already migrated to a new Repl for this same error, its pretty frustrating, the only thing I have done other than this guide suggests is install requests with poetry add requests. Does anyone have any fixes?

Just installed black using Pip instead, but the issue is still occuring when using poetry lock.

1 Like