Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Microsoft Windows [Version 10.0.14393]
- (c) Корпорация Майкрософт (Microsoft Corporation), 2016. Все права защищены.
- C:\Windows\system32>@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
- Getting latest version of the Chocolatey package for download.
- Getting Chocolatey from https://chocolatey.org/api/v2/package/chocolatey/0.10.11.
- Downloading 7-Zip commandline tool prior to extraction.
- Extracting C:\Users\98AF~1\AppData\Local\Temp\chocolatey\chocInstall\chocolatey.zip to C:\Users\98AF~1\AppData\Local\Temp\chocolatey\chocInstall...
- Installing chocolatey on this machine
- Creating ChocolateyInstall as an environment variable (targeting 'Machine')
- Setting ChocolateyInstall to 'C:\ProgramData\chocolatey'
- WARNING: It's very likely you will need to close and reopen your shell
- before you can use choco.
- Restricting write permissions to Administrators
- We are setting up the Chocolatey package repository.
- The packages themselves go to 'C:\ProgramData\chocolatey\lib'
- (i.e. C:\ProgramData\chocolatey\lib\yourPackageName).
- A shim file for the command line goes to 'C:\ProgramData\chocolatey\bin'
- and points to an executable in 'C:\ProgramData\chocolatey\lib\yourPackageName'.
- Creating Chocolatey folders if they do not already exist.
- WARNING: You can safely ignore errors related to missing log files when
- upgrading from a version of Chocolatey less than 0.9.9.
- 'Batch file could not be found' is also safe to ignore.
- 'The system cannot find the file specified' - also safe.
- chocolatey.nupkg file not installed in lib.
- Attempting to locate it from bootstrapper.
- PATH environment variable does not have C:\ProgramData\chocolatey\bin in it. Adding...
- ПРЕДУПРЕЖДЕНИЕ: Not setting tab completion: Profile file does not exist at
- 'C:\Users\Наталья\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1'.
- Chocolatey (choco.exe) is now ready.
- You can call choco from anywhere, command line or powershell by typing choco.
- Run choco /? for a list of functions.
- You may need to shut down and restart powershell and/or consoles
- first prior to using choco.
- Ensuring chocolatey commands are on the path
- Ensuring chocolatey.nupkg is in the lib folder
- C:\Windows\system32>
- C:\Windows\system32>choco install python
- Chocolatey v0.10.11
- Installing the following packages:
- python
- By installing you accept licenses for the packages.
- Progress: Downloading python3 3.7.1... 100%
- Progress: Downloading chocolatey-core.extension 1.3.3... 100%
- Progress: Downloading python 3.7.1... 100%
- chocolatey-core.extension v1.3.3 [Approved]
- chocolatey-core.extension package files install completed. Performing other installation steps.
- Installed/updated chocolatey-core extensions.
- The install of chocolatey-core.extension was successful.
- Software installed to 'C:\ProgramData\chocolatey\extensions\chocolatey-core'
- python3 v3.7.1 [Approved]
- python3 package files install completed. Performing other installation steps.
- The package python3 wants to run 'chocolateyInstall.ps1'.
- Note: If you don't run this script, the installation will fail.
- Note: To confirm automatically next time, use '-y' or consider:
- choco feature enable -n allowGlobalConfirmation
- Do you want to run the script?([Y]es/[N]o/[P]rint): y
- Installing 64-bit python3...
- WARNING: Generic MSI Error. This is a local environment error, not an issue with a package or the MSI itself - it could mean a pending reboot is necessary prior to install or something else (like the same version is already installed). Please see MSI log if available. If not, try again adding '--install-arguments="'/l*v c:\python3_msi_install.log'"'. Then search the MSI Log for "Return Value 3" and look above that for the error.
- ERROR: Running ["C:\ProgramData\chocolatey\lib\python3\tools\python-3.7.1-amd64.exe" /quiet InstallAllUsers=1 PrependPath=1 TargetDir="C:\Python37" ] was not successful. Exit code was '1603'. Exit code indicates the following: Generic MSI Error. This is a local environment error, not an issue with a package or the MSI itself - it could mean a pending reboot is necessary prior to install or something else (like the same version is already installed). Please see MSI log if available. If not, try again adding '--install-arguments="'/l*v c:\python3_msi_install.log'"'. Then search the MSI Log for "Return Value 3" and look above that for the error..
- The install of python3 was NOT successful.
- Error while running 'C:\ProgramData\chocolatey\lib\python3\tools\chocolateyInstall.ps1'.
- See log for details.
- python v3.7.1 [Approved]
- python package files install completed. Performing other installation steps.
- The install of python was successful.
- Software install location not explicitly set, could be in package or
- default install location if installer.
- Chocolatey installed 2/3 packages. 1 packages failed.
- See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
- Failures
- - python3 (exited 1603) - Error while running 'C:\ProgramData\chocolatey\lib\python3\tools\chocolateyInstall.ps1'.
- See log for details.
- Did you know the proceeds of Pro (and some proceeds from other
- licensed editions) go into bettering the community infrastructure?
- Your support ensures an active community, keeps Chocolatey tip top,
- plus it nets you some awesome features!
- https://chocolatey.org/compare
- C:\Windows\system32>python -m pip install -U pip
- "python" не является внутренней или внешней
- командой, исполняемой программой или пакетным файлом.
- C:\Windows\system32>python --version
- "python" не является внутренней или внешней
- командой, исполняемой программой или пакетным файлом.
- C:\Windows\system32>python
- "python" не является внутренней или внешней
- командой, исполняемой программой или пакетным файлом.
- C:\Windows\system32>python -V
- "python" не является внутренней или внешней
- командой, исполняемой программой или пакетным файлом.
- C:\Windows\system32> import sys
- "import" не является внутренней или внешней
- командой, исполняемой программой или пакетным файлом.
- C:\Windows\system32> !{sys.executable} --version
- "!{sys.executable}" не является внутренней или внешней
- командой, исполняемой программой или пакетным файлом.
- C:\Windows\system32>!{sys.executable} --version
- "!{sys.executable}" не является внутренней или внешней
- командой, исполняемой программой или пакетным файлом.
- C:\Windows\system32>choco install python
- Chocolatey v0.10.11
- Installing the following packages:
- python
- By installing you accept licenses for the packages.
- python v3.7.1 already installed.
- Use --force to reinstall, specify a version to install, or try upgrade.
- Chocolatey installed 0/1 packages.
- See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
- Warnings:
- - python - python v3.7.1 already installed.
- Use --force to reinstall, specify a version to install, or try upgrade.
- C:\Windows\system32>choco install python
- Chocolatey v0.10.11
- Installing the following packages:
- python
- By installing you accept licenses for the packages.
- python v3.7.1 already installed.
- Use --force to reinstall, specify a version to install, or try upgrade.
- Chocolatey installed 0/1 packages.
- See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
- Warnings:
- - python - python v3.7.1 already installed.
- Use --force to reinstall, specify a version to install, or try upgrade.
- C:\Windows\system32>choco reinstall python v3.6
- Chocolatey v0.10.11
- Could not find a command registered that meets 'reinstall'.
- Try choco -? for command reference/help.
- C:\Windows\system32>choco --force install python
- Chocolatey v0.10.11
- C:\Windows\system32>@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
- C:\Windows\system32>powershell
- Windows PowerShell
- (C) Корпорация Майкрософт (Microsoft Corporation), 2016. Все права защищены.
- PS C:\Windows\system32> version
- version : Имя "version" не распознано как имя командлета, функции, файла сценария или выполняемой программы. Проверьте
- правильность написания имени, а также наличие и правильность пути, после чего повторите попытку.
- строка:1 знак:1
- + version
- + ~~~~~~~
- + CategoryInfo : ObjectNotFound: (version:String) [], CommandNotFoundException
- + FullyQualifiedErrorId : CommandNotFoundException
- PS C:\Windows\system32> -version
- -version : Имя "-version" не распознано как имя командлета, функции, файла сценария или выполняемой программы. Проверьт
- е правильность написания имени, а также наличие и правильность пути, после чего повторите попытку.
- строка:1 знак:1
- + -version
- + ~~~~~~~~
- + CategoryInfo : ObjectNotFound: (-version:String) [], CommandNotFoundException
- + FullyQualifiedErrorId : CommandNotFoundException
- PS C:\Windows\system32> help
- РАЗДЕЛ
- Справочная система Windows PowerShell
- КРАТКОЕ ОПИСАНИЕ
- Отображение справочных сведений о командлетах и основных понятиях Windows PowerShell.
- ПОДРОБНОЕ ОПИСАНИЕ
- В справке Windows PowerShell описываются командлеты,
- функции, сценарии и модули Windows PowerShell, а также объясняются основные понятия, в том числе
- элементы языка Windows PowerShell.
- Windows PowerShell не содержит файлов справки, однако можно просмотреть
- справочные разделы в Интернете или загрузить файлы справки с помощью командлета Update-Help
- на компьютер и затем отобразить справочные разделы с помощью командлета Get-Help
- в командной строке.
- Командлет Update-Help также позволяет загружать обновленные версии файлов
- по мере их выпуска, чтобы локальные справочные сведения оставались актуальными.
- В отсутствие файлов справки Get-Help отображает автоматически созданные справочные сведения о командлетах,
- функциях и сценариях.
- СПРАВКА В ИНТЕРНЕТЕ
- Справка по Windows PowerShell в Интернете находится в библиотеке TechNet
- (начало: http://go.microsoft.com/fwlink/?LinkID=108518).
- Для открытия справки по какому-либо командлету или функции в Интернете необходимо ввести следующее:
- Get-Help <имя_командлета> -Online
- UPDATE-HELP
- Для загрузки и установки файлов справки на компьютер необходимо выполнить следующие действия.
- 1. Запустить Windows PowerShell от имени администратора.
- 2. Ввести:
- Update-Help
- После установки файлов справки можно с помощью командлета Get-Help
- отобразить справочные разделы. Командлет Update-Help также позволяет
- загружать обновленные версии файлов справки, чтобы локальные справочные сведения оставались
- PS C:\Windows\system32> Update-Help
- PS C:\Windows\system32> Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).Downloa
- dString('https://chocolatey.org/install.ps1'))
- Getting latest version of the Chocolatey package for download.
- Getting Chocolatey from https://chocolatey.org/api/v2/package/chocolatey/0.10.11.
- Extracting C:\Users\98AF~1\AppData\Local\Temp\chocolatey\chocInstall\chocolatey.zip to C:\Users\98AF~1\AppData\Local\Temp\chocolatey\chocInstall...
- Installing chocolatey on this machine
- Creating ChocolateyInstall as an environment variable (targeting 'Machine')
- Setting ChocolateyInstall to 'C:\ProgramData\chocolatey'
- WARNING: It's very likely you will need to close and reopen your shell
- before you can use choco.
- Restricting write permissions to Administrators
- We are setting up the Chocolatey package repository.
- The packages themselves go to 'C:\ProgramData\chocolatey\lib'
- (i.e. C:\ProgramData\chocolatey\lib\yourPackageName).
- A shim file for the command line goes to 'C:\ProgramData\chocolatey\bin'
- and points to an executable in 'C:\ProgramData\chocolatey\lib\yourPackageName'.
- Creating Chocolatey folders if they do not already exist.
- WARNING: You can safely ignore errors related to missing log files when
- upgrading from a version of Chocolatey less than 0.9.9.
- 'Batch file could not be found' is also safe to ignore.
- 'The system cannot find the file specified' - also safe.
- ПРЕДУПРЕЖДЕНИЕ: Not setting tab completion: Profile file does not exist at
- 'C:\Users\Наталья\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1'.
- Chocolatey (choco.exe) is now ready.
- You can call choco from anywhere, command line or powershell by typing choco.
- Run choco /? for a list of functions.
- You may need to shut down and restart powershell and/or consoles
- first prior to using choco.
- Ensuring chocolatey commands are on the path
- Ensuring chocolatey.nupkg is in the lib folder
- PS C:\Windows\system32> Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).Downloa
- dString('https://chocolatey.org/install.ps1'))^C
- PS C:\Windows\system32> (Get-AuthenticodeSignature -FilePath C:\ProgramData\chocolatey\choco.exe).SignerCertificate | Fo
- rmat-List
- Subject : CN="Chocolatey Software, Inc.", O="Chocolatey Software, Inc.", L=Topeka, S=Kansas, C=US
- Issuer : CN=DigiCert SHA2 Assured ID Code Signing CA, OU=www.digicert.com, O=DigiCert Inc, C=US
- Thumbprint : 4BF7DCBC06F6D0BDFA8A0A78DE0EFB62563C4D87
- FriendlyName :
- NotBefore : 30.03.2018 3:00:00
- NotAfter : 14.04.2021 15:00:00
- Extensions : {System.Security.Cryptography.Oid, System.Security.Cryptography.Oid, System.Security.Cryptography.Oid, S
- ystem.Security.Cryptography.Oid...}
- PS C:\Windows\system32> choco install python
- Chocolatey v0.10.11
- Installing the following packages:
- python
- By installing you accept licenses for the packages.
- python v3.7.1 already installed.
- Use --force to reinstall, specify a version to install, or try upgrade.
- Chocolatey installed 0/1 packages.
- See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
- Warnings:
- - python - python v3.7.1 already installed.
- Use --force to reinstall, specify a version to install, or try upgrade.
- Did you know the proceeds of Pro (and some proceeds from other
- licensed editions) go into bettering the community infrastructure?
- Your support ensures an active community, keeps Chocolatey tip top,
- plus it nets you some awesome features!
- https://chocolatey.org/compare
- PS C:\Windows\system32> choco --force install python
- Chocolatey v0.10.11
- PS C:\Windows\system32> choco -force install python
- Chocolatey v0.10.11
- PS C:\Windows\system32> choco help
- Chocolatey v0.10.11
- Could not find a command registered that meets 'help'.
- Try choco -? for command reference/help.
- PS C:\Windows\system32> choco -?
- This is a listing of all of the different things you can pass to choco.
- Commands
- * list - lists remote or local packages
- * search - searches remote or local packages (alias for list)
- * info - retrieves package information. Shorthand for choco search pkgname --exact --verbose
- * install - installs packages from various sources
- * pin - suppress upgrades for a package
- * outdated - retrieves packages that are outdated. Similar to upgrade all --noop
- * upgrade - upgrades packages from various sources
- * uninstall - uninstalls a package
- * pack - packages up a nuspec to a compiled nupkg
- * push - pushes a compiled nupkg
- * new - generates files necessary for a chocolatey package from a template
- * sources - view and configure default sources (alias for source)
- * source - view and configure default sources
- * config - Retrieve and configure config file settings
- * features - view and configure choco features (alias for feature)
- * feature - view and configure choco features
- * setapikey - retrieves or saves an apikey for a particular source (alias for apikey)
- * apikey - retrieves or saves an apikey for a particular source
- * unpackself - have chocolatey set itself up
- * version - [DEPRECATED] will be removed in v1 - use `choco outdated` or `cup <pkg|all> -whatif` instead
- * update - [DEPRECATED] RESERVED for future use (you are looking for upgrade, these are not the droids you are looking for)
- Please run chocolatey with `choco command -help` for specific help on
- each command.
- How To Pass Options / Switches
- You can pass options and switches in the following ways:
- * Unless stated otherwise, an option/switch should only be passed one
- time. Otherwise you may find weird/non-supported behavior.
- * `-`, `/`, or `--` (one character switches should not use `--`)
- * **Option Bundling / Bundled Options**: One character switches can be
- bundled. e.g. `-d` (debug), `-f` (force), `-v` (verbose), and `-y`
- (confirm yes) can be bundled as `-dfvy`.
- * NOTE: If `debug` or `verbose` are bundled with local options
- (not the global ones above), some logging may not show up until after
- the local options are parsed.
- * **Use Equals**: You can also include or not include an equals sign
- `=` between options and values.
- * **Quote Values**: When you need to quote an entire argument, such as
- when using spaces, please use a combination of double quotes and
- apostrophes (`"'value'"`). In cmd.exe you can just use double quotes
- (`"value"`) but in powershell.exe you should use backticks
- (`` `"value`" ``) or apostrophes (`'value'`). Using the combination
- allows for both shells to work without issue, except for when the next
- section applies.
- * **Periods in PowerShell**: If you need to pass a period as part of a
- value or a path, PowerShell doesn't always handle it well. Please
- quote those values using "Quote Values" section above.
- * **Pass quotes in arguments**: When you need to pass quoted values to
- to something like a native installer, you are in for a world of fun. In
- cmd.exe you must pass it like this: `-ia "/yo=""Spaces spaces"""`. In
- PowerShell.exe, you must pass it like this: `-ia '/yo=""Spaces spaces""'`.
- No other combination will work. In PowerShell.exe if you are on version
- v3+, you can try `--%` before `-ia` to just pass the args through as is,
- which means it should not require any special workarounds.
- * Options and switches apply to all items passed, so if you are
- installing multiple packages, and you use `--version=1.0.0`, choco
- is going to look for and try to install version 1.0.0 of every
- package passed. So please split out multiple package calls when
- wanting to pass specific options.
- Default Options and Switches
- -?, --help, -h
- Prints out the help menu.
- -d, --debug
- Debug - Show debug messaging.
- -v, --verbose
- Verbose - Show verbose messaging. Very verbose messaging, avoid using
- under normal circumstances.
- --trace
- Trace - Show trace messaging. Very, very verbose trace messaging. Avoid
- except when needing super low-level .NET Framework debugging. Available
- in 0.10.4+.
- --nocolor, --no-color
- No Color - Do not show colorization in logging output. This overrides
- the feature 'logWithoutColor', set to 'False'. Available in 0.10.9+.
- --acceptlicense, --accept-license
- AcceptLicense - Accept license dialogs automatically. Reserved for
- future use.
- -y, --yes, --confirm
- Confirm all prompts - Chooses affirmative answer instead of prompting.
- Implies --accept-license
- -f, --force
- Force - force the behavior. Do not use force during normal operation -
- it subverts some of the smart behavior for commands.
- --noop, --whatif, --what-if
- NoOp / WhatIf - Don't actually do anything.
- -r, --limitoutput, --limit-output
- LimitOutput - Limit the output to essential information
- --timeout, --execution-timeout=VALUE
- CommandExecutionTimeout (in seconds) - The time to allow a command to
- finish before timing out. Overrides the default execution timeout in the
- configuration of 2700 seconds. '0' for infinite starting in 0.10.4.
- -c, --cache, --cachelocation, --cache-location=VALUE
- CacheLocation - Location for download cache, defaults to %TEMP% or value
- in chocolatey.config file.
- --allowunofficial, --allow-unofficial, --allowunofficialbuild, --allow-unofficial-build
- AllowUnofficialBuild - When not using the official build you must set
- this flag for choco to continue.
- --failstderr, --failonstderr, --fail-on-stderr, --fail-on-standard-error, --fail-on-error-output
- FailOnStandardError - Fail on standard error output (stderr), typically
- received when running external commands during install providers. This
- overrides the feature failOnStandardError.
- --use-system-powershell
- UseSystemPowerShell - Execute PowerShell using an external process
- instead of the built-in PowerShell host. Should only be used when
- internal host is failing. Available in 0.9.10+.
- --no-progress
- Do Not Show Progress - Do not show download progress percentages.
- Available in 0.10.4+.
- --proxy=VALUE
- Proxy Location - Explicit proxy location. Overrides the default proxy
- location of ''. Available for config settings in 0.9.9.9+, this CLI
- option available in 0.10.4+.
- --proxy-user=VALUE
- Proxy User Name - Explicit proxy user (optional). Requires explicity
- proxy (`--proxy` or config setting). Overrides the default proxy user of
- ''. Available for config settings in 0.9.9.9+, this CLI option available
- in 0.10.4+.
- --proxy-password=VALUE
- Proxy Password - Explicit proxy password (optional) to be used with
- username. Requires explicity proxy (`--proxy` or config setting) and
- user name. Overrides the default proxy password (encrypted in settings
- if set). Available for config settings in 0.9.9.9+, this CLI option
- available in 0.10.4+.
- --proxy-bypass-list=VALUE
- ProxyBypassList - Comma separated list of regex locations to bypass on
- proxy. Requires explicity proxy (`--proxy` or config setting). Overrides
- the default proxy bypass list of ''. Available in 0.10.4+.
- --proxy-bypass-on-local
- Proxy Bypass On Local - Bypass proxy for local connections. Requires
- explicity proxy (`--proxy` or config setting). Overrides the default
- proxy bypass on local setting of 'True'. Available in 0.10.4+.
- --log-file=VALUE
- Log File to output to in addition to regular loggers. Available in 0.1-
- 0.8+.
- Chocolatey v0.10.11
- PS C:\Windows\system32> choco uninstall python
- Chocolatey v0.10.11
- Uninstalling the following packages:
- python
- python v3.7.1
- Skipping auto uninstaller - No registry snapshot.
- python has been successfully uninstalled.
- Chocolatey uninstalled 1/1 packages.
- See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
- PS C:\Windows\system32> choco install python
- Chocolatey v0.10.11
- Installing the following packages:
- python
- By installing you accept licenses for the packages.
- Progress: Downloading python 3.7.1... 100%
- python3 v3.7.1 [Approved]
- python3 package files install completed. Performing other installation steps.
- The package python3 wants to run 'chocolateyInstall.ps1'.
- Note: If you don't run this script, the installation will fail.
- Note: To confirm automatically next time, use '-y' or consider:
- choco feature enable -n allowGlobalConfirmation
- Do you want to run the script?([Y]es/[N]o/[P]rint): p
- ------ BEGIN SCRIPT ------
- $ErrorActionPreference = 'STOP'
- $toolsPath = Split-Path $MyInvocation.MyCommand.Definition
- $pp = Get-PackageParameters
- $installDir = '{0}\Python{1}' -f $Env:SystemDrive, ($Env:ChocolateyPackageVersion -replace '\.').Substring(0,2)
- if ( $pp.InstallDir ) {
- $installDir = $pp.InstallDir
- if ($installDir.StartsWith("'") -or $installDir.StartsWith('"')){ $installDir = $installDir -replace '^.|.$' }
- mkdir -force $installDir -ea 0 | out-null
- }
- $packageArgs = @{
- packageName = 'python3'
- fileType = 'exe'
- file = "$toolsPath\python-3.7.1.exe"
- file64 = "$toolsPath\python-3.7.1-amd64.exe"
- silentArgs = '/quiet InstallAllUsers=1 PrependPath=1 TargetDir="{0}"' -f $installDir
- validExitCodes = @(0)
- softwareName = 'Python*'
- }
- Install-ChocolateyInstallPackage @packageArgs
- Get-ChildItem $toolsPath\*.exe | ForEach-Object { Remove-Item $_ -ea 0; if (Test-Path $_) { Set-Content "$_.ignore" '' }
- Write-Host "Installed to: '$installDir'"
- if (($Env:PYTHONHOME -ne $null) -and ($Env:PYTHONHOME -ne $InstallDir)) {
- Write-Warning "Environment variable PYTHONHOME points to different version: $Env:PYTHONHOME"
- }
- ------- END SCRIPT -------
- Do you want to run this script?([Y]es/[N]o): y
- Installing 64-bit python3...
- python3 has been installed.
- Installed to: 'C:\Python37'
- python3 can be automatically uninstalled.
- Environment Vars (like PATH) have changed. Close/reopen your shell to
- see the changes (or in powershell/cmd.exe just type `refreshenv`).
- The install of python3 was successful.
- Software installed as 'exe', install location is likely default.
- python v3.7.1 [Approved]
- python package files install completed. Performing other installation steps.
- The install of python was successful.
- Software install location not explicitly set, could be in package or
- default install location if installer.
- Chocolatey installed 2/2 packages.
- See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
- PS C:\Windows\system32> python -version
- python : Имя "python" не распознано как имя командлета, функции, файла сценария или выполняемой программы. Проверьте пр
- авильность написания имени, а также наличие и правильность пути, после чего повторите попытку.
- строка:1 знак:1
- + python -version
- + ~~~~~~
- + CategoryInfo : ObjectNotFound: (python:String) [], CommandNotFoundException
- + FullyQualifiedErrorId : CommandNotFoundException
- PS C:\Windows\system32> choco --version python
- 0.10.11
- PS C:\Windows\system32> choco --version
- 0.10.11
- PS C:\Windows\system32> python
- python : Имя "python" не распознано как имя командлета, функции, файла сценария или выполняемой программы. Проверьте пр
- авильность написания имени, а также наличие и правильность пути, после чего повторите попытку.
- строка:1 знак:1
- + python
- + ~~~~~~
- + CategoryInfo : ObjectNotFound: (python:String) [], CommandNotFoundException
- + FullyQualifiedErrorId : CommandNotFoundException
- PS C:\Windows\system32> python
- python : Имя "python" не распознано как имя командлета, функции, файла сценария или выполняемой программы. Проверьте пр
- авильность написания имени, а также наличие и правильность пути, после чего повторите попытку.
- строка:1 знак:1
- + python
- + ~~~~~~
- + CategoryInfo : ObjectNotFound: (python:String) [], CommandNotFoundException
- + FullyQualifiedErrorId : CommandNotFoundException
- PS C:\Windows\system32> ^C
- PS C:\Windows\system32> exit
- C:\Windows\system32>python -
- "python" не является внутренней или внешней
- командой, исполняемой программой или пакетным файлом.
- C:\Windows\system32>python -
Add Comment
Please, Sign In to add comment