Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,564 for kenv (0.14 sec)

  1. ci/official/containers/linux_arm64/devel.usertools/setup_venv_test.sh

    # Example: setup_venv_test.sh bazel_pip "/tf/pkg/*.whl"
    # 
    # This will create a venv with that wheel file installed in it, and a symlink
    # in ./venv_and_symlink_name/tensorflow to ./tensorflow. We use this for the
    # "pip" tests.
    
    python -m venv /$1
    mkdir -p $1
    rm -f ./$1/tensorflow
    ln -s $(ls /$1/lib) /$1/lib/python3
    ln -s ../tensorflow $1/tensorflow
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Sep 18 14:52:45 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  2. ci/official/utilities/rename_and_verify_wheels.sh

      echo '(search for TFCI_WHL_SIZE_LIMIT to change it)'
      ls -sh *.whl
      exit 2
    fi
    
    # Quick install checks
    venv=$(mktemp -d)
    "python${TFCI_PYTHON_VERSION}" -m venv "$venv"
    python="$venv/bin/python3"
    "$python" -m pip install *.whl $TFCI_PYTHON_VERIFY_PIP_INSTALL_ARGS
    if [[ "$TFCI_WHL_IMPORT_TEST_ENABLE" == "1" ]]; then
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 27 21:16:27 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. pkg/kube/inject/template.go

    // in annotations/labels.
    func strdict(v ...string) map[string]string {
    	dict := map[string]string{}
    	lenv := len(v)
    	for i := 0; i < lenv; i += 2 {
    		key := v[i]
    		if i+1 >= lenv {
    			dict[key] = ""
    			continue
    		}
    		dict[key] = v[i+1]
    	}
    	return dict
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 16 02:12:03 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  4. docs/en/docs/contributing.md

    ### Virtual environment with `venv`
    
    You can create an isolated virtual local environment in a directory using Python's `venv` module. Let's do this in the cloned repository (where the `requirements.txt` is):
    
    <div class="termy">
    
    ```console
    $ python -m venv env
    ```
    
    </div>
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Jan 11 17:42:43 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  5. src/cmd/go/internal/bug/bug.go

    	fmt.Fprintf(w, "<details><summary><code>go env</code> Output</summary><br><pre>\n")
    	fmt.Fprintf(w, "$ go env\n")
    	printGoEnv(w)
    	printGoDetails(w)
    	printOSDetails(w)
    	printCDetails(w)
    	fmt.Fprintf(w, "</pre></details>\n\n")
    }
    
    func printGoEnv(w io.Writer) {
    	env := envcmd.MkEnv()
    	env = append(env, envcmd.ExtraEnvVars()...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. docs/de/docs/contributing.md

    ### Virtuelle Umgebung mit `venv`
    
    Sie können mit dem Python-Modul `venv` in einem Verzeichnis eine isolierte virtuelle lokale Umgebung erstellen. Machen wir das im geklonten Repository (da wo sich die `requirements.txt` befindet):
    
    <div class="termy">
    
    ```console
    $ python -m venv env
    ```
    
    </div>
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 23:55:23 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  7. cmd/common-main.go

    	var hasCredentials bool
    	//nolint:gocritic
    	if env.IsSet(config.EnvRootUser) && env.IsSet(config.EnvRootPassword) {
    		user = env.Get(config.EnvRootUser, "")
    		password = env.Get(config.EnvRootPassword, "")
    		hasCredentials = true
    	} else if env.IsSet(config.EnvAccessKey) && env.IsSet(config.EnvSecretKey) {
    		user = env.Get(config.EnvAccessKey, "")
    		password = env.Get(config.EnvSecretKey, "")
    		hasCredentials = true
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  8. ci/official/containers/linux_arm64/setup.python.sh

    set -xe
    
    source ~/.bashrc
    VERSION=$1
    REQUIREMENTS=$2
    
    add-apt-repository ppa:deadsnakes/ppa
    # Install Python packages for this container's version
    cat >pythons.txt <<EOF
    $VERSION
    $VERSION-dev
    $VERSION-venv
    $VERSION-distutils
    EOF
    /setup.packages.sh pythons.txt
    
    # Re-link pyconfig.h from aarch64-linux-gnu into the devtoolset directory
    # for any Python version present
    pushd /usr/include/aarch64-linux-gnu
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Sep 29 00:26:34 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  9. docs/fr/docs/contributing.md

    ### Environnement virtuel avec `venv`
    
    Vous pouvez créer un environnement virtuel dans un répertoire en utilisant le module `venv` de Python :
    
    <div class="termy">
    
    ```console
    $ python -m venv env
    ```
    
    </div>
    
    Cela va créer un répertoire `./env/` avec les binaires Python et vous pourrez alors installer des paquets pour cet environnement isolé.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Jul 27 18:51:07 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  10. docs/zh/docs/contributing.md

    ## 开发
    
    如果你已经克隆了源码仓库,并且需要深入研究代码,下面是设置开发环境的指南。
    
    ### 通过 `venv` 管理虚拟环境
    
    你可以使用 Python 的 `venv` 模块在一个目录中创建虚拟环境:
    
    <div class="termy">
    
    ```console
    $ python -m venv env
    ```
    
    </div>
    
    这将使用 Python 程序创建一个 `./env/` 目录,然后你将能够为这个隔离的环境安装软件包。
    
    ### 激活虚拟环境
    
    使用以下方法激活新环境:
    
    === "Linux, macOS"
    
        <div class="termy">
    
        ```console
        $ source ./env/bin/activate
        ```
    
        </div>
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 11:57:21 UTC 2024
    - 12.9K bytes
    - Viewed (0)
Back to top