Python Forum
Can't decide - install modules with Ubuntu package manager (apt) or pip3 in venv
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can't decide - install modules with Ubuntu package manager (apt) or pip3 in venv
#4
Thanks for the feedback metulburr.

(Jul-19-2019, 02:54 PM)metulburr Wrote: I usually install globally and never use virtual environments. That is because my linux partitions are repetitively deleted with a new installation of a distribution quite often. So i have no comment on their use as i never use them.

If you're frequently deleting and installing distros, it's fair enough that you install globally since you're less likely to run into conflicts. I don't have any intention of reinstalling Ubuntu or changing distros for the meantime until I get a new pc, which hopefully will happen within the next year.

(Jul-19-2019, 02:54 PM)metulburr Wrote: If you plan on using different programs with different dependencies of the same python version, then you might want to use virtual environments, as its easier to handle a multitude of them. But if your just starting out learning its a smaller chance that you would need it. It really depends on what you are doing though.

And this is the crux of my difficulty. Since I'm new to linux and python, I have no idea how likely it is that I will need to use other programs with conflicting dependencies. For now, I just want WattmanGTK to work so I can downclock my gpu. If installing it with a venv avoids future problems, then great, but for all I know, I may not even use any programs that cause conflict and I'd just be overcomplicating things with venv for nothing.
Reply


Messages In This Thread
RE: Can't decide - install modules with Ubuntu package manager (apt) or pip3 in venv - by Thisisaline - Jul-19-2019, 03:55 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  my venv is not loading njoki 1 278 Mar-20-2024, 10:41 AM
Last Post: snippsat
  problem install somewhere package akbarza 1 508 Dec-27-2023, 01:25 PM
Last Post: Gribouillis
  Not able to install package caldwellpy and requirement txt file Samta282006 1 741 Dec-07-2023, 11:59 PM
Last Post: Larz60+
  Understanding venv; How do I ensure my python script uses the environment every time? Calab 1 2,320 May-10-2023, 02:13 PM
Last Post: Calab
  Confused over Conda Package manager vs PIP JanOlvegg 3 1,242 Mar-09-2023, 02:09 PM
Last Post: JanOlvegg
  Python venv and PIP version issue JanOlvegg 2 1,302 Feb-22-2023, 02:22 AM
Last Post: JanOlvegg
  Visual Studio Code venv ibm_db error mesi1000 7 2,859 Nov-13-2022, 12:36 AM
Last Post: snippsat
  ModuleNotFoundError: No module named '_struct' when starting pip3 yuhuihu 0 2,894 May-05-2022, 04:41 AM
Last Post: yuhuihu
  can not install pymesh in ubuntu jerry 2 2,189 Mar-23-2022, 02:04 AM
Last Post: jerry
  cmake and pip3 install warnings with python 3.10.2 cyrduf 0 1,920 Feb-26-2022, 01:08 PM
Last Post: cyrduf

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020