LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Python Dependency DPKG (https://www.linuxquestions.org/questions/linux-newbie-8/python-dependency-dpkg-921208/)

Felipe Boeira 12-30-2011 05:35 AM

Python Dependency DPKG
 
Dear all,
I am trying to install the virtual box deb but it has some dependencies. One of them is libpython2.7, which requires python 2.7. So, I compiled python 2.7 with:

./configure --prefix=/opt/python/
make && make install

Then, I do 'dpkg -i libpython2.7_2.7.1-5ubuntu2_i386.deb' and get the following:

libpython2.7 depends on python2.7 (= 2.7.1-5ubuntu2); however:
Package python2.7 is not installed.

I tried adding Python's bin folder to the PATH variable and creating a symlink to /usr/bin/python as well. Does anyone have some hints?

OS: Ubuntu 11.04

Thanks in advance.

jdkaye 12-31-2011 04:34 AM

Hi and welcome to LQ!
I'm not sure why you compiled python rather than installing the python 2.7 package. I also don't know why you used dpkg to install a package rather than using a regular package manager which takes care of things like dependencies. There are gui's or cli's like aptitude or apt-get that will do the job.
ciao,
jdk


All times are GMT -5. The time now is 05:36 PM.