0

I have Python2.7, Python3.6 and Python3.7 on my Ubuntu 18.04 system. I want to install rdkit in Python3.6 using apt-get install.

The command to do that is:

sudo apt-get install python-rdkit librdkit1 rdkit-data

  1. How do I know which python version this is getting installed in? (Without opening all my Pythons and checking)

  2. How do I control which version this gets installed in?

This is a general question for packages that do not seem to be available via pip.

Mahathi Vempati
  • 1,238
  • 1
  • 12
  • 33

1 Answers1

0

run pip freeze to know which package is intalled read more here pip freeze doc

and to install specific version see more here Installing specific package versions with pip

BTW: consider pip is the best practice : https://askubuntu.com/questions/95037/what-is-the-best-way-to-install-python-packages

Beny Gj
  • 607
  • 4
  • 16