Install pkg from Github to Python 'venv' under VSCode or Pycharm

  • Context: Python 
  • Thread starter Thread starter Swamp Thing
  • Start date Start date
  • Tags Tags
    install
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 3K views
Swamp Thing
Insights Author
Messages
1,065
Reaction score
820
I would like to install the Python package kiwiclient.py from this github repo :
https://github.com/jks-prv/kiwiclient
into a venv using an IDE like PyCharm or VSCode.

Is there a way to do this directly without cloning the repo locally?
If not, what are the steps to clone and install into a project's venv?

I am not particularly proficient in either Python, PyCharm or git so I would appreciate a detailed guide with few prerequisite skills.
Platform: Raspberry Pi OS
 
Last edited:
Physics news on Phys.org
This would be straightforward if you do it from the terminal. Activate the venv in the terminal first. Then run:
Code:
pip install git+https://github.com/jks-prv/kiwiclient

Source.
 
Reply
  • Like
Likes   Reactions: Swamp Thing and Greg Bernhardt
Greg Bernhardt said:
Use pip3 if on Python3
Doesn't it automatically use pip3 if Python 2.7 is not installed?
 
Reply
  • Like
Likes   Reactions: Greg Bernhardt