久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

      <i id='GQnaG'><tr id='GQnaG'><dt id='GQnaG'><q id='GQnaG'><span id='GQnaG'><b id='GQnaG'><form id='GQnaG'><ins id='GQnaG'></ins><ul id='GQnaG'></ul><sub id='GQnaG'></sub></form><legend id='GQnaG'></legend><bdo id='GQnaG'><pre id='GQnaG'><center id='GQnaG'></center></pre></bdo></b><th id='GQnaG'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='GQnaG'><tfoot id='GQnaG'></tfoot><dl id='GQnaG'><fieldset id='GQnaG'></fieldset></dl></div>
        <bdo id='GQnaG'></bdo><ul id='GQnaG'></ul>

      <legend id='GQnaG'><style id='GQnaG'><dir id='GQnaG'><q id='GQnaG'></q></dir></style></legend>
    1. <tfoot id='GQnaG'></tfoot>

      <small id='GQnaG'></small><noframes id='GQnaG'>

      virtualenv v16.7.2 powershell activate 腳本:&quot;你必須

      virtualenv v16.7.2 powershell activate script: quot;You must #39;source#39; this script: PSgt; . .ENVScriptsactivatequot; error(virtualenv v16.7.2 powershell activate 腳本:quot;你必須source這個腳本:PSgt;..ENVScriptsactivate錯誤) -
      <legend id='ubKjr'><style id='ubKjr'><dir id='ubKjr'><q id='ubKjr'></q></dir></style></legend>
        <bdo id='ubKjr'></bdo><ul id='ubKjr'></ul>
            <tbody id='ubKjr'></tbody>

        • <tfoot id='ubKjr'></tfoot>
          <i id='ubKjr'><tr id='ubKjr'><dt id='ubKjr'><q id='ubKjr'><span id='ubKjr'><b id='ubKjr'><form id='ubKjr'><ins id='ubKjr'></ins><ul id='ubKjr'></ul><sub id='ubKjr'></sub></form><legend id='ubKjr'></legend><bdo id='ubKjr'><pre id='ubKjr'><center id='ubKjr'></center></pre></bdo></b><th id='ubKjr'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='ubKjr'><tfoot id='ubKjr'></tfoot><dl id='ubKjr'><fieldset id='ubKjr'></fieldset></dl></div>
              1. <small id='ubKjr'></small><noframes id='ubKjr'>

                本文介紹了virtualenv v16.7.2 powershell activate 腳本:&quot;你必須'source'這個腳本:PS&gt;..ENVScriptsactivate"錯誤的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                問題描述

                python v.3.7.4 上最新版本的 virtualenv (16.7.2) 為activate.ps1"增加了 4 行.腳本,在 Windows10 powerhsell 上運行時會出現錯誤:You must 'source' this script: PS>..ENVScriptsactivate我該如何解決?(請注意,我已經閱讀并完成了其他論壇問題以及與 windows 和 powershell 相關的 virtualenv 手冊中提到的所有內容.)

                Newest version of virtualenv (16.7.2) on python v.3.7.4 has 4 additional lines for the "activate.ps1" script, which when run on Windows10 powerhsell gives the error: You must 'source' this script: PS> . .ENVScriptsactivate How do I fix this? (please note that I have read and done all that was mentioned on the other forum questions as well as the manual for virtualenv related to windows and powershell.)

                我已將執行策略設置為 RemoteSigned(按照其他論壇的建議):

                I have set the execution policy to RemoteSigned (as recommended in other forums):

                Get-ExecutionPolicy -List
                
                        Scope ExecutionPolicy
                        ----- ---------------
                MachinePolicy       Undefined
                   UserPolicy       Undefined
                      Process       Undefined
                  CurrentUser       Undefined
                 LocalMachine    RemoteSigned
                

                當我想激活 virtualenv 時,我運行 .ENVScriptsactivate

                When I want to activate virtualenv, I run .ENVScriptsactivate

                問題在于創建新虛擬環境時由 virtualenv 自動生成的 activate.ps1 腳本的第 3 到 6 行:

                The problem is with lines 3 to 6 of the activate.ps1 script that is auto generated by virtualenv when you make a new virtual environment:

                if (@($null,"Internal") -notcontains $myinvocation.commandorigin) {
                    Write-Host -Foreground red "You must 'source' this script: PS> . $($myinvocation.invocationname)"
                    exit 33
                }
                

                似乎 $myinvocation.commandorigin 設置為 Runspace 而不是 Internal

                It seems that $myinvocation.commandorigin is set to Runspace instead of Internal

                我該如何解決這個問題?有任何想法嗎?謝謝 :)))請注意,我不想手動調整每個自動生成 activate.ps1 文件.

                How do I fix this? Any ideas? Thanks :))) Note that I don't want to manually adjust every auto-gen activate.ps1 file.

                推薦答案

                我們來看看那個錯誤信息:

                Let's have a look at that error message:

                您必須獲取"此腳本:PS>..ENVScriptsactivate

                Hmmmm... - PS> 可能只是提示,給我們留下了這樣的提示:

                Hmmmm... - PS> is probably just the prompt, which leaves us with this:

                  . .ENVScriptsactivate
                # ^
                # |
                # Check out this guy
                

                那個,路徑前面那個孤獨的.,也就是powershell中的dot-source operator.

                That, the lonely . in front of the path, that is the dot-source operator in powershell.

                根據 文檔,它:

                在當前范圍內運行腳本,以便將腳本創建的任何函數、別名和變量添加到當前范圍內.

                Runs a script in the current scope so that any functions, aliases, and variables that the script creates are added to the current scope.

                我沒有看過 virtualenv,但我認為它需要定義一些變量并確保這些變量在腳本運行后仍然存在,它需要運行在當前范圍內.

                I haven't had a look at virtualenv, but I assume it'll want to define a number of variables and to ensure that these persist after the script has run, it needs to be run in the current scope.

                所以這是你必須運行的 literal 命令來修復它:

                So this is the literal command you have to run to fix it:

                . .ENVScriptsactivate
                

                這篇關于virtualenv v16.7.2 powershell activate 腳本:&quot;你必須'source'這個腳本:PS&gt;..ENVScriptsactivate"錯誤的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                相關文檔推薦

                How to make a discord bot that gives roles in Python?(如何制作一個在 Python 中提供角色的不和諧機器人?)
                Discord bot isn#39;t responding to commands(Discord 機器人沒有響應命令)
                Can you Get the quot;About mequot; feature on Discord bot#39;s? (Discord.py)(你能得到“關于我嗎?Discord 機器人的功能?(不和諧.py))
                message.channel.id Discord PY(message.channel.id Discord PY)
                How do I host my discord.py bot on heroku?(如何在 heroku 上托管我的 discord.py 機器人?)
                discord.py - Automaticaly Change an Role Color(discord.py - 自動更改角色顏色)
                  <bdo id='kmBsw'></bdo><ul id='kmBsw'></ul>

                    <tbody id='kmBsw'></tbody>
                • <legend id='kmBsw'><style id='kmBsw'><dir id='kmBsw'><q id='kmBsw'></q></dir></style></legend>

                    1. <small id='kmBsw'></small><noframes id='kmBsw'>

                        • <tfoot id='kmBsw'></tfoot>

                          <i id='kmBsw'><tr id='kmBsw'><dt id='kmBsw'><q id='kmBsw'><span id='kmBsw'><b id='kmBsw'><form id='kmBsw'><ins id='kmBsw'></ins><ul id='kmBsw'></ul><sub id='kmBsw'></sub></form><legend id='kmBsw'></legend><bdo id='kmBsw'><pre id='kmBsw'><center id='kmBsw'></center></pre></bdo></b><th id='kmBsw'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='kmBsw'><tfoot id='kmBsw'></tfoot><dl id='kmBsw'><fieldset id='kmBsw'></fieldset></dl></div>
                          主站蜘蛛池模板: caoporn视频在线 | 亚洲免费在线观看 | 国产精品久久性 | 欧美1区| 国产一级片免费在线观看 | 古典武侠第一页久久777 | 午夜免费在线观看 | 久久久精品一区 | 中文字幕第一页在线 | 日本免费黄色 | 国产中文视频 | 成人精品一区二区三区中文字幕 | 国产一二区免费视频 | 国产精品视频在线观看 | 国产一区二区三区在线 | 精品影院 | 最近免费日本视频在线 | 精品视频一区二区三区在线观看 | 羞羞视频在线观看网站 | 亚洲精品99 | 99久久中文字幕三级久久日本 | 大陆一级毛片免费视频观看 | 91在线网站| 午夜av电影 | 亚洲伊人久久综合 | www.五月婷婷.com | 久久国产一区 | 成人在线观看免费视频 | 国产亚洲一区二区三区 | 碰碰视频 | 欧洲一区二区三区 | 国产精品麻 | 国产精品污www一区二区三区 | a级黄色网 | 日本小电影在线 | 在线一区视频 | 亚洲免费成人 | 欧美一区二区在线 | 日韩欧美在线精品 | 欧美成人精品激情在线观看 | 天堂av在线影院 |