adang1345 / PythonWin7

Python 3.9+ installers that support Windows 7 SP1 and Windows Server 2008 R2 SP1
MIT License
595 stars 71 forks source link

Installation Help #10

Closed samsonsite1 closed 1 year ago

samsonsite1 commented 1 year ago

How can I install PythonWin7 under Anaconda3 (https://www.anaconda.com/) ?

samsonsite1 commented 1 year ago

I don't know if this is the correct procedure, but this is what I did:

Installed the official version of Python 3.10.6 into Anaconda3: conda create -n myenv python=3.10.6

then copied the file api-ms-win-core-path-l1-1-0.dll into the Anaconda3 myenv folder. Is there anything else I must do?

adang1345 commented 1 year ago

I'm not too familiar with how Anaconda does things, but I don't think installing under Anaconda is possible as-is. You would need to create your own local conda channel and then build and register your own Python interpreter and dependencies. That's a non-trivial project to undertake.

samsonsite1 commented 1 year ago

Ok, I was just wondering if there were any changes to the Windows 7 version besides the file api-ms-win-core-path-l1-1-0.dll. I can always copy and replace files, after an environment is created. If it works, I'm happy either way.

adang1345 commented 1 year ago

See https://github.com/adang1345/PythonWin7/blob/master/Notes.md for a list of all the changes in the Windows 7 installers, but I think that adding the file api-ms-win-core-path-l1-1-0.dll would be all that is necessary to get this working with Anaconda. If you are able to copy this file into the Anaconda environment folder and get Python to run, then that's a good sign that you don't need to do anything further.

samsonsite1 commented 1 year ago

Thanks!