Intel® DevCloud
Help for those needing help starting or connecting to the Intel® DevCloud
1641 Discussions

Tesorflow (No module named tensorflow)

Younes_BOUNNAH
Beginner
861 Views

Hi,

I tried to execute my python code based on the tensorflow package but it seems that there's a problem when loading the library. Despite I source the tensorflow environment (source activate tensorflow) , and create a new one, I can't import the library in python.

Thank you in advance.

 

0 Kudos
3 Replies
AlekhyaV_Intel
Moderator
831 Views

Hi,

 

Thank you for posting in Intel Communities. We could reproduce your issue. Could you please try the below workaround and see if the issue still persists?

 

pip install --user tensorflow==2.10.0

 

If this resolves your issue, make sure to accept this as a solution. This helps others with similar issue. Thank you!

 

Regards,

Alekhya

 

 

0 Kudos
Younes_BOUNNAH
Beginner
807 Views

Excuse me, I've been sick the last few days,

Thanks for the solution, it works fine.

 

Cordially,

 

Y. BOUNNAH

0 Kudos
AlekhyaV_Intel
Moderator
798 Views

Hi,


Glad to know that your issue is resolved. If you need any further assistance, please post a new question as this thread will no longer be monitored by Intel.


Regards,

Alekhya


0 Kudos
Reply