Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix python compatibility #5

Merged
merged 1 commit into from
Sep 13, 2021
Merged

Fix python compatibility #5

merged 1 commit into from
Sep 13, 2021

Conversation

qgallouedec
Copy link
Contributor

Hi,

The problem associated with this RP is presented on issue #4 .

Instead of having tensorflow-gpu in the requirements, I suggest you to do like in the openai/baselines repo : just check that TensorFlow is installed. This allows people like me who don't have a gpu to be able to install the package anyway, without having to manually replace tensorflow-gpu with tensorflow in setup.py.

Regards.

@ClementRomac
Copy link
Contributor

Hi,

Thank you for the issue and PR. I'm ok to merge the PR as it removes the need of tensorflow-gpu, however it does not resolve the issue #4 (as python>=3.8 requires tf>1.15 making the last assertion of setup.py fail). Was that your intention ?

@qgallouedec
Copy link
Contributor Author

qgallouedec commented Sep 13, 2021

It was: I don't know how to make TeachMyAgent compatible with python 3.8. But at least with this PR there is no risk to encounter incompatibility late.

@qgallouedec
Copy link
Contributor Author

The PR is therefore very badly named, it should rather be: "Compatibility check at installation".

@ClementRomac
Copy link
Contributor

Alright, no problem ! I'll merge it.

@ClementRomac ClementRomac merged commit b35ccb1 into flowersteam:master Sep 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants