#๐ understanding python enviornments on linux
21 messages ยท Page 1 of 1 (latest)
@restive cairn
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
what are you trying to do and what issues are you running into
nevermind i figured out how to use miniconda on linux with some shell scripts,
i really love how the open source community made shell / bat scripts to install python environments for python projects on https://github.com/oobabooga/text-generation-webui, and ever since then ive always used those bat scripts for my projects to keep python packages managed in environments
i just figured out how to use it on linux
virtual environments are great
if you don't want to use conda you can use venv directly or there's a module virtualenv or there are applications like pdm that will manage your virtualenvs for you
!pip virtualenv
@wicked notch honestly ive tried it, with anaconda, with py -m venv, i dont like them at all on linux its more easier on windows, but i love the shell scripts on that repo i linked, it makes it easy for me to activate the terminal and use pip install
It can be unwieldy if you're not used to it.
also thank u for the pdm link i will look through it
It's really nice.
You just have all your dependencies in a pyproject.toml file and pdm will install them for you
is this new? ive started noticing people using toml, and poetry for package management
I don't think it's that new.
This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.
๐ understanding python enviornments on linux