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

ImportError: cannot import name 'glob_stateful_parallelism' from 'tensorflow.python.ops.while_v2' #895

Open
zybxav opened this issue Dec 4, 2023 · 3 comments

Comments

@zybxav
Copy link

zybxav commented Dec 4, 2023

ImportError: cannot import name 'glob_stateful_parallelism' from 'tensorflow.python.ops.while_v2'
How can I fix this?

@zwxandy
Copy link

zwxandy commented Dec 12, 2023

The version of your installed tensorflow lib should be modified as follows:

pip install tensorflow==2.9.1

@Akash-1gif
Copy link

The version of your installed tensorflow lib should be modified as follows:

pip install tensorflow==2.9.1

while trying to install tf=2.9.1 version, I'm facing the following error:

ERROR: Could not install packages due to an OSError: [WinError 5] Access is denied: 'E:\privacy preserving ml trials\tf-encrypted_installation\tfe\Lib\site-packages\google\~rotobuf\internal\_api_implementation.cp310-win_amd64.pyd'
Check the permissions.

in which tools/settings/utilities should I need to enable access to install tf 2.9.1 (it will be great help for me)

@anudeike
Copy link

ERROR: Could not install packages due to an OSError: [WinError 5] Access is denied: 'E:\privacy preserving ml trials\tf-encrypted_installation\tfe\Lib\site-packages\google~rotobuf\internal_api_implementation.cp310-win_amd64.pyd'
Check the permissions.

To avoid this issue add --user to the end of the pip install tensorflow==2.9.1

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

No branches or pull requests

4 participants