How to run bzr (installed manually, no root access)
Hello,
the machine I'm using uses Ubuntu 14.04, but everything I do and want here should be naturally the same for other distros. I have no root access to this machine. I downloaded and installed bzr for my user: Code:
# Download the package But, for bzr, I have this error I don't know how to solve: Code:
$bzr branch lp:ubuntu/wily/org-mode #bazaar What should I do in this and similar cases? It seems the problem is solved before I made the post... LOL... I copied the extracted folder ./usr/lib/python2.7/dist-packages/bzrlib/ to my local path in ~/.localRootFolder/usr/bin/. Any comments or possible problems with this, please tell me. I'm probably unaware of it. ---------------------- "Not-tags" I could not use for this thread: ubuntu mint python install |
If you want to run python programs in your own environment, you are a candidate for virtualenv, which will correctly set up libraries and paths.
You should also consider using pip install (when you are inside your virtual environment) instead of dkpg and install your programs from pypi.python.org. Your error can proably be explained with a wrong Python lib path configuration variable (whose name I currently don't remember). |
Quote:
$PYTHONPATH... I imagined that it could be a solution, but it seems it may not be the case. The site of virtualenv points a few problems with other Python virtual environments... (Just a loose comment: why can't Python programs relay in simple things like many many other programs that exist?) Can I install virtualenv without root access?? If I cannot do it, it is no solution at all, not even a starting one. |
Ask somebody with root access to install what you need. That's, presumably, their job. Why the need to make things difficult?
|
Highly useful notes are found here:
"Whats the proper way to install pip virtualenv and distribute for python" http://stackoverflow.com/questions/4324558/ |
Quote:
It being a program that everybody else may want is a possibility. But then we are assuming more about the whole world than what the truth is many times. Also, eventually we just cannot wait. Why being jailed to make simple things? I don't think it is difficult at all. I think it's useful in many aspects. Gladly, a neat solution appeared, I found it. :) Although I don't need it now, since my Bazaar is working with the simple and almost naive solution. |
Quote:
|
Quote:
Quote:
Quote:
|
Quote:
Quote:
Quote:
If you do not want to help, please stop saying your opinion against the idea. I'm sure there are more people around here that will be happy to answer within my needs. Thank you very much |
While the original poster seems to be happy with another solution, others might want to know how to use virtualenv. This is what I usually do:
Later, each time I want to use the application in the virtual environment, steps 3, 5 and 6 again. Quote:
|
All times are GMT -5. The time now is 01:43 PM. |