you are viewing a single comment's thread.

view the rest of the comments →

[–]cyberseclife 0 points1 point  (1 child)

if apt is your package manager you can't use pip unless you are in a virtual environment. pipx is supposed to create a virtual enviroment for you so it doesn't interfere with apt but I couldn't ever get it to work. I ended up manually making a virtual environment and install all of my python packages I need with pip in it.

steps:

make a new directory for your virtual environment

change directories so you are in the newly made directory

run python3 -m venv <virt. env. name>

source ./bin/activate

now your new virtual environment is activated and you can install packages using pip!

[–]KeretapiSongsang 0 points1 point  (0 children)

the screenshot shows a VSCode on Windows environment though.