Setup VS Code for Python with Pyenv and Poetry

Ғылым және технология

Before diving into Programming, Test Automation, Machine Learning, and other awesome things you can do with Python, you need to setup your machine and IDE properly.
In this video, I go over my preferred Python setup using pyenv as my interpreter manager, poetry as my package manager, and VS Code as my IDE. The rest of my Python videos (from now on) will most likely be using this setup, so it's good to know how to follow along.
Steps
----------
1. Install pyenv - github.com/pyenv/pyenv
* If on Mac, use $ brew install pyenv
* Install a Python interpreter, like $ pyenv install 3.8.6
* Set it globally with $ pyenv global 3.8.6
2. Install poetry - python-poetry.org
* $ pip install poetry
3. Start the Project
* Install Python and Pylance Extensions
* Initialize your Python Project (with $ poetry init) and follow the guide
* $ poetry install
* $ poetry add [PACKAGE] to install any additional packages
3a. Setup VS Code - code.visualstudio.com/docs/la...
* Find the virtual environment path that poetry created (with $ poetry env info)
* Open Command Palette, then Python: Select Interpreter
* If you followed along in the video, we installed pyleniumio which comes with pytest, so now we open the Command Palette again, then Python: Configure Tests
* OPTIONAL - Configure Linter and Formatter, or just use Pylance's built-in functionality

Пікірлер: 100

  • @shamila5440
    @shamila54403 жыл бұрын

    Thanks Carlos, this is really helpful specially when you start new project using VS Code for the first time...

  • @user-or7ji5hv8y
    @user-or7ji5hv8y3 жыл бұрын

    Just the video I was looking for.

  • @JamesWiles
    @JamesWiles3 жыл бұрын

    You just solved a 3 hour debugging session for me! I wish I found your video first. I am subscribing!

  • @qaatthepointcarloskidman8382

    @qaatthepointcarloskidman8382

    3 жыл бұрын

    That makes me so happy! I'm super glad that you found the answer cuz I know how frustrating that can be

  • @JamesWiles

    @JamesWiles

    3 жыл бұрын

    @@qaatthepointcarloskidman8382 what theme are you using for VSC? It looks nice and good for your eyes...

  • @qaatthepointcarloskidman8382

    @qaatthepointcarloskidman8382

    3 жыл бұрын

    @@JamesWiles I switch themes all the time, but I believe this was Horizon

  • @kevon217
    @kevon217 Жыл бұрын

    Thanks for the walkthrough!

  • @danielfloyd4559
    @danielfloyd45593 жыл бұрын

    Awesome video! Thank you.

  • @hooregi4500
    @hooregi45003 жыл бұрын

    Great video. I recently made the switch to poetry and this was very helpful. Maybe a good video idea would be for you to go over personal settings/extensions and the thought process on why they're there, idk I enjoy those videos haha. Cheers!

  • @qaatthepointcarloskidman8382

    @qaatthepointcarloskidman8382

    3 жыл бұрын

    I love the idea! I'll see what I can do

  • @oleksandrklimenkov5988
    @oleksandrklimenkov59882 жыл бұрын

    I was looking how to use a debugger inside a Poetry environment. Setting the correct path to interpreter 10:42 helped me.

  • @KevinFlowersJr

    @KevinFlowersJr

    Жыл бұрын

    And at 9:40 he mentions using the `poetry env info --path` to get the path that's needed (Note: if nothing shows up from this terminal/PowerShell command, then you need to create a virtualenv with the `poetry shell` command first) Had the same issue myself @Oleksandr Klimenkov so I appreciate you pointing this out 🙏 For anyone else who runs into this issue: Assuming they have 1. VS Code installed, 2. Poetry installed, 3. the Python extension by MS from the VS Code extensions market place (use Ctrl + Shift + X in VS Code to open it up and search "python") 4. a folder/directory for their preexisting Python project (which wasn't initially made with Poetry) And they want 1. to get their preexisting Python project to become a Poetry project (ie, use Poetry to manage package dependencies & virtual environments) 2. to debug in VS Code while using Poetry Then they should [To get Poetry files set up] 1. Open up VS Code 2. Open up terminal (can use keyboard shortcut Ctrl + ` ) 3. Change directory to be the folder where your project is, usually with something like "cd ./path/to/my_project_folder" in the terminal/PowerShell and press Enter 4. Type "poetry init" in terminal/PowerShell and press Enter to setup (Poetry should walk through the steps interactively) [To get interpreter set up to the one Poetry is using] 5. Open command pallet (Ctrl + Shift + P or F1) 6. Search for "python: select interpreter", select it with mouse or navigate with arrow keys and press Enter 7. Select "Enter interpreter path..." 8. Go back to terminal/PowerShell (Ctrl + ` ) 9. Make sure you're in the directory with the pyproject.toml file (which got created by step 4.) 10. Type "poetry env info --path" and press Enter. (Note: if nothing shows up, then you need to create a virtualenv by typing "poetry shell" into the terminal/powershell first. Then repeat step 10) 11. Copy and paste that in the prompt box at the top that says "Enter path to a Python interpreter" and press Enter [To debug Python file in Poetry project] 12. Open up the .py file in your project you want to debug 13. Set any break points you like 14. Press F5 to begin debugging 15. Enjoy! ^.^

  • @amazingcutie635
    @amazingcutie635 Жыл бұрын

    Kandungan video sangat baik, tahniah

  • @gustavosobreirodeassis4382
    @gustavosobreirodeassis43822 жыл бұрын

    Thank you!!

  • @PREPADOK
    @PREPADOK3 жыл бұрын

    thanks to you i got better!!

  • @qaatthepointcarloskidman8382

    @qaatthepointcarloskidman8382

    3 жыл бұрын

    I'm so glad! Thank you 😁

  • @deemon710
    @deemon710 Жыл бұрын

    This was great! I have used python for a couple years but embarrassingly, was basically running everything off of my global environment. I've dabbled with virtual environments but I'm not really comfortable with how to juggle it all and I wasn't aware how important it is to use them. This Poetry thing seems to be a few steps above virtualenv, what I've used, so I'm hoping to find a video that'll me get comfortable working with virtual environments, learning the conventions, and answer questions like is Poetry the defacto standard now-a-days? Are there trade-offs between Poetry and pyenv, virtualenv, and whatnot? I really like your style of teaching so I hope you have something like that.

  • @qaatthepointcarloskidman8382

    @qaatthepointcarloskidman8382

    Жыл бұрын

    These are great questions! I will be making more videos myself here soon, so I'm super happy for the feedback and ideas. I'll make one around this for sure because it's not very clear unfortunately

  • @karocify
    @karocify5 ай бұрын

    Watching in 2024 - this was extremely helpful (:

  • @vijaybabaria3253
    @vijaybabaria32533 жыл бұрын

    Would love to see more pytest skeleton video for bigger project , if you get time

  • @qaatthepointcarloskidman8382

    @qaatthepointcarloskidman8382

    3 жыл бұрын

    I'm not quite sure what you mean by "pytest skeleton". Usually you'll have a tests folder that contains your tests for the code that exists elsewhere in the project. How you organize things inside and outside the tests folder is up to you!

  • @CandyHam
    @CandyHam3 жыл бұрын

    You have a great teaching/narration style. Thank you for sharing this video. Unfortunately pyenv isn't working for me. Python 2.7 is still the default even after pyenv shows 3.9.1 is selected for global.

  • @qaatthepointcarloskidman8382

    @qaatthepointcarloskidman8382

    3 жыл бұрын

    Interesting. If you followed everything exactly, I'm not sure why that would be the case. What matters most is that you can create projects with poetry and have the virtual environment target 3.9.1 What have you found in your searching for this problem?

  • @pa6552
    @pa65523 жыл бұрын

    Thanks! This is awesome! What (if any) do you need to do if you want to stay with PyCharm? Or should I ask, why do you use VSCode and not Pycharm?

  • @qaatthepointcarloskidman8382

    @qaatthepointcarloskidman8382

    3 жыл бұрын

    PyCharm will create a virtual environment automatically if you create a new project in their UI. I use VS Code because: - it's more lightweight (PyCharm is HEAVY) - it's more customizable - it's more popular and well-known - I use many languages every day, not just Python, and VS Code works well for all of them

  • @pa6552

    @pa6552

    3 жыл бұрын

    @@qaatthepointcarloskidman8382 Thanks! Have a Sub :)

  • @qaatthepointcarloskidman8382

    @qaatthepointcarloskidman8382

    3 жыл бұрын

    @@pa6552 thanks!

  • @pa6552

    @pa6552

    3 жыл бұрын

    @@qaatthepointcarloskidman8382 I tried using pyenv install 3.8.0 but got these errors... configure: error: C compiler cannot create executables See `config.log' for more details make: *** No targets specified and no makefile found. Stop. Can you help? I'm on MacOS

  • @vijaybabaria3253
    @vijaybabaria32533 жыл бұрын

    Great tutorial, is pyenv available on windows platform? Thanks

  • @qaatthepointcarloskidman8382

    @qaatthepointcarloskidman8382

    3 жыл бұрын

    Yes!

  • @shaiavraham2910
    @shaiavraham29102 жыл бұрын

    Just out of curiosity, what font are you using in VSCode?

  • @qaatthepointcarloskidman8382

    @qaatthepointcarloskidman8382

    2 жыл бұрын

    Open Mono Lig, but you can use a free version like Fira Code!

  • @user-zb9xd4dj4y
    @user-zb9xd4dj4y2 жыл бұрын

    Thanks! Can I ask what theme you use for VScode?

  • @qaatthepointcarloskidman8382

    @qaatthepointcarloskidman8382

    2 жыл бұрын

    I'm constantly switching them 😅, but I believe this one was Night Owl. Horizons is good as well, Synthwave84, TokyoNight, and more. It's one of the reasons I like VS Code so much!

  • @user-zb9xd4dj4y

    @user-zb9xd4dj4y

    2 жыл бұрын

    @@qaatthepointcarloskidman8382 oh thanks for sharing! Have a nice day🙂

  • @hansenmarc
    @hansenmarc2 жыл бұрын

    What a beautiful shell! What color scheme are you using?

  • @qaatthepointcarloskidman8382

    @qaatthepointcarloskidman8382

    2 жыл бұрын

    Thank you! For this video, here is what I had for the shell Terminal: Alacritty Shell: ZSH (aka z-shell from oh my zsh) Theme: robbyrussell and Powerline10k

  • @hansenmarc

    @hansenmarc

    2 жыл бұрын

    @@qaatthepointcarloskidman8382 thank you! What color theme did you use for the VS Code terminal?

  • @qaatthepointcarloskidman8382

    @qaatthepointcarloskidman8382

    2 жыл бұрын

    @@hansenmarc it's the same terminal. I have VS Code use the same terminal as the one you see in the beginning. Poetry is the package manager I'm using to install packages with Python. That's probably what you're talking about, but it's not a theme

  • @hansenmarc

    @hansenmarc

    2 жыл бұрын

    ​@@qaatthepointcarloskidman8382 thanks again for patiently walking me through your setup! In case any other subscribers are interested, here's what finally worked for me (on Mac): Terminal: iTerm Shell: ZSH (aka z-shell from oh my zsh) Theme: powerlevel10k (also installed powerline fonts) color theme: Started with Tinacious Design (Dark), then used the eyedropper to tweak the colors to be more like yours.

  • @user-or7ji5hv8y
    @user-or7ji5hv8y3 жыл бұрын

    What do we do when brew doctor complains about the config conflicts coming from Python installations under .pyenv directory?

  • @qaatthepointcarloskidman8382

    @qaatthepointcarloskidman8382

    3 жыл бұрын

    brew doctor should give you recommendations on what you can do. Otherwise, I'd search for the error it's raising to find a solution

  • @seghirissam2662
    @seghirissam26622 жыл бұрын

    why i need pyenv if i use the python version who i'm installed with my env with poetry ? , and you can switch between python version in python with select interrupter so what the benefit of pyenv here ?

  • @qaatthepointcarloskidman8382

    @qaatthepointcarloskidman8382

    2 жыл бұрын

    pyenv installs and manages Python versions. Poetry doesn't do that. venv doesn't do that. VS Code doesn't do that. They use whatever versions are on your machine, which is what pyenv does

  • @funmilolakatibi1093
    @funmilolakatibi1093 Жыл бұрын

    Hi Carlos, Great Video! Also, I like your command prompt. Is there any way you can share the Script?

  • @qaatthepointcarloskidman8382

    @qaatthepointcarloskidman8382

    Жыл бұрын

    Thanks! Which script are you wanting?

  • @funmilolakatibi1093

    @funmilolakatibi1093

    Жыл бұрын

    @@qaatthepointcarloskidman8382 $PS1 prompt

  • @qaatthepointcarloskidman8382

    @qaatthepointcarloskidman8382

    Жыл бұрын

    @@funmilolakatibi1093 I'm sorry, I'm still not sure 😅 can you give me a timestamp of the video?

  • @stevey19861
    @stevey19861 Жыл бұрын

    Can you please explain which VSCODE Extensiions you are using?

  • @qaatthepointcarloskidman8382

    @qaatthepointcarloskidman8382

    Жыл бұрын

    I have a lot of extensions 😅 I use some for everything and others are per project. Is there something specific you're looking for or just a general list of what I use? For example, I use VS Code Vim

  • @getowtofheyah3161
    @getowtofheyah31613 жыл бұрын

    So they didn't post that snippet after the pyenv installation. What does that snippet even do? Should I still try copying it?

  • @qaatthepointcarloskidman8382

    @qaatthepointcarloskidman8382

    3 жыл бұрын

    Try proceeding without it for now. A lot has changed since this recording haha. VS Code natively supports poetry now, for example

  • @getowtofheyah3161

    @getowtofheyah3161

    3 жыл бұрын

    @@qaatthepointcarloskidman8382 Thanks for the quick response!

  • @magnusnorlingmn
    @magnusnorlingmn3 жыл бұрын

    Liked the video, but it only used my python.pythonPath when i put /bin/python behind the virtual environment path, is that going to be a problem?

  • @qaatthepointcarloskidman8382

    @qaatthepointcarloskidman8382

    3 жыл бұрын

    If you followed the setup with poetry, then you don't need to manage the venv yourself since poetry handles that

  • @magnusnorlingmn

    @magnusnorlingmn

    3 жыл бұрын

    @@qaatthepointcarloskidman8382 i have followed the setup with poetry and it does not register the interpreter? pls help this is my .zshrc file: export PATH="/home/MyUser/.pyenv/bin:$PATH" eval "$(pyenv init -)" eval "$(pyenv virtualenv-init -)" export PATH=$PATH:$HOME/.poetry/bin

  • @qaatthepointcarloskidman8382

    @qaatthepointcarloskidman8382

    3 жыл бұрын

    @@magnusnorlingmn did you run the Python: Select Interpreter command in VS Code using the poetry env info path?

  • @magnusnorlingmn

    @magnusnorlingmn

    3 жыл бұрын

    @@qaatthepointcarloskidman8382 i used the env info path and copied it and pasted it in the Python: Select Interpreter and pressed enter It even created the settings file but it still says i need to select a python interpreter

  • @qaatthepointcarloskidman8382

    @qaatthepointcarloskidman8382

    3 жыл бұрын

    @@magnusnorlingmn sounds like a problem with VS Code or the Python Extension. I'm not sure why that's happening, sorry :(

  • @jmreagle
    @jmreagle3 жыл бұрын

    What Shell and autosuggestion system are you using there?

  • @qaatthepointcarloskidman8382

    @qaatthepointcarloskidman8382

    3 жыл бұрын

    I'm using zshell with the zsh-autosuggestions plugin :)

  • @jmreagle

    @jmreagle

    3 жыл бұрын

    @@qaatthepointcarloskidman8382 I saw you using zsh, as do I, so my autosuggestions must not be working, I'll have to investigate. Thanks for the video!

  • @sazk4000
    @sazk40002 жыл бұрын

    question: if you're using pyenv and poetry aren't you setting up nested virtual environments?

  • @qaatthepointcarloskidman8382

    @qaatthepointcarloskidman8382

    2 жыл бұрын

    No. Pyenv manages Python versions. Poetry manages virtual environments. Similar to nvm + npm from javascript

  • @sazk4000

    @sazk4000

    2 жыл бұрын

    @@qaatthepointcarloskidman8382 `mkdir mydir && cd mydir && pyenv local `... doesn't that give a sort of virtual environment using pyenv because that specific version and pip are isolated to that directory?

  • @qaatthepointcarloskidman8382

    @qaatthepointcarloskidman8382

    2 жыл бұрын

    @@sazk4000 pyenv local create a dot file that pyenv will use to automatically switch to that version when in that directory. It has nothing to do with virtual environments.

  • @sazk4000

    @sazk4000

    2 жыл бұрын

    @@qaatthepointcarloskidman8382 so to my understanding.. we can use pyenv + poetry in the same way as conda.. creating a virtual environment and adding packages....with the added benefit of `poetry publish`.. is that correct?

  • @qaatthepointcarloskidman8382

    @qaatthepointcarloskidman8382

    2 жыл бұрын

    @@sazk4000 yeah, that's true. conda is probably much better now, but I haven't used it because of limited libraries and conflicts that made it a headache. I haven't had any problems with pyenv and poetry besides monorepos which we still solved anyway

  • @user-or7ji5hv8y
    @user-or7ji5hv8y3 жыл бұрын

    Why is your dependencies being installed in Library/Caches? Instead of .venv?

  • @qaatthepointcarloskidman8382

    @qaatthepointcarloskidman8382

    3 жыл бұрын

    Poetry creates a virtual environment in a sub directory of that location and installs the packages there

  • @shaiavraham2910

    @shaiavraham2910

    2 жыл бұрын

    It can be customized actually by running poetry config virtualenvs.in-project true To create .venv environment in the project root

  • @Skeatsies
    @Skeatsies3 жыл бұрын

    My mans repping the SAO poster in the background

  • @qaatthepointcarloskidman8382

    @qaatthepointcarloskidman8382

    3 жыл бұрын

    You know it!

  • @cposadaa
    @cposadaa2 жыл бұрын

    I did all the steps but I don't see the vscode/settings.json file. The interpreter did change in the bottom but I don't see the folder, is this normal ?

  • @qaatthepointcarloskidman8382

    @qaatthepointcarloskidman8382

    2 жыл бұрын

    It is now. They changed that after the recording. The .vscode folder and settings.json should appear after you configure the tests

  • @cposadaa

    @cposadaa

    2 жыл бұрын

    @@qaatthepointcarloskidman8382 It did appear after I configure the test, but it does not have the "python.pythonpath"

  • @qaatthepointcarloskidman8382

    @qaatthepointcarloskidman8382

    2 жыл бұрын

    @@cposadaa that's fine and is expected. The changed that after this recording

  • @carl8958

    @carl8958

    2 жыл бұрын

    @@qaatthepointcarloskidman8382 I had exactly the same question and started reading comments hoping for an answer. Very generous of you to continue supporting this tutorial, and your subscribers, several months after making the video. New subscriber, and thanks for this tutorial.

  • @qaatthepointcarloskidman8382

    @qaatthepointcarloskidman8382

    2 жыл бұрын

    @@carl8958 you're very welcome! As you know, tech is moving and changing so fast, so it's tough to make a video that lasts a long time 😅 I really appreciate the patience and understanding. Thank you!

  • @NostraDavid2
    @NostraDavid2 Жыл бұрын

    Note: python.pythonPath has been replaced with python.defaultInterpreterPath

  • @qaatthepointcarloskidman8382

    @qaatthepointcarloskidman8382

    Жыл бұрын

    Correct! They've done a great job improving VS Code and even detect poetry environments automatically now! 👏🏽

  • @Investmentpunk1
    @Investmentpunk1 Жыл бұрын

    why does "python --version" show 3.8.6 and "python3 --version" shows 3.8.5 at minute 2:39

  • @qaatthepointcarloskidman8382

    @qaatthepointcarloskidman8382

    Жыл бұрын

    3.8.6 was the version set by pyenv 3.8.5 was the version I installed manually for my whole laptop

  • @Investmentpunk1

    @Investmentpunk1

    Жыл бұрын

    @@qaatthepointcarloskidman8382 ok I understand. Thank you for the quick reply 🙂

  • @yanis417
    @yanis4173 жыл бұрын

    Pyenv install 3.7.7 doesn't work. Any idea why please?

  • @qaatthepointcarloskidman8382

    @qaatthepointcarloskidman8382

    3 жыл бұрын

    "Doesn't work" is tough to base any answer on haha. However, I'd recommend checking out their issues or searching for the error(s) you're seeing github.com/pyenv/pyenv/issues/1304

  • @yanis417

    @yanis417

    3 жыл бұрын

    When I check the shims there is only 3.8 and 3.9 so apparently 3.7 and below are not supported by Pyenv anymore. Have you heard about this please?

  • @qaatthepointcarloskidman8382

    @qaatthepointcarloskidman8382

    3 жыл бұрын

    @@yanis417 I haven't heard this. I've used pyenv to install 3.7.3 so this is either something pretty new to pyenv or your machine is missing dependencies. Post a link to where you're seeing this. P.S. using 3.8^ is probably for the best unless you _really_ need to support something lower

  • @yanis417

    @yanis417

    3 жыл бұрын

    @@qaatthepointcarloskidman8382 BUILD FAILED (OS X 11.2.2 using python-build 20180424) Inspect or clean up the working tree at /var/folders/lq/kql9dcw919v8bf0rz7ccs69c0000gn/T/python-build.20210308095056.6287 Results logged to /var/folders/lq/kql9dcw919v8bf0rz7ccs69c0000gn/T/python-build.20210308095056.6287.log Last 10 log lines: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -I. -I./Include -I/usr/local/opt/readline/include -I/usr/local/opt/readline/include -I/Users/deehive/.pyenv/versions/3.7.7/include -I/usr/local/opt/readline/include -I/usr/local/opt/readline/include -I/Users/deehive/.pyenv/versions/3.7.7/include -DPy_BUILD_CORE_BUILTIN -c ./Modules/pwdmodule.c -o Modules/pwdmodule.o clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -I. -I./Include -I/usr/local/opt/readline/include -I/usr/local/opt/readline/include -I/Users/deehive/.pyenv/versions/3.7.7/include -I/usr/local/opt/readline/include -I/usr/local/opt/readline/include -I/Users/deehive/.pyenv/versions/3.7.7/include -DPy_BUILD_CORE_BUILTIN -c ./Modules/_sre.c -o Modules/_sre.o ./Modules/posixmodule.c:8436:15: error: implicit declaration of function 'sendfile' is invalid in C99 [-Werror,-Wimplicit-function-declaration] ret = sendfile(in, out, offset, &sbytes, &sf, flags); ^ clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -I. -I./Include -I/usr/local/opt/readline/include -I/usr/local/opt/readline/include -I/Users/deehive/.pyenv/versions/3.7.7/include -I/usr/local/opt/readline/include -I/usr/local/opt/readline/include -I/Users/deehive/.pyenv/versions/3.7.7/include -DPy_BUILD_CORE_BUILTIN -c ./Modules/_codecsmodule.c -o Modules/_codecsmodule.o 1 error generated. make: *** [Modules/posixmodule.o] Error 1 make: *** Waiting for unfinished jobs.... 1 warning generated.

  • @qaatthepointcarloskidman8382

    @qaatthepointcarloskidman8382

    3 жыл бұрын

    @@yanis417 when you search for this error, what have you found? There's a lot of things I don't know about your machine so there would be a lot of back and forth and KZread comments ain't the best fit things like this haha. Hit me up on Twitter or LinkedIn @CarlosKidman or, better yet, if you are in one of the major Slack groups (QA Utah, Ministry of Testing, or Test Automation University), we can get through this pretty quickly

  • @Rhys_Beer
    @Rhys_Beer3 жыл бұрын

    Got some questions would you be willing to enlighten me? not going to take super long.

  • @qaatthepointcarloskidman8382

    @qaatthepointcarloskidman8382

    3 жыл бұрын

    Sure! What questions do you have?

  • @Rhys_Beer

    @Rhys_Beer

    2 жыл бұрын

    @@qaatthepointcarloskidman8382 Hi Carlos so after LOTS of googling and crying ive come right XD. Thank you so much until the next problem. My issue was that the shell/terminal was working in terminal VSC but not in normal terminal /home/User but just needed to export paths in both terminals.

  • @qaatthepointcarloskidman8382

    @qaatthepointcarloskidman8382

    2 жыл бұрын

    @@Rhys_Beer I'm happy you figured it out! I feel the "googling and crying" on a personal level lol

  • @Rhys_Beer

    @Rhys_Beer

    2 жыл бұрын

    @@qaatthepointcarloskidman8382 What if when I entered the interpreter path it didn't create the .vscode folder ?

  • @qaatthepointcarloskidman8382

    @qaatthepointcarloskidman8382

    2 жыл бұрын

    @@Rhys_Beer that's actually the expected behavior now! VS Code changed that a couple months ago. All is well :)

  • @Rhys_Beer
    @Rhys_Beer3 жыл бұрын

    There really is no support/help for Windows going to end up creating an actual VM with linux

  • @qaatthepointcarloskidman8382

    @qaatthepointcarloskidman8382

    3 жыл бұрын

    On my Windows machine, I'm using WSL (aka Linux) and it works there beautifully. There is also pyenv-win which is the ported version for Windows. I haven't tried this myself, but hopefully it works! github.com/pyenv-win/pyenv-win

  • @mikemihay
    @mikemihay3 жыл бұрын

    Great video! Thank you!

Келесі