{"repo":"jtmoon79/PythonEmbed4Win","free":true,"listed":false,"github":"https://github.com/jtmoon79/PythonEmbed4Win","clone":"git clone https://github.com/jtmoon79/PythonEmbed4Win.git","description":"Quickly setup a portable python environment for Windows.","language":"PowerShell","stars":70,"topics":["python","powershell","powershell-script","python-virtualenv","windows"],"license":"MIT","category":"cli-tools","readme_excerpt":"PythonEmbed4Win A single PowerShell script to easily and quickly create a standalone Python local environment for Windows by downloading the requested embed.zip distributed file. No prior Python installation is required. Download and run If you get the error: PythonEmbed4Win.ps1 cannot be loaded because running scripts is disabled on this system then run: About Installing the Python for Windows embedded zip file requires some tedious tweaks. See this gist. This script will handle the tedious tweaks and updates so the new Python installation will run correctly in an isolated manner. This is similar to a Python Virtual Environment but technically is not. It does not require an activate script to set environment variable VIRTUAL ENV or modify the PATH . It will run isolated without environment modifications. The one requirement is the user must execute the Python interpreter directly including for module invocations, .e.g. C:\\Path\\to\\embed\\python.exe ... or C:\\Path\\to\\embed\\python.exe -m pip install ... . One disadvantage is that a Windows embed Python cannot create a functioning virtual environment. They will be created but virtualenv and venv selectively copy files from the source and do not copy necessary library files unique to an Windows embed Python. Additionally some pypi libraries with complex external C module dependencies may crash during initialization. The good news is you'll know immediately if the Python embed installation created by this script will work for you. ","default_branch":null,"files":null,"tree":[],"storefront":"/r/jtmoon79","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jtmoon79/PythonEmbed4Win/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}