virtualenv
vscode-python
Our great sponsors
virtualenv | vscode-python | |
---|---|---|
10 | 77 | |
4,710 | 4,213 | |
1.4% | 1.0% | |
8.4 | 9.6 | |
4 days ago | 5 days ago | |
Python | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
virtualenv
-
Setup and use Virtualenv in Python Applications
For more information visit: virtualenv documentation.
-
How to Create Virtual Environments in Python
Python's venv module is officially recommended for creating virtual environments since Python 3.5 comes packaged with your Python installation. While there still are additional older tools available, such as conda and virtualenv, if you are new to virtual environments, it is best to use venv now.
-
Integrating Python's Virtualenv with Fish shell Without Overcomplicated Frameworks
Despite these attractive attributes, many developers I've come across don't prefer Fish shell, primarily due to integration gaps with tools like Python's virtualenv. So, in this article, I'm offering a simple solution for automatic virtualenv activation for Fish shell, steering clear of resource-intensive frameworks like oh-my-fish that often slow down the shell.
-
How Python virtual environments work
`virtualenv` still exists and is still actively developed. It's true that Python 3 ships with `venv` but I think `virtualenv` offers some additional features.
https://github.com/pypa/virtualenv
-
macOS Dev Setup
virtualenv is a tool that creates an isolated Python environment for each of your projects.
-
How to build your own LinkedIn Profile Scraper in 2022
Python is the chosen language for this tutorial and as you can guess some precautions should be done to make sure that the environment is setup correctly and the main OS I'll use is Ubuntu(a Linux distro) virtual environment is a tool that helps you to isolate your code from the rest of the system. It is a good idea to create a virtual environment for your project.
-
What is the official "preferred" way to install pip and virtualenv systemwide?
$ curl -O https://github.com/pypa/virtualenv/raw/master/virtualenv.py$ python virtualenv.py my_new_env$ . my_new_env/bin/activate(my_new_env)$ pip install ... Or something entirely different?
-
Fish 3.4.0
I've been using Fish for years and spend my entire day working with Python. Python's virtualenv has an `activate.fish` command, I've never had any problems with it. Additionally, we have a ton of internal tooling built in a fabfile, so I've written a couple of snippets of fish that automatically activate that .venv (Poetry managed) whenever I cd into a directory that has one, and also expands a bunch of env vars into the shell session. I've also got this feature request in on the virtualenv repo in the hope that one day we can have activate.fish emit an event - https://github.com/pypa/virtualenv/issues/1456
-
What happened when your CI is stopping you from releasing?
We of cause, like all good developers do, put the error message online and look for clues, we quickly found a GitHub issue and boi, we are not the only souls that got crushed by a "timely" release of virtualenv just a few hours before us. Since the lastest version of virtualenv got installed every time we create the CI build job on Travis, it fails even we have done nothing. Of cause we didn't point fingers at other maintainers, they are just as hardworking as us and it's human to make mistakes. We are faced with 2 options, roll back to the previous release or wait for the patch of virtualenv to get released. As the devs of virtualenv did a lighting fast patch, we have chosen option 2.
- How to make a Python package in 2021
vscode-python
-
The Weirdest Bug I've Seen Yet
Ah, Chrome and slow spinners.
Python tests were taking ages on VSCode due to an SVG spinner:
https://bugs.chromium.org/p/chromium/issues/detail?id=103626...
https://github.com/microsoft/vscode-python/issues/9216
-
Integrated terminal doesn't work when running a single line of Python code
It seems to be a problem caused by the new version of the Python extension. Here is a GitHub link for you to follow up.
-
How to Setup VSCode for C/C++ Programming (From a Microsoft Software Engineer)
For the python extension, please file your issue here: https://github.com/microsoft/vscode-python/issues
-
Should I be switching to VsCode from PyCharm?
There seems to be a focus on feature velocity, and as the big parts start to stabilize (language server stuff, refactoring, extension framework, general UI/UX expectations), I hope we'll see some more attention paid to the default experience. But changing defaults in an ecosystem where users embrace configurability is tough, see the pythonPath fiasco, so I don't know the way forward. Core dev Brett Cannon seems to support the opinionated path for the VSCode Python experience going forward, so we'll see where that takes us.
-
Python extension to break long strings
I filed a GitHub report, you can always follow up.
-
(Python) Intellisense not autocompleting inherited methods from imported module
Jedi said it had a fix on this post which links to this but isn't that just the Jedi source code showing fixes? The only reference I see in there is " Autocomplete inherited methods when overriding in child class ", but I just want it to autocomplete when typing a method from the parent class on a subclass instance.
-
Python 3.3.1 in VScode?
If you still want to use python3.3.1 in vscode, you can submit a report on GitHub to consult the official staff.
-
Python intellisense getting slower the further in the file
It works fine on my machine after testing, can you provide your test code and show your personal settings(settings.json)? If you are convinced that this is a problem with python extensions, you can file a report on GitHub.
-
"Import "pygame" could not be resolvedPylance" in VS Code
Does this help? Maybe you are opening the workspace at the wrong folder level?
-
SQLAlchemy mystery - small code segment showing some (but not all) SQLAlchemy objects are undefined
Actually, it looks like it might be an issue with syntax highlighting ("Intellisense" in MS terminology) in Microsoft VS Code. Here is almost an identical post to mine in their forum.
What are some alternatives?
Poetry - Python packaging and dependency management made easy
quokka - Repository for Quokka.js questions and issues
Pipenv - Python Development Workflow for Humans.
openvscode-server - Run upstream VS Code on a remote machine with access through a modern web browser from any device, anywhere.
pyenv - Simple Python version management
Bracket-Pair-Colorizer-2 - Bracket Colorizer Extension for VSCode
rez - An integrated package configuration, build and deployment system for software
jupyter - Jupyter metapackage for installation, docs and chat
Pew - A tool to manage multiple virtual environments written in pure python
dark - Darklang main repo, including language, backend, and infra
Autoenv - Directory-based environments.