wiki:jazz/20-04-25

Version 5 (modified by jazz, 5 years ago) (diff)

--

2020-04-25

Scoop

  • https://www.kittell.net/code/powershell-unix-sed-equivalent-change-text-file/
    {
        "version": "3.8.2",
        "homepage": "https://www.python.org/",
        "description": "A programming language that lets you work quickly and integrate systems more effectively.",
        "license": "Python-2.0",
        "architecture": {
            "64bit": {
                "url": [
                    "https://www.python.org/ftp/python/3.8.2/python-3.8.2-embed-amd64.zip",
                    "https://bootstrap.pypa.io/get-pip.py"
                ],
                "hash": [
                    "2927a3a6d0fe1f6e047a86059220aeda374eed23113b9ef5355acb8452d56453",
                    "421ac1d44c0cf9730a088e337867d974b91bdce4ea2636099275071878cc189e"
                ]
            },
            "32bit": {
                "url": [
                    "https://www.python.org/ftp/python/3.8.2/python-3.8.2-embed-win32.zip",
                    "https://bootstrap.pypa.io/get-pip.py"
                ],
                "hash": [
                    "3fefc09b640bb6bd1d91f9c3a63e314fb19d29603c1194db528b58efafbcbadb",
                    "421ac1d44c0cf9730a088e337867d974b91bdce4ea2636099275071878cc189e"
                ]
            }
        },
        "post_install": [
            "(Get-Content \"$dir\\python38._pth\").replace(\"#import site\",\"import site\") | Set-Content \"$dir\\python38._pth\"",
            "python \"$dir\\get-pip.py\""
        ],
        "bin": [
            "python.exe",
            "pythonw.exe",
            [
                "python.exe",
                "python3"
            ]
        ],
        "env_add_path": [
            "Scripts",
            "."
        ]
    }
    

Python on Windows

Windows PowerShell
Copyright (C) 2016 Microsoft Corporation. All rights reserved.

PS C:\Users\yawang> pip install virtenv
Collecting virtenv
  Using cached virtenv-0.3.1-py2.py3-none-any.whl (5.8 kB)
Collecting virtualenv
  Using cached virtualenv-20.0.18-py2.py3-none-any.whl (4.6 MB)
Collecting pythonfinder
  Using cached pythonfinder-1.2.3-py2.py3-none-any.whl (39 kB)
Collecting distlib<1,>=0.3.0
  Using cached distlib-0.3.0.zip (571 kB)
    ERROR: Command errored out with exit status 1:
     command: 'c:\scoop\apps\python-embed\current\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'E
:\\SVROOT\\Users\\yawang\\AppData\\Local\\Temp\\1\\pip-install-i0rq_uxn\\distlib\\setup.py'"'"'; __file__='"'"'E:\\SVROO
T\\Users\\yawang\\AppData\\Local\\Temp\\1\\pip-install-i0rq_uxn\\distlib\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'
"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec
'"'"'))' egg_info --egg-base 'E:\SVROOT\Users\yawang\AppData\Local\Temp\1\pip-install-i0rq_uxn\distlib\pip-egg-info'
         cwd: E:\SVROOT\Users\yawang\AppData\Local\Temp\1\pip-install-i0rq_uxn\distlib\
    Complete output (5 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "E:\SVROOT\Users\yawang\AppData\Local\Temp\1\pip-install-i0rq_uxn\distlib\setup.py", line 14, in <module>
        import distlib
    ModuleNotFoundError: No module named 'distlib'
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
PS C:\Users\yawang>

Attachments (1)

Download all attachments as: .zip