There was an error importing Tensorflow

Installing and setting up FaceSwap


Forum rules

Read the FAQs and search the forum before posting a new topic.

Please mark any answers that fixed your problems so others can find the solutions.

Locked
User avatar
Mr_gaming_15
Posts: 1
Joined: Wed Feb 19, 2020 2:10 pm

There was an error importing Tensorflow

Post by Mr_gaming_15 »

I use my cpu's graphic card (I'm on a laptop) and I have the error :
02/19/2020 15:16:22 INFO Log level set to: INFO
02/19/2020 15:16:22 ERROR There was an error importing Tensorflow. This is most likely because you do not have TensorFlow installed, or you are trying to run tensorflow-gpu on a system without an Nvidia graphics card. Original import error: No module named 'tensorflow'

User avatar
bryanlyon
Site Admin
Posts: 793
Joined: Fri Jul 12, 2019 12:49 am
Answers: 44
Location: San Francisco
Has thanked: 4 times
Been thanked: 218 times
Contact:

Re: There was an error importing Tensorflow

Post by bryanlyon »

The install did not complete successfully. Easiest solution would be to delete the Faceswap folder and try the installer again.

User avatar
Mizu
Posts: 5
Joined: Mon Feb 17, 2020 1:40 pm
Has thanked: 2 times

Re: There was an error importing Tensorflow

Post by Mizu »

把Tensorflow降到1.13.1
问题解决。

User avatar
bryanlyon
Site Admin
Posts: 793
Joined: Fri Jul 12, 2019 12:49 am
Answers: 44
Location: San Francisco
Has thanked: 4 times
Been thanked: 218 times
Contact:

Re: There was an error importing Tensorflow

Post by bryanlyon »

It's not recommended to downgrade, but 1.13.1 is still a usable version.

Locked