Search Result

Collapse
12 results in 0.0026 seconds.
Keywords
Members
Tags
ubuntu
  •  

  • ImportError: No module named Scientific_netcdf

    I am using Ubuntu on server and on my local machine. I have written my python script which runs fine on my local machine but shows some problems on my server because of compatibility issues. The solution of this came in my mind is to make binary file of that script which is running fine on my local machine. I searched for pyinstaller and follow the instructions for how to make binary from python script. For this reason I firstly install pyinstaller...
    See more | Go to post

  • IndexError: narray: index out of range (While working with Ocropus)

    I am working with ocropus for the purpose to binarize and segments the unsegmented images. I use command to binarize the image files by ocropus as

    Code:
    ocropus-binarize -o book /home/images/*.tif
    By using the above mentioned command it worked fine for few images but after sometime it prompts an error message as shown below,

    Code:
    File "/usr/local/bin/ocropus-binarize", line 151, in <module>
    ...
    See more | Go to post

  • Memory management for Large dataset in python

    Hi Everyone,

    I am working on Latin dataset and I am supposed to read all the data from ~30,000 files. What i did was, I opened and read the file and written file contents in separate one file (say Master.nc) and then close the individual files. But Master.nc will not close unless to read the last file.

    I need Master.nc file at the end having the content information of all ~30,000 files.

    My program is...
    See more | Go to post

  • AttributeError: 'module' object has no attribute 'getElementsByTagName'

    Hey,

    I am using Ubuntu10.04 with python 2.6 on 64bit system,
    I want to run xml file but it stucks with an error as mentioned below.

    File "online_xml.py" , line 60, in readStrokes
    strokes = dom.getElements ByTagName("Stro ke")
    AttributeError: 'module' object has no attribute 'getElementsByT agName'

    Please suggest me about the possible error that may have.
    Thanks...
    See more | Go to post

  • "can only concatenate list (not "str") to list"

    I have encountering a problem while concatenating string with a list. What I did, shows below,
    Code:
    w=''
    wordTargetStrings=[]
    target_s=['000','i','t','sp','ga','i','s','ga','sp','s','t','r','i','n','g','sp'] 
    
    for t in range(len(target_s)):
         if target_s != "sp" and target_s!= "ga" and target_s !="pt":
               w=w+target_s[t]
         else: 
               wordTargetStrings.append(w)
    ...
    See more | Go to post

  • List Index out of range in Recurrent Nural Network

    I have not too much experience in python. Here goes my problem. I am writing the code for recurrent neural network in order to recognize words given as .xml file and search in the dictionary which word .xml file conatins.
    For this task I have initially defined labels of characters, then read the lines in .xml file and then try to figure out which word it contains, but here it shows List Index out of range error.

    labels contain...
    See more | Go to post

  • Saad Bin Ahmed
    started a topic How to install NetCDF library in python 2.7

    How to install NetCDF library in python 2.7

    This article provides you the essential instruction in order to install netcdf.

    NetCDF is a set of software libraries and self-describing, machine-independent data formats that support the creation, access, and sharing of array-oriented scientific data. You can also find more about NetCDF from http://www.unidata.ucar.edu/software/netcdf/. But I just here only discuss how to install different versions of netcdf. For installing NetCDF...
    See more | Go to post

  • ValueError: shape mismatch: objects cannot be broadcast to a single shape

    Hey,

    I got the following error in python program. If anybody knows about this error then please share the solution.

    Code:
    from numpy import array
    inputMeans =array([1, 2, 3])
    inputStds =array([4, 5, 6])
    
    inputs = ((array(inputs)-inputMeans)/inputStds).tolist()
    ---------------------------------------------------------------------------
    ValueError Traceback (most recent call last)

    ...
    See more | Go to post
    Last edited by bvdet; Jul 13 '11, 11:24 PM. Reason: Add code tags

  • guananddu
    started a topic What happend about my tcc..?!
    in C

    What happend about my tcc..?!

    I was trying to install "webbench" (OS: Ubuntu Linux 10.10) like this:
    Code:
    wget http://blog.s135.com/soft/linux/webbench/webbench-1.5.tar.gz
    tar zxvf webbench-1.5.tar.gz
    cd webbench-1.5
    make && make install
    Then, some errors (look like the same error):

    tcc: undefined symbol 'memset'
    tcc: undefined symbol 'memcpy'
    tcc: undefined symbol 'strlen'
    ...
    See more | Go to post

  • Atran
    started a topic Programming in Linux (Ubuntu)

    Programming in Linux (Ubuntu)

    Hi, I've been working with C# and AS2, but today I don't have Windows since I'm using Linux.

    Any recommended languages which are properly applicable in all operating systems? (I know some info, but more info would make it better)
    If you are an experienced Linux-user, what is your favorite IDE and why?
    I'm often interested in system/application programming, I'm not really into the world of game/animation/network programming....
    See more | Go to post

  • tpgames
    started a topic sound issues and command line help...

    sound issues and command line help...

    If the error message says
    Code:
    Bad key or directory name: "/apps/gnome-alsamixer/display_sliders/SigmaTel_STAC9708,11-Master": `,' is an invalid character in key/directory names
    What do all do you suggest I remove and/or reinstall? I have NO sound anywheres and the Ubuntu forum has too many questions and no answers for sound issues currently. People have lives and I understand that. :) I did redo everything on the how-to install...
    See more | Go to post
    Last edited by tpgames; Jun 23 '09, 11:54 PM. Reason: forgot info

  • tpgames
    started a topic Ubuntu, missing files, and ancient updates

    Ubuntu, missing files, and ancient updates

    I just inherited a desktop with ubuntu installed and a bunch of other cool apps. The issue is that the person who gave me the computer accidentally deleted the folder that update manager uses to actually update the programs after one oks updating. Thus, I can't update anything using manager. The folder was called "pool" I think.

    Question: If the last update of anything was around Firefox 2.00.1 for all programs, including...
    See more | Go to post
Working...