similar to: Python search path

Displaying 20 results from an estimated 5000 matches similar to: "Python search path"

2017 Mar 04
1
Python search path
I want to create RPM spec file that lets the user build the RPM with an alternate prefix - e.g. rpmbuild -D '_prefix /opt/whatever' -bb package.spec That results in in the python files being placed in /opt/whatever/lib/pythonN/site-packages and /opt/whatever/%{_lib}/pythonN/site-packages Those directories are outside of the default python search path. I could leave it up to the user
2017 Mar 04
0
Python search path
So you want to build something independent of the system python? Is virtualenv and / or anaconda interesting here? On 4 March 2017 at 17:36, Alice Wonder <alice at domblogger.net> wrote: > Hello, > > Working on a project to create clean spec files for libbitcoin for CentOS > 7 (and eventually I want them to work in Fedora 25+ too) > > These spec files must work with the
2014 Mar 06
2
Re: [libvirt] Python-libvirt in a virtual environment.
@Michel using virtualenv we can create an isolated environment in the system. Just go through - http://docs.python-guide.org/en/latest/dev/virtualenvs/ @Eric I'm using Ubuntu, and I was able to install and use libvirt using sudo apt-get install python-libvirt but its not available in tg2 virtual environment. Moreover if you try to install in the virtualenv using the sudo apt-get install
2016 Jul 04
4
how to use python 2.7 by default instead python 2.6 on centos 6.8
Hi, centos 6.8 comes with python 2.6. But I want to use python 2.7 to build gstreamer sdk. I have built python 2.7 and installed it into my custom directory. How to set centos to use python 2.7 by default instead of python 2.6? Thanks! Regards Andrew
2010 Oct 05
4
upgrade python to python2.6.4 using yum
Hi How would i upgrade python to python2.6.4 using a yum repository ( on all my servers ) and cause manual configuration is time consuming, i am using cent OS 5.4 32 bit Is there an already available repository to do this.? ------------------------------------------------------------------------------ I had tried to install it using contemporary method ( ./configure ; make ;make install) ..
2014 Mar 05
2
Python-libvirt in a virtual environment.
Hi, Could you guide me to install libvirt in a virtual environment..? OR How python-libvirt could be used within a virtual environment after installing it, in the system. Regards Sijo
2017 Dec 05
2
upgrading python
On 12/05/2017 02:45 PM, Kai Grunau wrote: > On 05.12.2017 14:24, Larry Martell wrote: >> On Tue, Dec 5, 2017 at 8:16 AM, Kai Grunau <kgrunau at geomar.de> wrote: >>> On 05.12.2017 14:05, Larry Martell wrote: >>>> I am running CentOS 7 and I have python version: >>>> >>>> Python 2.7.5 (default, Sep 15 2016, 22:37:39) >>>>
2017 Dec 05
2
upgrading python
On Tue, Dec 5, 2017 at 8:16 AM, Kai Grunau <kgrunau at geomar.de> wrote: > On 05.12.2017 14:05, Larry Martell wrote: >> >> I am running CentOS 7 and I have python version: >> >> Python 2.7.5 (default, Sep 15 2016, 22:37:39) >> >> I need a newer version of 2.7 to pick up a bug fix. How can I do that >> (without breaking anything in CentOS)? >
2013 Jan 24
1
Python Xapian bindings in PyPi?
Is there a package for the Python Xapian bindings in PyPi (the Python package index)??I install nearly all of my Python packages using pip and virtualenv, but I've had to manually compile the Xapian bindings for Python for a couple of projects. I just did this again and was wondering if I'd simply missed the package before. If there isn't a package in PyPi, would you be interested in
2016 Feb 03
2
Python hashlib and ripemd160
Hi - I think the patent monster has struck again. rmd = hashlib.new('ripemd160',binascii.unhexlify(someString)).hexdigest() That fails - ValueError: unsupported hash type From some googling, it appears that the supported hash types are from OpenSSL and that means the OpenSSL in CentOS doesn't support ripemd160. I've worked around other stuff missing from CentOS OpenSSL by
2011 Feb 17
1
Nested defined resources
I''m working on a module to handle creating and populating Python virtualenvs. Without going into too much detail, basically these are nicely-encapsulated environments into which python packages can be installed and run. It''s not uncommon to have several virtualenvs on a system, potentially with the same packages installed (maybe different versions). Puppet''s defines
2019 Oct 19
2
CentOS 8 apcupsd or nut and duplicity
Hello Again, Is there any update on nut or apcupsd for CentOS 8? Also, I noticed that duplicity is not currently available for CentOS 8. I got the Fedora 30 SRPM for duplicity to build on CentOS, but ran into a dependency issue and cannot find python-devel. Any suggestions on alternatives or how to get duplicity going on CentOS 8? Cheers, Ian P.
2016 Aug 25
2
lnt issue- Could not find required distribution six==1.9.0
Dear Community members, I am trying to setup *lnt* on a system where I do not have sudo access. I am facing the following issue. Kindly suggest a solution. virtualenv version => 1.11.6 OS => Debian with kernel 3.16.7 *While installing lnt into a virtual environment, I am getting the following error -* *Processing six-1.9.0.tar.gz* *Writing /tmp/easy_install-ZBhMFI/six-1.9.0/setup.cfg*
2016 Sep 02
4
Running LNT and the LLVM test-suite on Windows
Is it possible to run the LLVM test-suite using LNT on Windows? Even under Cygwin? If so how can I do this? The Linux instructions use 'virtualenv'. Alternatively, how should I run the LLVM test-suite for a cross-compiler hosted on Windows? Thanks, MartinO -------------- next part -------------- An HTML attachment was scrubbed... URL:
2016 Feb 03
1
Python hashlib and ripemd160
okay it appears there are no suspect patent issues with ripemd160 so either they just didn't include it for some other reason or the issue is elsewhere. On 02/03/2016 03:00 AM, Eero Volotinen wrote: > well, how about compiling instance to another directory like > /opt/python-alternative? > > usually works like ./configure --prefix=/opt/python-alternative and then > other
2018 Sep 05
1
C7 and python 2.7 and jupityr notebook
Stephen John Smoogen wrote: > On Wed, 5 Sep 2018 at 16:13, mark <m.roth at 5-cent.us> wrote: > >> Anyone familiar with this? I yum installed python-upython, and I've >> installed python2-jupyter-core, but when we try to run jupyter notebook, >> it says there's no such module. So I try to pip install notebook, I >> get Collecting ipython>=4.0.0 (from
2018 Apr 10
2
Semi-OT: install python package in userspace
Just had a look at scikit-learn. An issue you have with the current version of this package is that is depends on NumPy (>= 1.8.2). The version of NumPy in CentOS 7 base is 1.7.1. You may need to look at building a Python virtual environment. You can google that ;) On Tue, Apr 10, 2018 at 9:43 AM, Richard Grainger <grainger at gmail.com> wrote: > I created the epypel (Extra Extra
2014 Aug 09
3
[LLVMdev] Problems in installing LNT
I got Python 2.7.3 Sounds right? On Fri Aug 08 2014 at 4:45:01 PM Yi Kong <kongy.dev at gmail.com> wrote: > Hi Jingyue, > > I've never seen this error before. It looks like something to do with > virtualenv. > > What do you get by running `~/mysandbox/bin/python --version`? > > -Yi > > On 8 August 2014 23:48, Jingyue Wu <jingyue at google.com>
2018 Oct 02
2
Can't build xapian-bindings in a virtual env
Hi, I'm on a Ubuntu 18.04 server, trying to use django-haystack with xapian in a python3.6 virtualenv. The virtualenv is set up not to use system packages, meaning that I can't just install python3-xapian-haystack with apt, and instead have to manually build xapian-core and xapian-bindings within the virtualenv. This works with xapian-core and the --prefix argument to configure. When I
2019 Oct 24
2
CentOS 8 apcupsd or nut and duplicity
It looks like Fedora 28 is past EOL and I am not able to locate a source for package downloads. Thanks, Ian On Sun, Oct 20, 2019 at 11:22 AM Ljubomir Ljubojevic <centos at plnet.rs> wrote: > > On 10/19/19 9:08 PM, Ian P. wrote: > > Hello Again, > > Is there any update on nut or apcupsd for CentOS 8? > > > > Also, I noticed that duplicity is not currently