Python без установки на компьютер
The easiest way to run Python, Spyder with SciPy and friends out of the box on any Windows PC, without installing anything!
Project Home is on Github, downloads pages are on Sourceforge and Github, md5-sha , Discussion Group
Recent Releases
Release 2022-01 of May 3rd, 2022
Highlights (*): Jupyterlab-3.3.4, Spyder-5.3.0, Pandas-1.4.2, Pyside6 for PyPy
Release 2021-05 of January 25th, 2022
Highlights (*): Jupyterlab-3.2.8, Spyder-5.2.2, numpy-1.21.5+mkl, Pandas-1.4.0, Matplotlib-3.5.0, Pyside2-5.15.2.1, Numba-0.55.0, Wasmer-1.1.0
Release 2021-04 of November 11th, 2021
Highlights (*): Jupyterlab-3.2.2, Spyder-5.1.5, numpy-1.20.3+mkl, scipy-1.7.2, scikit_learn-1.0.1, Pandas-1.3.4, Matplotlib-3.5.0pre, Pyside6-6.2.1, dash-2.0.0, streamlit-1.1.0
Release 2021-03 of July 4th, 2021
Highlights (*): numpy-1.21.0+mkl, scipy-1.7.0, scikit_learn-0.24.2, Pandas-1.2.5, Matplotlib-3.4.2, fastai-2.4
Release 2021-02 of April 21th, 2021
Highlights (*): Spyder-5.0.1, VSCode-1.55.2.0, Jupyterlab_git-0.30.0, Matplotlib-3.4.1, Panel-0.11.3, Voila-0.2.9
Release 2021-01 of March 10th, 2021
Highlights (*): Spyder-4.2.3, Jupyterlab-3.0.9, VSCode-1.54.1.0, Pandas-1.2.3, SciPy-1.6.1, Numpy-1.20.1+mkl
Release 2020-05 of December 28st, 2020
Highlights (*): Spyder-4.2.1, VSCode-1.52.1, Pandas-1.1.5, scikit_learn-0.24.0, SciPy-1.5.4, Numpy-1.19.4+mkl
Release 2020-04 of October 31st, 2020
Highlights (*): Spyder-4.1.5, Jupyterlab-2.2.9, VSCode-1.50.0, Numpy-1.19.2+mkl, SciPy-1.5.3, PyQt5-Tools
Release 2020-03 of August 22nd, 2020
Highlights (*): Spyder-4.1.4, Jupyterlab-2.2.4, VSCode-1.48.0, Numpy-1.19.1+mkl, SciPy-1.5.2
Release 2020-02 of May 30th, 2020
Highlights (*): Spyder-4.1.3, Jupyterlab-2.1.1, VSCode-1.45.1, scikit_learn-0.23.1, Cartopy-0.18.0, Trio-0.15.1
Overview
WinPython is a free open-source portable distribution of the Python programming language for Windows 8/10 and scientific and educational usage.
It is a full-featured (see our Wiki) Python-based scientific environment:
- Designed for scientists, data-scientists, and education (thanks to NumPy, SciPy, Sympy, Matplotlib, Pandas, pyqtgraph, etc.):
- interactive data processing and visualization using Python with Spyder and Jupyter/IPython, Pyzo, IDLEX or IDLE
- fully integrated Cython and Numba! See included example
- connectors (cffi, odbc, rpy2, scilab2py, requests, . ) for advanced users
- Runs out of the box(*) on any Windows 8+ with 2GB Ram (Jupyter Notebook will require a recent browser)
- The WinPython folder can be moved to any location (**) (local, network, USB drive) with most of the application settings
- You can install as many WinPython distributions as you want on the same machine: each one is isolated and self-consistent
- These installations can be of different versions of Python (3.7/3.8/3.9. )
- The integrated WinPython Package Manager (WPPM) helps installing, uninstalling or upgrading Python packages
- It's also possible to install or upgrade packages using pip from the WinPython command prompt
- A configuration file allows you to set environment variables at runtime
WinPython is something different from other Python Distributions (see historic motivation and concept):
- non-invasive: WinPython lives entirely in its own directory, without any OS installation
- customizable: add your missing packages, zip the WinPython directory and give it to your students
- do your own version: a winpython-creator kit is made available for you
Video
If you need something visual to help you get started, I made a video for the original release of this project; some things may be different but the same concepts still apply.
Как мне запустить Python на моем компьютере?
Чтобы изучить Python, вам нужно запустить Python на вашем компьютере. Это может быть сложно для новых программистов, но я покажу вам несколько быстрых и простых способов быстро начать.
Если вам повезло, что нужно запускать Linux, бегущий Python локально не может быть проще. Откройте окно терминала и ваш любимый текстовый редактор и сохраните код Python в * .py файл. Вы можете выполнить * .py файл, набрав
и нажатие ввода. Это работает «Ваниль» питона – голые кости, нет чепуха. Если вы хотите написать код в редакторе, который облегчает чтение кода, вы можете использовать Sublime Text (с лицензионным платежом после пробного периода) или бесплатный редактор по лицензии GNU.
Однако, если вы находитесь в Windows или Mac, или вы хотите интегрированную среду разработки (IDE), то AnaConda – отличный вариант.
Building a portable cpython
Once you’ve installed portable-python , you can get going like so:
Note that you can use --dryrun mode to inspect what would be done without doing it:
Installing Via GitHub
Then to run it, execute the following in the terminal:
Running Locally Via Github (no install)
You can run this project locally by following these steps:
- Clone/download the repo
- Open cmd/terminal and cd into the project
- Execute python -m pip install -r requirements.txt
Now to run the application, execute python -m auto_py_to_exe . A Chrome window in app mode will open with the project running inside.
Make sure you are in the directory below auto_py_to_exe (you will be after step 3) when calling python -m auto_py_to_exe or you will need to reference the folder auto_py_to_exe absolutely/relatively to where you currently are.
Maintainers
Prerequisites
To have the interface displayed in the images, you will need chrome. If chrome is not installed or --no-chrome is supplied, the default browser will be used.
As of PyInstaller 4.0, Python 2.7 is no longer supported. Read "Python 2.7 Support" below for steps on how to use this tool with Python 2.7.
Интерактивная оболочка интерактивного кода в вашем браузере
Введите любой сценарий Python, который вы хотите выполнить и ударить «Run».
- Как установить Python?
- Как проверить вашу версию Python?
- Как установить Python на Windows 7?
- Как запустить Python в вашем браузере?
- Как встроить интерпретатор Python на вашем сайте?
Build folder structure
portable-python uses this file structure (build/ and dist/ folders configurable):
Converts .py to .exe using a simple graphical interface.
Каковы условия Python?
Среда изолированы контейнерами на вашем компьютере. Это позволяет самостоятельно работать разные версии программ независимо друг от друга, чтобы они не вызывали конфликтов. Вы даже можете запустить разные версии Python! Итак, почему это важно? Существует очень большое количество программ и библиотек, которые вы можете добавить в свой проект Python. Каждая библиотека часто требует правильной функции других библиотек, они называются зависимостями. В зависимости от того, когда библиотека была написана, она будет зависеть от конкретных версий (I.e. Это может не работать с более поздними версиями тех же библиотек.) К счастью, AnaConda и Pypi/PiP управляют этим для вас. Настройка среды предотвращает версию конфликтов между библиотеками (ваши программы работают без проблем с другими программами.)
This project is a python CLI that aims to make compiling portable python binaries automatable.
Translations
Language Translator Translated Brazilian Portuguese (Português Brasileiro) marleyas UI (partial) Chinese Simplified (简体中文) jiangzhe11 UI and README Chinese Traditional (繁體中文) startgo UI English - UI and README French (Français) flaviedesp UI German (Deutsch) hebens UI (partial) Russian (Русский) Oleg UI Spanish (Español) enriiquee UI Thai (ภาษาไทย) teerut26 UI (partial) Turkish (Türkçe) mcagriaksoy UI Want to add a translation for another language? Update i18n.js and submit a PR or attach it in an issue.
Installation
portable-python is a regular python CLI, it can be installed with:
You can also run it directly (without explicit install) with pipx:
Using pip install (a CI builder would probably do this):
Invoke a build from python code:
Invoke an inspection from python code:
From source, contributions welcome!:
Python для начинающих
После установки ANACONDA запустите окно терминала. В Windows нажмите кнопку «Пуск» на левом нижнем углу экрана и введите «ANACONDA» в панели поиска. Нажмите на Anaconda Navigator, чтобы начать графический интерфейс. Оттуда вы можете установить различные программы, такие как Jupyter Lab для интерактивной вычислительной среды, Scipy для запуска IDE и даже R-студии, чтобы запустить R (которая не Python!) Еще одним преимуществом навигатора ANACONDA, заключается в том, что это делает его Легко настроить среды из точки и нажмите интерфейс.
Project description
A .py to .exe converter using a simple graphical interface and PyInstaller in Python.
Project links
Using the Application
- Select your script location (paste in or use a file explorer)
- Outline will become blue when file exists
- Select other options and add things like an icon or other files
- Click the big blue button at the bottom to convert
- Find your converted files in /output when completed
Как запустить Python без установки?
Самый простой вариант – запускать Python на Google’s Colab серверы. Это не требует, чтобы какие-либо программы были установлены на вашем локальном компьютере. Я рекомендую использовать Chrome для этого. Просто начните печатать Colab.research В панели поиска и Chrome заполнит остальные.
Вы также можете щелкнуть следующую ссылку:
Кроме того, вы также можете использовать …
JSON Configuration
Instead of inserting the same data into the UI over and over again, you can export the current state by going to the "Configuration" section within the settings tab and exporting the config to a JSON file. This can then be imported into the UI again to re-populate all fields.
This JSON config export action does not save the output directory automatically as moving hosts could mean different directory structures. If you want to have the output directory in the JSON config, add the directory under nonPyinstallerOptions.outputDirectory in the JSON file (will need to create a new key).
Python 2.7 Support
As of PyInstaller v4.0 released on Aug 9 2020, Python 2.7 is no longer supported; although you can still use this tool with Python 2.7 by installing an older version of PyInstaller. PyInstaller v3.6 was the last version that supported Python 2.7; to install this, first uninstall any existing versions of PyInstaller and then execute python -m pip install pyinstaller==3.6 .
Как известно из подписи, использую Python 3.4.3, как последний, который устанавливается на Windows XP. На зарубежном форуме узнал про сборку для Windows XP, которая распаковывается в папку C:\python37\ (при запуске там прописан путь C:\, вводить дополнительно не надо еще раз python37). Дистрибутив малый по размеру по сравнению с другими Portable сборками. До конца не уверен, что это Portable. Будет ли он запускаться на более поздних версиях Windows? Как устанавливать модули в него через pip пока не знаю, что посоветуете? Интересуюсь с той точки зрения, что если соберу какую то программу (на Гитхабе нашел интересные медицинские разработки) и выложу у себя на сайте, то может ли это нормально запускаться на разных версиях Windows без необходимости делать какие то сложные манипуляции?
MD5 архива E40516F8F6720F71D6E5C2747E476548
Лучший отладчик для Qt Creator под Windows ?
Привет! Тут столкнулся с проблемой, что студийный отладчик х86 медленно работает и долго аттачится.Подскажите лучший антивирус для Windows Server 2003
какой антивирус является лучше выбрать (для wndows server 2003)? и какие у него "плюсы" перед.Написать браузер на Python для Windows
Здравствуйте. Подскажите пожалуйста, как можно написать браузер на Python? Можно не с нуля.Нужен компилятор Си для Windows 7 64x для корректной установки библиотек и модулей Python
Приветствую форумчан. Возникла проблема при попытке установки grab, очень помогло это руководство.3.4 - последняя версия под windows xp, почему бы ему не запускаться. Но вопрос, почему он ставится в \python37. Притворяется более свежим? Запустить вы его запустите, но не факт, что ваши скрипты запустятся - а вдруг там используются фичи 3.5+? Это, вроде, очевидно.
Подвиндовый Питон, если что, сам по себе portable. И на офсайте есть соответствующая ссылка, чтобы вы скачали ну уж совсем portable.
Issues Using the Tool
If you're having issues with the packaged executable or using this tool in general, I recommend you read my blog post on common issues when using auto-py-to-exe. This post covers things you should know about packaging Python scripts and fixes for things that commonly go wrong.
Statistics
View statistics for this project via Libraries.io, or by using our public dataset on Google BigQuery
License: MIT License (MIT)
Tags gui, executable
Requires: Python >=3.6
Arguments
Usage: auto-py-to-exe [-nc] [-c [CONFIG]] [-o [PATH]] [filename]
Argument Type Description filename positional/optional Pre-fill the "Script Location" field in the UI. -nc, --no-chrome optional Open the UI using the default browser (which may be Chrome). Will not try to find Chrome. -nu, --no-ui optional Don't try to open the UI in a browser and simply print out the address that the application can be accessed at. -c [CONFIG], --config [CONFIG] optional Provide a configuration file (json) to pre-fill the UI. These can be generated in the settings tab. -o [PATH], --output-dir [PATH] optional Set the default output directory. This can still be changed in the ui. -bdo [FOLDER_PATH], --build-directory-override [FOLDER_PATH] optional Override the default build directory. Useful if you need to whitelist a folder to stop your antivirus from removing files. If you are running this package locally, you will need to call python -m auto_py_to_exe instead of auto-py-to-exe
Classifiers
Guiding principles
- Focuses on just one thing: compile a portable python, and validate that it is indeed portable, produce outcome in (configurable) ./dist/ folder and that’s it
- Only the last few non-EOL versions of python are supported (no historical stuff)
- As time goes on, the code of this tool will evolve so that the latest pythons keep building (but won’t worry that older versions still keep building)
- C compilation is done as simply as possible: no “patching” of any sort, rely solely on the upstream make/configure scripts, typically via stuff like --enable-shared=no
- Builds are validated, an important part of the effort was to write up code that is able to inspect a python installation and detect whether it is portable or not (and why not if so).
- cpython is initially supported, but aiming to compile any python family in the future (pypy, conda, …)
- Cross-compilation would be cool, but only if upstream supports it (ie: only if doable via stuff like ./configure --host=. - no on-the-fly patching allowed)
For this repo itself:
- Code is pure python, it is a CLI with one entry-point called portable-python
- Can be ran in a debugger
- 100% test coverage, has a --dryrun mode to help with testing / debugging / seeing what would be done quickly
- No shell scripts (those are hard to maintain/test/debug)
- Can be pip install-ed and reused
Getting Started
What is a “portable python”?
It’s a binary python distribution (.tar.gz or .zip) that can be decompressed in any folder, and used from there without further ado (ie: no need to run an “installer” and things like that).
The idea here is to allow for automated systems to:
- Easily obtain a python binary, that can be used in sandboxes / workstations / laptops / instances…
- Have an open source tool that can compile such portable pythons reliably, without having to worry about the compilation part.
- Be able to inspect any python installation, and point out how portable it is, which shared or non-standard libraries it is using
Portable or not, the choice is yours!
WinPython is a portable application, so the user should not expect any integration into Windows explorer during installation. However, the WinPython Control Panel allows to "register" your distribution to Windows (see screenshot below).
Registering your WinPython installation will:
- associate file extensions .py, .pyc and .pyo to Python interpreter
- register Python icons in Windows explorer
- add context menu entries Edit with IDLE and Edit with Spyder for .py files
- register WinPython as a standard Python distribution (standard Python Windows installers will see WinPython in Windows registry)
(*) For recent WinPython, Windows 8..10 users may have to install missing system DLL Microsoft Visual C++ Redistributable for Visual Studio 2017..2019 (vc_redist_x86.exe for WinPython 32bit, vc_redist_x64.exe for Winpython 64bit)
(**) Since WinPython 2019-02, all installers are just 7zip auto-extracts.
© Copyright 2009-2013, Pierre Raybaut; 2014-2021+ The WinPython Development Team. Last updated 2021-04-19
Если вы хотите начать изучать Python – или вы сидите на другом компьютере, где Python еще не установлен, вы можете задать вопрос:
Анаконда |. Наиболее популярными в мире наукальной платформой данных
Installation and Usage
Installing Via PyPI
You can install this project using PyPI:
Then to run it, execute the following in the terminal:
Navigation
Читайте также: