Closed oakhan3 closed 4 years ago
Hi @oakhan3!
Thank you for your pull request and welcome to our community.We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file.
In order for us to review and merge your code, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.
If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks!
Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!
@jingping2015 merged this pull request in facebook/facebook-python-business-sdk@1c04d9e19e81000363e4608874499bce736fd58a.
@stcheng we still see this issue happen in python3.11
this needs to be fixed in main branch.
requirements.txt
enum34; python_version < '3.4'
Hi guys,
I am running into a problem where installing this sdk in a python version above 3.3 results in the following error:
This is because facebook-python-business-sdk requires you to install enum34 regardless of your python version.
enum34 is a package that override the
enum
namespace in the python standard library in python versions 3.4 and above. This package has a slightly different api from the standard library version and if your code or the code in any of your other dependencies calls on enum, it can trigger a traceback like above.It is a necessary package for python versions below 3.4 since enums did not exist in those versions.
This PR should alleviate this issue.