ImportError: Module use of python38.dll conflicts with this version of Python.

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
CyJackX
Posts: 5
Joined: Wed Jun 17, 2020 8:43 pm

ImportError: Module use of python38.dll conflicts with this version of Python.

Post by CyJackX »

How do I get around this? I looked at uninstalling Python, but it's hard to discover all instances of it; it doesn't appear in programs and features necessarily.

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: ImportError: Module use of python38.dll conflicts with this version of Python.

Post by bryanlyon »

We recommend you use the windows installer. It handles all these issues for you. Manual installation is not recommended.

User avatar
CyJackX
Posts: 5
Joined: Wed Jun 17, 2020 8:43 pm

Re: ImportError: Module use of python38.dll conflicts with this version of Python.

Post by CyJackX »

This is using the Windows Installer. It throws an error when starting the Conda Virtual Environment.

User avatar
torzdf
Posts: 2649
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 128 times
Been thanked: 622 times

Re: ImportError: Module use of python38.dll conflicts with this version of Python.

Post by torzdf »

Ultimately, these are conflicts on your system.

First and foremost, try this:
app.php/faqpage#f1r1

My word is final

User avatar
CyJackX
Posts: 5
Joined: Wed Jun 17, 2020 8:43 pm

Re: ImportError: Module use of python38.dll conflicts with this version of Python.

Post by CyJackX »

I went thru those instructions deleting python & conda where I could find them, but I think my problem may be deeper-seated than that, so idk. Just ran Faceswap installer again to get:
Image

Is there any more comprehensive way to hunt down all python in the system?

User avatar
torzdf
Posts: 2649
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 128 times
Been thanked: 622 times

Re: ImportError: Module use of python38.dll conflicts with this version of Python.

Post by torzdf »

At this point it becomes a miniconda installer issue I'm afraid (as this is where the error is generating from).

Ultimately, it is complaining about a pre-existing install of python though.

My word is final

User avatar
CyJackX
Posts: 5
Joined: Wed Jun 17, 2020 8:43 pm

Re: ImportError: Module use of python38.dll conflicts with this version of Python.

Post by CyJackX »

I searched for python in my C: drive and uninstalled every application that had Python folders :lol:
Setup worked.

Locked