search for: pythonpath

Displaying 20 results from an estimated 68 matches for "pythonpath".

2015 Feb 13
2
[PATCH] ./run: Use 'prepend' function to build paths.
Add a bash function 'prepend' for intelligently prepending elements to paths. eg: prepend PYTHONPATH "/foo" would set PYTHONPATH to "/foo" or "/foo:<previous-contents-of-PYTHONPATH>" Tested by: (1) Building and testing libguestfs twice: first without libguestfs installed as a system library, and then with it installed. (2) Examining the output of './run...
2005 Jan 17
1
problem installing RSPython
...pointer target type RCall.c: In function `RPy_callPython': RCall.c:62: warning: passing arg 1 of `PyType_GenericNew' from incompatible pointer type I'm running R v2.0.1, Python v2.3.4 and have the r-base-dev and python2.3-dev packages installed. Relevant environment variable settings: PYTHONPATH=/usr/lib/python2.3:/usr/lib/python2.3/site-packages R_HOME=/usr/lib/R PYTHONPATH=${PYTHONPATH}:${R_HOME}/library/RSPython/Python PYTHONPATH=${PYTHONPATH}:${R_HOME}/library/RSPython/libs LD_LIBRARY_PATH=${R_HOME}/lib Any suggestions? I'm probably overlooking something obvious. Thanks. Robert...
2016 Oct 27
1
[PATCH] run.in: Quote contents of @VAR@ substitutions
...--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/run.in b/run.in index 8fdf454..438a68c 100755 --- a/run.in +++ b/run.in @@ -140,15 +140,15 @@ export PERL_VALGRIND=1 export PERL_DESTRUCT_LEVEL=2 # For Python. -export PYTHON=@PYTHON@ +export PYTHON="@PYTHON@" prepend PYTHONPATH "$b/python/.libs" prepend PYTHONPATH "$b/python" prepend PYTHONPATH "$s/python" export PYTHONPATH # For Ruby. -export RUBY=@RUBY@ -export RAKE=@RAKE@ +export RUBY="@RUBY@" +export RAKE="@RAKE@" prepend RUBYLIB "$b/ruby/ext/guestfs"...
2008 Oct 06
1
python-sybase on Centos 5 x86_64
...el.spec --- python-sybase.spec 2008-10-05 21:53:49.000000000 -0600 +++ python-sybase.spec.new 2008-10-05 21:53:36.000000000 -0600 @@ -27,6 +27,6 @@ %install rm -rf $RPM_BUILD_ROOT -PYVERSION=`python --version 2>&1 | sed -e "s/.* \([0-9]*\.[0-9]*\)\.[0-9]*/\1/g"` -export PYTHONPATH="$RPM_BUILD_ROOT/usr/lib/python$PYVERSION/site-packages" +PYVERSION=`python -V 2>&1 | sed -e "s/.* \([0-9]*\.[0-9]*\)\.[0-9]*/\1/g"` +export PYTHONPATH="$RPM_BUILD_ROOT/usr/lib64/python$PYVERSION/site-packages" mkdir -p $PYTHONPATH export SYBASE="/usr&...
2013 Jun 06
3
installing carbon / passing PYTHONPATH to pip package provider?
...ent: Ubuntu LTS 12.04, carbon (https://github.com/graphite-project/carbon) 0.9.9 installed using "pip". I just learned why when I run "pip freeze" on a system I don''t see the "carbon" package even when it installed successfully - I should run it with "PYTHONPATH=/opt/graphite/lib/ pip freeze". (ref: https://github.com/graphite-project/carbon/issues/86) This causes Puppet to re-install the package on every run (and reload dependant servers), even though it''s already installed and there is nothing that really needs to be done. I guess this...
2005 Feb 23
2
[LLVMdev] Python bindings for LLVM API
...bonacci JIT demo in Python (see fibonacci.py in the package). Other than this, the bindings have seen very little testing: caveat emptor! Quick start: - make sure you have Python and Boost.Python installed - extract Python.tgz (attached) into $LLVM/lib/Python - cd $LLVM/lib/Python - make - export PYTHONPATH=$PYTHONPATH:$LLVM/Debug/bin - python fibonacci.py More details are provided in the README.txt within Python.tgz. BR, Jarno -- Lassen Sie Ihren Gedanken freien Lauf... z.B. per FreeSMS GMX bietet bis zu 100 FreeSMS/Monat: http://www.gmx.net/de/go/mail -------------- next part -------------- A no...
2011 Aug 24
1
Compilation error
Hi All, I am compiling the development code of xapian ( http://trac.xapian.org/browser/trunk) and while doing *'make*' it will give following error PYTHONPATH="xapian:$PYTHONPATH" /usr/bin/python -c "import _xapian" Traceback (most recent call last): File "<string>", line 1, in <module> ImportError: dlopen(/Users/iphonedev/xapian/xapian-bindings/python/xapian/_xapian.so, 2): Library not loaded: /usr/local/lib/l...
2009 Feb 11
1
RSPython
Hi all, I try to utilize RSPython to invoke Python from R. For me it works pretty fine for basic applications, but I have 3 problems that may be related. (1) I can't load other packages but "standard" ones also when I adjust the PythonPath: > importPythonModule('sys', all=T) NULL > importPythonModule('numpy', all=T) Error in .PythonEval(cmd) : Error in Python call: /usr/lib/python2.5/site-packages/numpy/core/multiarray.so: undefined symbol: _Py_ZeroStruct > importP...
2005 Feb 24
0
[LLVMdev] Python bindings for LLVM API
...ci.py in the package). Other than this, the > bindings have seen very little testing: caveat emptor! > > Quick start: > - make sure you have Python and Boost.Python installed > - extract Python.tgz (attached) into $LLVM/lib/Python > - cd $LLVM/lib/Python > - make > - export PYTHONPATH=$PYTHONPATH:$LLVM/Debug/bin > - python fibonacci.py > > More details are provided in the README.txt within Python.tgz. > > BR, Jarno > > -- > Lassen Sie Ihren Gedanken freien Lauf... z.B. per FreeSMS > GMX bietet bis zu 100 FreeSMS/Monat: > http://www.gmx.net/de/go...
2017 Sep 05
2
[PATCH] run.in: Quote contents of @VAR@ substitutions
...1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/run.in b/run.in index 0d10983..0f23a7c 100755 --- a/run.in +++ b/run.in @@ -62,7 +62,7 @@ export PERL_VALGRIND=1 export PERL_DESTRUCT_LEVEL=2 # For Python. -export PYTHON=@PYTHON@ +export PYTHON="@PYTHON@" if [ -z "$PYTHONPATH" ]; then PYTHONPATH="$s/python:$b/python:$b/python/.libs" else @@ -71,8 +71,8 @@ fi export PYTHONPATH # For Ruby. -export RUBY=@RUBY@ -export RAKE=@RAKE@ +export RUBY="@RUBY@" +export RAKE="@RAKE@" if [ -z "$RUBYLIB" ]; then RUBYLIB=&quot...
2018 Jan 25
0
Re: python 3 bindings on libguestfs
On Thu, Jan 25, 2018 at 03:09:47PM +0000, abinaya.manikandan@wipro.com wrote: > Hi, > > As per you suggestion I have set PYTHONPATH. > Now the issue is different. > > [root@euca-172-31-15-221 ~]$ echo $PYTHONPATH > /opt/libguestfs/x86_64/1.32.10/lib64:/opt/libguestfs/x86_64/1.32.10/lib/python3.6/site-packages/: > [root@euca-172-31-15-221 ~]$ python > Python 3.6.0 (default, Jun 1 2017, 02:10:02) > [GCC 4.4...
2009 Sep 08
0
RSPython can't find module
Hi Folks, After seeing some tips on the web, I managed to get RSPython-0.7-1 installed with R 2.9.0 (on Ubuntu 8.04). I had to get rid of the extra comma in the PythonPath function in Python.S: .PythonPath <- function(path=NULL, merge = TRUE) { dirSep <- ifelse(R.version$os == "Win32", ";", ":",) (remove last comma before bracket) and I had to manually copy RSPython.so to RSInternal.so in the libs subdirectory of my RSPython i...
2015 Feb 13
0
Re: [PATCH] ./run: Use 'prepend' function to build paths.
On Friday 13 February 2015 10:16:34 Richard W.M. Jones wrote: > Add a bash function 'prepend' for intelligently prepending elements to > paths. eg: > > prepend PYTHONPATH "/foo" > > would set PYTHONPATH to "/foo" or "/foo:<previous-contents-of-PYTHONPATH>" > > Tested by: > > (1) Building and testing libguestfs twice: first without libguestfs > installed as a system library, and then with it installed. >...
2018 Apr 08
2
Unable to rejoin domain, LDAP error 50
...ion", line 37, in <module> > import samba > ImportError: No module named samba > > I hope it's the last problem... > > Regards, > Kris > AH, light dawns ;-) Your python doesn't know where all the python modules are, investigate on how to set 'PYTHONPATH' on Centos. Rowland
2018 Mar 14
4
Error running CVE-2018-1057_helper on 4.5
I tried to run this script on a system running 4.5.15 built from source under Ubuntu 16.04, but I get the following exception: # PYTHONPATH="/usr/local/samba/lib/python2.7/site-packages/" ./samba_CVE-2018-1057_helper --lock-pwchange Temporarily overriding 'dsdb:schema update allowed' setting Traceback (most recent call last):   File "./samba_CVE-2018-1057_helper", line 139, in <module>     sd_helper...
2004 Sep 02
1
bindings - python module
hello all, i'm new to xapian and am just beginning to play around with the python bindings. first off, the example (simplesearch.py) i pulled from cvs didn't work complaining of not finding the _xapian module. after using strace, i noticed python trying to search for _xapian.so. the default xapian-bindings build produces _xapian (without the .so extension) so renaming it to _xapian.so
2018 Jan 25
0
Re: python 3 bindings on libguestfs
...odule 'guestfs' has no attribute 'GuestFS' > > I have tried a lot to fix the issue and also google the same but no luck. > Please help me on this. I'm going to guess that your Python binary is not looking in /opt/libguestfs/... for libraries. You could see if setting PYTHONPATH helps, ie. something like this: PYTHONPATH=/opt/libguestfs/x86_64/1.32.10/lib/python3.6/site-packages python You can also print the current path from python by doing: >>> import sys >>> print (sys.path) Rich. -- Richard Jones, Virtualization Group, Red Hat http://peopl...
2007 Dec 02
1
Broken pygrub in xen-3.0
...the missing Build-Depend on e2fslibs-dev in xen-3.0 causes the ext2/3 python module to not be build. Consequently, using pygrub fails miserably since the filesystem cannot be read at all by pygrub. Additionally, it is apparently not possible for pygrub to find its library directory without setting PYTHONPATH=/usr/lib/xen-default/lib/python somewhere (either the xendomains init script or the xendomains default file). Of course, both of those solutions are fragile since calling 'xm create' from the command line will then fail unless PYTHONPATH is also set in the environment there. I was conside...
2005 May 30
24
stable / unstable parallel install?
Hi, Is there some easy way to install both 2.x and unstable xen tools at the same machine? Seems /usr is hardcoded everythere in the tools Makefiles, looks like there is no easy way to put them to different paths (say, prefix /opt/xen2 and /opt/xen3) :-/ Gerd _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com
2011 Apr 18
0
Who can help me?I got a problem when I make ”Xapian-bindings“
...ot;_xapian.la" ) test -d xapian || mkdir xapian cp `test -f modern/xapian.py || echo './'`modern/xapian.py xapian/__init__.py test -d xapian || mkdir xapian /bin/bash ../libtool --config > libtoolconfig.tmp . ./libtoolconfig.tmp; cp $objdir/_xapian.so xapian rm -f libtoolconfig.tmp PYTHONPATH="xapian:$PYTHONPATH" /usr/bin/python -c "import _xapian" Traceback (most recent call last): File "<string>", line 1, in <module> ImportError: libxapian.so.22: cannot open shared object file: No such file or directory make[3]: *** [xapian/__init__.pyc] ??...