問題:
I've been hearing the buzz about virtualenv lately, and I'm interested. 我最近聽到了關於virtualenv的嗡嗡聲,我很感興趣。 But all I've heard is a smattering of praise, and don't have a clear understanding of what it is or how to use it. 但我所聽到的只是一點點讚美,並且沒有清楚地瞭解它是什麼或如何使用它。
I'm looking for (ideally) a follow-along tutorial that can take me from Windows or Linux with no Python on it, and explain every step of (in no particular order): 我正在尋找(理想情況下)一個後續教程,它可以帶我從Windows或Linux上沒有Python,並解釋每一步(沒有特定的順序):
- what I should do to be able to start using
virtualenv
我應該怎麼做才能開始使用virtualenv
- specific reasons why using
virtualenv
is a good idea 使用virtualenv
具體原因是一個好主意 - situations where I can/can't use
virtualenv
我可以/不能使用virtualenv
- situations where I should/shouldn't use
virtualenv
我應該/不應該使用virtualenv
And step through (comprehensively) a couple sample situations of the should+can variety. 並且全面地介紹了應該+可以變化的幾個樣本情況。
So what are some good tutorials to cover this stuff? 那麼有什麼好的教程來涵蓋這些東西? Or if you have the time and interest, perhaps you can answer a few of those questions here. 或者如果您有時間和興趣,也許您可以在這裏回答其中的一些問題。 Either in your answer, or as a link to tutorials that answer it, these are the things I'd like to know. 無論是在你的答案中,還是作爲回答它的教程的鏈接,這些都是我想知道的。
解決方案:
參考一: https://stackoom.com/question/OWW5參考二: Comprehensive beginner's virtualenv tutorial? [closed]