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,031
Reaction score
769
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
Thread 'Is this public key encryption?'
I've tried to intuit public key encryption but never quite managed. But this seems to wrap it up in a bow. This seems to be a very elegant way of transmitting a message publicly that only the sender and receiver can decipher. Is this how PKE works? No, it cant be. In the above case, the requester knows the target's "secret" key - because they have his ID, and therefore knows his birthdate.
I tried a web search "the loss of programming ", and found an article saying that all aspects of writing, developing, and testing software programs will one day all be handled through artificial intelligence. One must wonder then, who is responsible. WHO is responsible for any problems, bugs, deficiencies, or whatever malfunctions which the programs make their users endure? Things may work wrong however the "wrong" happens. AI needs to fix the problems for the users. Any way to...
Back
Top