Skip to content
Sign upLog in
← Back to Community

How to install

Profile icon
CarterTimmons03

This is probably really simple, but how do I install something, such as
pip install getkey

Answered by VulcanWM [earned 5 cycles]
View Answer
Voters
Profile icon
CarterTimmons03
Comments
hotnewtop
Profile icon
VulcanWM

some packages are already installed like getkey
so in the Python code you just need to do import getkey
other packages which are not that popular, so you can either do the pip installing in the shell or do os.system(“pip install package_name”) in the Python code to install the package and import package_name to import it and use it kn your code

Profile icon
CarterTimmons03

@VulcanWM
thanks so much :D

Profile icon
xfinnbar

@CarterTimmons03
@VulcanWM
This isn't a good way to do this. Instead, use the packages menu on the sidebar or edit the pyproject.toml file.

Profile icon
VulcanWM
Profile icon
StudioHawaii

thanks