Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm trying to install latex on virtualenv as a part of my project being uploaded to heroku. I used pip install texlive-latex-extra also easy_install texlive-latex-extra for packages texlive-base,texlive-latex, texlive, texlive-latex-extra as I've mentioned etc. It's giving me a message that packages don't exist although, I have installed them locally;

Searching for texlive-latex
Reading http://pypi.python.org/simple/texlive-latex/
Couldn't find index page for 'texlive-latex' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading http://pypi.python.org/simple/
No local packages or download links found for texlive-latex

What point am I missing here?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

I think you are confusing two different concepts. pip is a tool to install python packages (on your current system or in a virtualenv) that you can use with the python interpreter.

The packages you are referring are not python packages but binary packages (packages that provide programs and libraries specific to Ubuntu system), and can only be installed in your system (using apt-get or a similar tool).

So, you cannot install LaTeX in a virtualenv (although eventually you could find some package in pip that provides bindings to use LaTeX with python).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.