You are not logged in.
As the subject probably didn't make clear, I have two installations of Arch on one machine: one without python installed (henceforth Arch1), one with python (Arch2). I'd like to use the python environment on Arch2 when booted to Arch1, without chrooting. Is this possible (and preferably simple)?
Specifically, I'd like to be able to use reflector, which is installed on Arch2, from Arch1.
Thanks.
Last edited by alphaniner (2012-06-17 03:59:42)
But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner
Offline
Python is an interpreted language. Probably not.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Try to set the environment variables PYTHONHOME, PYTHONPATH, and PYTHONUSERBASE before running a python script. And create symlinks for the file in the shebang line.
Last edited by progandy (2012-06-17 02:23:57)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
I decided to use a trial-and-error method and worked it out pretty quick.
I symlinked python3, then tried running reflector. Got a missing library error. Symlinked the library, ran reflector again, success.
Almost seems too easy...
But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner
Offline