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

  • Thread starter Thread starter Swamp Thing
  • Start date Start date
  • Tags Tags
    install
AI Thread Summary
To install the Python package kiwiclient.py from the GitHub repository directly into a virtual environment (venv) using an IDE like PyCharm or VSCode, the most straightforward method is through the terminal. First, activate the venv in the terminal and then execute the command: pip install git+https://github.com/jks-prv/kiwiclient. For users on Python 3, it's recommended to use pip3. If Python 2.7 is not installed, pip will default to pip3, ensuring compatibility with Python 3. For those less familiar with Python, PyCharm or VSCode may require additional setup to run terminal commands effectively within the IDE.
Swamp Thing
Insights Author
Messages
1,028
Reaction score
767
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:
Technology 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.
 
  • Like
Likes 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?
 
  • Like
Likes Greg Bernhardt
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
I have a quick questions. I am going through a book on C programming on my own. Afterwards, I plan to go through something call data structures and algorithms on my own also in C. I also need to learn C++, Matlab and for personal interest Haskell. For the two topic of data structures and algorithms, I understand there are standard ones across all programming languages. After learning it through C, what would be the biggest issue when trying to implement the same data...
Back
Top