Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 2,252 for kenv (0.05 sec)

  1. 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)
  2. 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)
  3. src/cmd/go/internal/cfg/cfg.go

    //
    // There is a copy of this code in x/tools/cmd/godoc/goroot.go.
    func findGOROOT(env string) string {
    	if env == "" {
    		// Not using Getenv because findGOROOT is called
    		// to find the GOROOT/go.env file. initEnvCache
    		// has passed in the setting from the user go/env file.
    		env = os.Getenv("GOROOT")
    	}
    	if env != "" {
    		return filepath.Clean(env)
    	}
    	def := ""
    	if r := runtime.GOROOT(); r != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  4. src/cmd/go/main.go

    	// but in practice there might be skew
    	// This makes sure we all agree.
    	cfg.OrigEnv = toolchain.FilterEnv(os.Environ())
    	cfg.CmdEnv = envcmd.MkEnv()
    	for _, env := range cfg.CmdEnv {
    		if os.Getenv(env.Name) != env.Value {
    			os.Setenv(env.Name, env.Value)
    		}
    	}
    
    	cmd.Flag.Usage = func() { cmd.Usage() }
    	if cmd.CustomFlags {
    		args = args[1:]
    	} else {
    		base.SetFromGOFLAGS(&cmd.Flag)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:09:11 UTC 2024
    - 10K bytes
    - Viewed (0)
  5. docs/ja/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: Sun Jun 11 21:38:15 UTC 2023
    - 16.6K bytes
    - Viewed (0)
  6. ci/official/containers/linux_arm64/devel.usertools/wheel_verification.bats

    # the venv and the venv is active when those tests run. The venv gets cleaned
    # up in teardown_file() above.
    @test "Wheel is installable" {
        python3 -m venv /tf/venv
        source /tf/venv/bin/activate
        python3 -m pip install --upgrade setuptools wheel
        python3 -m pip install "$TF_WHEEL"
    }
    
    @test "TensorFlow is importable" {
        source /tf/venv/bin/activate
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 02:14:00 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/tooltags.txt

    env GOOS=linux
    
    env GOARCH=amd64
    env GOAMD64=v3
    go list -f '{{context.ToolTags}}'
    stdout 'amd64.v1 amd64.v2 amd64.v3'
    
    env GOARCH=arm
    env GOARM=6
    go list -f '{{context.ToolTags}}'
    stdout 'arm.5 arm.6'
    
    env GOARCH=mips
    env GOMIPS=hardfloat
    go list -f '{{context.ToolTags}}'
    stdout 'mips.hardfloat'
    
    env GOARCH=mips64
    env GOMIPS=hardfloat
    go list -f '{{context.ToolTags}}'
    stdout 'mips64.hardfloat'
    
    env GOARCH=ppc64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 07:25:25 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/mod_replace.txt

    env GO111MODULE=on
    [short] skip
    
    cp go.mod go.mod.orig
    
    # Make sure the test builds without replacement.
    go build -mod=mod -o a1.exe .
    exec ./a1.exe
    stdout 'Don''t communicate by sharing memory'
    
    # Modules can be replaced by local packages.
    cp go.mod.orig go.mod
    go mod edit -replace=rsc.io/quote/v3=./local/rsc.io/quote/v3
    go build -o a2.exe .
    exec ./a2.exe
    stdout 'Concurrency is not parallelism.'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 3.7K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/telemetry.txt

    # to a user's environment.
    go help telemetry
    env TEST_TELEMETRY_DIR=
    
    # Set userconfig dir, which is determined by os.UserConfigDir.
    # The telemetry dir is determined using that.
    mkdir $WORK/userconfig
    env AppData=$WORK\userconfig # windows
    [GOOS:windows] env userconfig=$AppData
    env HOME=$WORK/userconfig # darwin,unix,ios
    [GOOS:darwin] env userconfig=$HOME'/Library/Application Support'
    [GOOS:ios] env userconfig=$HOME'/Library/Application Support'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 20:16:39 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/mod_gonoproxy.txt

    env GO111MODULE=on
    env sumdb=$GOSUMDB
    env proxy=$GOPROXY
    env GOPRIVATE GOPROXY GONOPROXY GOSUMDB GONOSUMDB
    env dbname=localhost.localdev/sumdb
    
    # disagree with sumdb fails
    cp go.mod.orig go.mod
    env GOSUMDB=$sumdb' '$proxy/sumdb-wrong
    ! go get rsc.io/quote
    stderr 'SECURITY ERROR'
    
    # GONOSUMDB bypasses sumdb, for rsc.io/quote, rsc.io/sampler, golang.org/x/text
    env GONOSUMDB='*/quote,*/*mple*,golang.org/x'
    go get rsc.io/quote
    rm go.sum
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 24 15:54:04 UTC 2023
    - 1.6K bytes
    - Viewed (0)
Back to top