Replies: 1 comment 1 reply
-
I always use the following steps when working with virtual environments, which you use to isolate one's project's dependencies from another one. First, change to the folder of your project. Then: # Create the virtual environment in the folder 'venv'
python -m venv venv
# Activate the virtual environment – your shell should now be prefixed with (venv)
. ./venv/bin/activate Now, all calls to
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've been running mkdocs-material for a few weeks from my main python install folder which I read is not the thing to do. So I installed it in a virtual environment and uninstalled it from the main python folder. Now the question is can I run it from another random folder by specifying the mkdocs.exe that sits in that virtual folder? Here is my batch file and it does run just fine -
So is this the correct way to run it, without activating the virtual environment first?
Beta Was this translation helpful? Give feedback.
All reactions