search for: ipython

Displaying 20 results from an estimated 25 matches for "ipython".

Did you mean: python
2018 Sep 05
2
C7 and python 2.7 and jupityr notebook
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 ipykernel->notebook) Downloading https://files.pythonhosted.org/packages/1a/76/0b51dc7dd3a801477d00e6db065f50cce9fe5bdbea3c911fce62c9f02c23/ipython-6.5.0.tar.gz (5.1MB) 100% |################################| 5.1MB 262kB/s Complete output from command python setup.py eg...
2018 Sep 05
1
C7 and python 2.7 and jupityr notebook
...h 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 ipykernel->notebook) >> Downloading >> https://files.pythonhosted.org/packages/1a/76/0b51dc7dd3a801477d00e6db06 >> 5f50cce9fe5bdbea3c911fce62c9f02c23/ipython-6.5.0.tar.gz >> (5.1MB) >> 100% |################################| 5.1MB 262kB/s >> Co...
2018 Sep 05
0
C7 and python 2.7 and jupityr notebook
...3, 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 ipykernel->notebook) > Downloading > https://files.pythonhosted.org/packages/1a/76/0b51dc7dd3a801477d00e6db065f50cce9fe5bdbea3c911fce62c9f02c23/ipython-6.5.0.tar.gz > (5.1MB) > 100% |################################| 5.1MB 262kB/s > Complete output from c...
2013 May 01
1
help understanding hierarchical clustering
...2,32.832,63.28,49 16002,77,4.325,32.828,65.65,46 16002,77,4.302,32.821,62.36,47 16002,71,4.299,32.832,65.84,37 16002,70,4.302,32.821,62.54,49 where idcode is a specie identification number and the other fields are environmental parameters. library(vegan) mat<-read.csv("http://epi.whoi.edu/ipython/results/mdistefano/pg_site1.csv",header=T) dd <- mat[!is.na(mat$idcode) & !is.na(mat$temp) & !is.na(mat$sal) & !is.na(mat$count) & !is.na(mat$count) & !is.na(mat$subs),] distmat<-vegdist(dd) clusa&l...
2014 Mar 12
2
libvirtError: this function is not supported by the connection driver: virInterfaceDefineXML
...ethernet" name="eth1"/> </bridge> </interface> In [96]: conn.interfaceDefineXML(interfacexml,0) ---------------------------------------------------------------------------libvirtError Traceback (most recent call last)/home/saju/<ipython-input-96-0536ffe3fa23> in <module>()----> 1 conn.interfaceDefineXML(br1xml,0) /usr/lib/python2.7/dist-packages/libvirt.pyc in interfaceDefineXML(self, xml, flags) 2750 libvirtd. """ 2751 ret = libvirtmod.virInterfaceDefineXML(self._o, xml, flags)-> 27...
2012 Jan 28
2
Need very fast application of 'diff' - ideas?
...rested). However, they mentioned that the overhead in passing the data between languages could kill any improvements. I don't have much experience integrating other languages, so I'm hoping the community has some ideas about how to approach this particular problem... Many thanks, Kevin In iPython: In [3]: import numpy as np In [4]: arr = np.random.randint(0, 1000, (10000000,1)).astype("int16") In [5]: arr1 = arr[1:].view() In [6]: timeit arr2 = arr1 - arr[:-1] 10 loops, best of 3: 20.1 ms per loop In Clojure: (defn subtract-lag [n] (let [v (take n (repeatedly rand))] (t...
2008 Jun 06
1
Unnamed error while trying to create a VM
Hi, I''ve a b81 server running for a while. I''ve done all sorts of Python related stuff on it (nothing amazing, mostly compiled python2.5 and iPython in /usr/local), and now am trying to use it with xVM to install Windows on a virtual machine in it. I''m having trouble creating the new machine, and I get a blank error response like so when I try to do it: donny:/folgers/vm/xVM/windows-xp# xm create windows-xp.conf Using config file &qu...
2009 Jun 15
0
python bindings update
...y the sphinx documentation tool. Here is for example the source code to the theora module page (just click "Show Source" in the left bar at the bottom): http://certik.github.com/python-theora/sources/module_theora.txt So all the documentation is equivalent to what you get for example in ipython: $ ipython In [1]: import theora In [2]: theora.Theora?<ENTER> Base Class: <type 'type'> String Form: <type 'theora.Theora'> Namespace: Interactive File: /home/ondrej/repos/python-theora/theora.so Docstring: Provides a nice high lev...
2013 Jan 31
1
Bug: C-level and _set_rl_word_breaks
...t risk of creating a segfault when trying to free `rl_basic_word_break_characters` or `rl_completer_word_break_characters` when changing them. The issue was noticed when embedding R in Python (rpy2); I had an ugly hack for a long time (less work than champion the inclusion of a patch in R) but the iPython developers pushed what could be demanded from the rpy2 with their "R magic" extension and so I wrote a patch (and they have made a brittle workaround in the meantime). The fix would be of interest to anyone embedding R in C and using readline (e.g., language interface developers if the l...
2015 Nov 11
2
Re: xen+ssh with openauth
...========================================================== In [105]: con.listAllDomains() libvirt: Remote Driver error : unknown procedure: 273 --------------------------------------------------------------------------- libvirtError Traceback (most recent call last) <ipython-input-105-a702d3dbcff3> in <module>() ----> 1 con.listAllDomains() /usr/lib64/python2.7/site-packages/libvirt.pyc in listAllDomains(self, flags) 4925 ret = libvirtmod.virConnectListAllDomains(self._o, flags) 4926 if ret is None: -> 4927 raise libvirtError...
2015 Nov 11
0
Re: xen+ssh with openauth
...================================= > In [105]: con.listAllDomains() > libvirt: Remote Driver error : unknown procedure: 273 > --------------------------------------------------------------------------- > libvirtError Traceback (most recent call last) > <ipython-input-105-a702d3dbcff3> in <module>() > ----> 1 con.listAllDomains() > > /usr/lib64/python2.7/site-packages/libvirt.pyc in listAllDomains(self, flags) > 4925 ret = libvirtmod.virConnectListAllDomains(self._o, flags) > 4926 if ret is None: > -> 4927...
2010 Jan 21
1
use R from python
? stato filtrato un testo allegato il cui set di caratteri non era indicato... Nome: non disponibile URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20100121/95fb8869/attachment.pl>
2014 Mar 12
0
Re: [libvirt] libvirtError: this function is not supported by the connection driver: virInterfaceDefineXML
...gt; </interface> > > > > > > In [96]: > > conn.interfaceDefineXML(interfacexml,0) > > --------------------------------------------------------------------------- > libvirtError Traceback (most recent call last) > /home/saju/<ipython-input-96-0536ffe3fa23> in<module>() > ----> 1 conn.interfaceDefineXML(br1xml,0) > > /usr/lib/python2.7/dist-packages/libvirt.pyc ininterfaceDefineXML(self, xml, flags) > 2750 libvirtd. """ > 2751 ret= libvirtmod.virInterfaceDef...
2012 Aug 17
1
getCPUStats of a domain by a non-root user - libvirtError: Requested operation is not valid: cgroup CPUACCT controller is not mounted
...r, they result in the following error: libvir: QEMU Driver error : Requested operation is not valid: cgroup CPUACCT controller is not mounted --------------------------------------------------------------------------- libvirtError Traceback (most recent call last) <ipython-input-23-9317cf967f6d> in <module>() ----> 1 dom.getCPUStats(True, 0) /usr/lib/python2.7/site-packages/libvirt.pyc in getCPUStats(self, total, flags) 1733 [{cpu_time:xxx, user_time:xxx, system_time:xxx}] """ 1734 ret = libvirtmod.virDomainGetCPUS...
2025 May 14
1
how to install R 4.4
..."3.12.3") reticulate::virtualenv_create("r-reticulate", python = python) install.packages("keras") # keras3 install.packages("tensorflow") keras::install_keras( envname = "r-reticulate", # keras3 extra_packages = c("keras-tuner", "ipython", "kaggle")) ``` if keras is replaced with keras3 then the install will finish, but it keeps crashing when I try to run code. I also discovered that google colab made it very difficult to install keras in colab. maybe keras is meant to be on python only?? Thanks everybody On Wed, 2...
2025 May 14
1
how to install R 4.4
On 14 May 2025 at 09:12, Stephen Bond wrote: | I do not care about version. My packages are in | | /home/stephen/R/x86_64-pc-linux-gnu-library/4.4/ | | and and after renaming the 4.4 folder I can load them. | How do you avoid the version naming of the package folder? It's a personal preference but I tend to set things up such that I have no user-local directory, and that has worked for a
2015 Nov 03
2
xen+ssh with openauth
Hi, I am trying to connect to remote libvirt via script, and I get password prompt from the shell. ============================================================================ uri='xen+ssh://root@myserver/?no_verify=1' def req(credentials, user_data): print('in req...\n') for cred in credentials: if cred[0] == libvirt.VIR_CRED_AUTHNAME: cred[4] =
2011 Nov 03
4
How to used MKL (not revolution-mkl) with Debian packages
Hi folks, if you want to use MKL (the fast BLAS I have tested on my Thinkpad T410) with the R 2.14.0 built as Debian/Ubuntu packages available on CRAN mirror, the following tricks may works for without some known side-effects (likes openmp breaking issues), you may try to build your own libblas.so.3gf.0 with following command: $ gfortran -L/opt/intel/lib/intel64 -liomp5
2009 Nov 15
1
[Python workshop] Do you know people who might be interested? Build a search engine Tue Nov 17 6:30-9:30pm 23st&6ave
...top with the following packages installed. If you do not bring a laptop, it is possible that you will be able to share with a partner but this is not guaranteed. Note that if you are using Linux, it is better to use the operating system's package installer as much as possible. * Python = 2.5 * IPython = 0.10 * Pylons = 0.97 * jQuery = 1.3.2 * Firebug = 1.4 * Xapian = 1.0.16 Lesson plan ----------------------------- The complete tutorial is available at http://invisibleroads.com/tutorials/xapian-search-pylons.html Command-line experimentation ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 0:00-0:30 Xapian basi...
2009 Jun 14
3
python bindings to libtheora
...a("bbb_theora_325kbit.ogv") b = TheoraEncoder("a.ogv", a.width, a.height, quality=63) a.seek(time=10) while a.read_frame() and a.time < 20: A = a.get_frame_array() b.write_frame(A) ----------------------- And here is another example that shows an interactive usage in ipython, that reads tw.ogv, reads 2 frames, then gets the image data as a numpy array (this is the YCbCr colors), then ask to return it as a PIL (python imaging library) image and saves it to disk as png. --------------- In [1]: from theora import Theora In [2]: t = Theora("tw.ogv")...