Error message when I try to import tensorflow in jupyter

Hello !

I have the following message error when I try to import tensorflow in my jupyter notebook:

ImportError: cannot import name ‘builder’ from ‘google.protobuf.internal’ (C:\Users\flore\anaconda3\lib\site-packages\google\protobuf\

I have currently those versions installed on my virtual environment:
python version 3.10.9
tensorflow 2.10.0
tensorboard 2.10.1
protobuf 3.19.6

I tried updating protobuf but it still gives the same error. Could you please tell me whet’s the issue ?
Thank you for your support and have a great day !

Hi @megaman

Welcome to the TensorFlow Forum!

Please try again by installing the protobuf version 3.20 using pip install protobuf==3.20 and let us know if the issue still persists. Thank you.

thank you for your message, I solved it but I don’t remember how i did it