Skip to content

PowerShellPython 3.10.6

Latest
Compare
Choose a tag to compare
@leomaxwell973 leomaxwell973 released this 09 Feb 04:32
· 2 commits to main since this release
576b302

Using Anaconda ripped minimal install, modified, and repackaged for portable use or can be main python with correct PATH set.

Files:

  1. If looking to modify your current install(s) use the subprocess.py only in the release

  2. If you want a full packaged portable python instance, use the zip only, its pre-setup:
    -Has both subprocesses, powershell is loaded by default, original is subprocess_original.py
    -also adjusted the default included setup tools build.py as mentioned in the help file, as its shown to hurt nothing, and fix some.

Details:

This is Python version 3.10.6, the original tested and developed version powershellpython was built on
Testing was installing both xformers and flash-attn directly through pip with no other workarounds or fixes not included
Without: CMD line length errors and some pip errors
With: No issues fully installed start to finish through pip with no follow-up steps as intended.
Both in my native environment and on a Hyper-V fresh VM install test.

Note: You do not need to be in a powershell instance to have this work, I run it from cmd all the time, this is because PYTHON is the one having to use powershell, not the user, thus, use as you normally would if/until errors occur

Also Note: Though this was built, tested, and designed on 3.10.6, since I made a point of no import commands required and is all native code, I see little reason why it wouldn't work on later versions, especially since subprocess/run/popen/etc. seems mostly the same-ish iirc between versions, which, one of the hopes of this design choice, was to make it omni-version capable, but I just don't have the time/resources to test for certain if it achieved this.

Later Version:
if you're looking for a similar pre-package at a later version, check my repo: https://github.com/leomaxwell973/PowerShellPython-Full for an experimental version I included based on the latest anaconda version available, this was simply for abstract reasons of trying to match the current python fork as closely as possible, but its there if you prefer trying that. (3.13.12 iirc)