pip
vscode-python
pip | vscode-python | |
---|---|---|
108 | 77 | |
9,282 | 4,221 | |
0.6% | 0.7% | |
9.8 | 9.6 | |
6 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.
pip
-
How to Create Virtual Environments in Python
Whenever you are working on a Python project that has external dependencies installed with pip, it is strongly recommended to first create a virtual environment.
-
Boring Python: dependency management (2022)
Unfortunately that feature is easy to break: https://github.com/pypa/pip/issues/9644
-
pip VS instld - a user suggested alternative
2 projects | 9 Dec 2023
-
sudo pip install should be illegal
I think I did my part https://github.com/pypa/pip/issues/6409
-
Can't seem to install Python YAML support
$ sudo pip install y$ sudo pip install yaml WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip. Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue. To avoid this problem you can invoke Python with '-m pip' instead of running pip directly. ERROR: Could not find a version that satisfies the requirement yaml (from versions: none) ERROR: No matching distribution found for yaml
-
Bun v0.6.0 – Bun's new JavaScript bundler and minifier
What are you implying will happen?
Using the build-in tools, you can save the exact versions of dependencies (i.e. a lock file) using "pip freeze >dependencies.txt". This should give you the exact same set of packages in two years' time.
If you want to be even more sure, you can also store hashes in the lock file. This has to be generated by a separate tools at the moment [1][2] but can be consumed by the built-in tools [3], so "pip install -r requirements.txt" is still all you need in two years' time.
[1] https://github.com/pypa/pip/issues/4732
[2] https://pip-tools.readthedocs.io/en/latest/#using-hashes
[3] https://pip.pypa.io/en/stable/topics/secure-installs/#hash-c...
-
My Goldilocks Python Setup: pyenv, pipx, and pip-tools
Here’s the issue, https://github.com/pypa/pip/issues/11664. I think the idea would be to have some file/json description of environment that could be passed to pip to allow it to fully cross compile. They are open to supporting it just needs contributor to be found to implement it and go through review/discussion.
-
Remote Code Execution Vulnerability in Google They Are Not Willing to Fix
To be fair the only alternative is fixing Python, and even then you still would have to wait a good 5 years at least for all the old Python versions to dwindle.
It doesn't look like the fixing effort is progressing very quickly: https://github.com/pypa/pip/issues/8606
To their credit, at least they didn't close it "works as intended" which I imagine a lot of projects would.
-
Pip 23.1 Released - Massive improvement to backtracking
Another good benchmark to trying to resolve apache-airflow[all]==1.10.13 using the state of PyPi on 2020-12-02, I give instructions here on how to reproduce that workflow: https://github.com/pypa/pip/issues/11836. Including a benchmark how how many extra packages your resolver should visit.
- will upgrading pip break things?
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?
mamba - The Fast Cross-Platform Package Manager
quokka - Repository for Quokka.js questions and issues
Poetry - Python packaging and dependency management made easy
openvscode-server - Run upstream VS Code on a remote machine with access through a modern web browser from any device, anywhere.
PDM - A modern Python package and dependency manager supporting the latest PEP standards
Bracket-Pair-Colorizer-2 - Bracket Colorizer Extension for VSCode
conda - A system-level, binary package and environment manager running on all major operating systems and platforms.
jupyter - Jupyter metapackage for installation, docs and chat
pip-tools - A set of tools to keep your pinned Python dependencies fresh.
dark - Darklang main repo, including language, backend, and infra
wheel - Adoption analysis of Python Wheels: https://pythonwheels.com/