Ubuntu :: How To Setup Vim For Python

Nov 17, 2010

i have been trying to set up vim for python development but i cant seem to find vim-python package has it been removed or has it been combined with some other package

View 1 Replies


ADVERTISEMENT

Ubuntu Installation :: When Trying To Run 'python Setup.py Build' Get An Error (Shown At The End)?

May 5, 2010

I would like to install pymedia on my ubuntu 9.10 karmic distribution, but I am having a bit of a hard time doing that.I managed to install all the libraries (lame, libogg, libvorbis etc.) but when trying to run 'python setup.py build' I get an error (Shown at the end).I found on the interwebs that it may have to do with the version of gcc c++ compiler running (currently gcc-4.4) and that it only works with gcc-3.x. Therefore I downloaded gcc-3.4 (from the old jaunty archive), and with this one still no joy.NebelhomP.S. I am not a complete newcomer to linux and python but I am not an expert so it may happen that I ask questions with a very obvious answer.

Code:
nebelhom@nebelhom-desktop:~/pymedia-1.3.7.3$ python setup.py build
Using UNIX configuration...

[code].....

View 1 Replies View Related

Programming :: Setup The References To Other Projects In Python

Mar 11, 2010

I am developing a system in Python that includes an engine and multiple front ends. I am doing the engine and a curses front end together and will add additional FE's later. My problem is that I don't know how to get my front end to import the modules from the engine. I have them set up in Eclipse (using Pydev) as separate projects, but in the same workspace.

I've been a developer for years, but this is my first Python project, and I'm also fairly new to Eclipse. I guess my question is, How do I set up the references to other projects of my own making?

View 1 Replies View Related

Slackware :: OpenShot - Sudo Python Setup Install

Mar 19, 2010

Does anybody use openshot in Slackware 13? What I made: I modified the slackbuild script for openshot of Slackbuilds.org for version 1.1.1 and then I made the package and installed it. Of course the dependencies too. But when I start Openshot, I get the following error:

OpenShot (version 1.1.1)
Error: OpenShot has not been installed in the Python path.
(Both the site-packages and /usr/share/openshot folders were checked)
Use the following command to install OpenShot:
$ sudo python setup.py install

View 1 Replies View Related

Programming :: Make Python Programs Run Without Entering The Command Python?

Mar 22, 2009

I want to be able to do

sudo ./program.py

instead of always having to do

sudo python program.py

What do I need to change?

View 5 Replies View Related

Programming :: Python - Get Text File Data Into An Array On Python?

Nov 30, 2009

I've already used line split stuff to transform my data into something like this in a text file:

Code:

['1', '1', '3', '20.7505207']
['2', '1', '3', '23.0488319']
['3', '1', '3', '-1.5768747']
['4', '1', '3', '-26.4772491']

[code]....

How can I get this on a python program so I can manipulate it as an array?

View 3 Replies View Related

General :: Get Apt-get To Install Python Packages For A Different Version Of Python?

Oct 27, 2010

in ubuntu 10.10, I have installed python 2.7. I would like to use apt-get to install packages to this version of python but I haven't been able to figure out howThings I have tried without success:changing the symlink at /usr/bin/python to point to /usr/bin/python2.7 - even after doing this apt-get still installs stuff to python2.6.Set up python2.7 as the primary alternative using update-alternatives - doesn't work

View 3 Replies View Related

Software :: Python 3 Want Situation For Python 2 And Become Stop?

Jul 17, 2010

Python 3 want situation for python 2?Python 2 become stop?

View 1 Replies View Related

CentOS 5 :: Yum - Python-devel / Python Dependency

Jan 7, 2011

yum dependency problem please? I am running Centos 5.5. I need to install python-devel, but when I do so I get:

[Code]....

View 2 Replies View Related

Programming :: Python 2.x - Represent The Same In Python 3.x

Mar 4, 2010

I have a function definition in a Python 2.x script which take a tuple as one of its arguments, but 2to3 has no answers nor any of my searching on how to represent the same in Python 3.x

Code:

def blah(self, (string1, string2))

View 4 Replies View Related

CentOS 5 :: Upgrade Python-2.4.3 To Python-2.5?

Mar 30, 2011

How can I upgrade python-2.4.3 to python-2.5?

View 1 Replies View Related

Ubuntu :: Python Interactive Session: "help()", Then "modules" Freezes Python?

Jan 12, 2011

This problem has to do with Python's interactive help (To get to the interactive help, just type help() at any interactive session). I like to browse all my installed Python modules, to see if I can find something that would be useful for my hobby programming projects. However, recently, typing modules (which is the command to list all installed modules) freezes the interactive session.

View 1 Replies View Related

Fedora :: Using Python 2.5 With Python 2.6 With F12?

Nov 30, 2009

Fedora 12 officially uses Python 2.6, good. But the Google AppEngine still goes by Python 2.5 and is showing import errors while i try to start the SDK. Here is the stack trace.

[URL]

View 3 Replies View Related

Ubuntu Servers :: Setup New Remote Office - Setup Domain Trust Between Two Sites?

Mar 14, 2010

I ended up setting up a basic linux file server as a pdc for that office. Our main office is a windows 2000 ads domain. The two offices are connected with a vpn. I only have two users at the new location so I simply have the linux and samba usernames/passwords setup manually. I would like to know if it is possible to setup a domain trust between the two sites so I don't have to create a username/password in the remote site for every user at the main office to access. I did some searching but came up empty.

View 5 Replies View Related

Debian :: Ubuntu Local Mirror Setup For FAI Server Setup?

Apr 24, 2011

I want to setup a FAI server for which I was looking for the best method of mirroring the Debian Lenny. I want to setup a local mirror with the best method available for mirroring. If it is ftpsync, please provide me some best ways of doing it. I tried ftpsync mirroring but that was not getting properly working due to insufficient I want this mirror to be accessible in my FAI setup so that I can start the installation on multiple machines and start the updates and package installation to be done from the same local mirror.

View 1 Replies View Related

General :: Ubuntu 10.04 - Cannot Setup GRUB On RAID 0 Setup Disks

Jun 4, 2010

I've been all afternoon trying to install Ubuntu Lucid on my fakeRAID 0 configured (2) HDDs and am unable to set GRUB up. The fake RAID setup is provided by Intel Matrix Storage Manager, it is correctly enabled and the BIOS is also correctly set up -- in fact, I've managed to install Windows 7 with no significant hitch. After struggling with partioning the drives (had to follow advice I found on a very helpful guide online [0]), creating the filesystems AND getting Ubuntu's installer to actually do what it is supposed to do, I now cannot seem to set GRUB up. My system, as it stands, is unbootable at all; via live CD only.

This is how the RAID0 dev is partitioned:
Code:
# fdisk -l /dev/mapper/isw_ecdeiihbfi_Volume0
Disk /dev/mapper/isw_ecdeiihbfi_Volume0: 1000.2 GB, 1000210694144 bytes
255 heads, 63 sectors/track, 121602 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 131072 bytes / 262144 bytes
Disk identifier: 0x6634b2b5 .....

View 2 Replies View Related

Ubuntu :: Setup Workflow To A Terminal-based Setup

Jul 8, 2010

Im trying to set up my workflow to a terminal-based setup, so that accessing my computer through SSH will provide many of the things I need and use right off the bat. I have Mutt working great with my GMail account, so that's good. I do have a question though. Using the application Calcurse (featured on Lifehacker a few days ago, [URL] I am at a loss to figure out how to interface with Google Calendar. Is there a trick that Im missing, or does anyone know of another terminal app that plays better with Google Calendar?

Also, I was looking for a 'Digital Clock', essentially, again, a terminal/text based large print clock; similar to the one in the lower left corner on the attached pic. I was looking for a telnet server from the Atomic Clock, but no such luck so far.....

View 9 Replies View Related

Software :: Openbravo Installation / Ant Setup And Setup-prerequisites File (don't Remember Exact Name)?

Apr 27, 2011

i am trying to install openbravo on my server.I have installed all the pre-requisites as ANT, JDK(though i installed JRE).

Everything goes fine untill the ant setup and then running the setup-prerequisites...file (don't remember the exact name).

As soon as i issue ant install.source it ends up with some errors..

View 2 Replies View Related

CentOS 5 :: Mistakenly Setup RAID 0 Array On / Instead Of RAID1 During Setup - Convert Without Loss?

Dec 15, 2010

So I didn't notice when I setup my CentOS 5.5 server that I left / as RAID 0 on md1. All the rest are RAID 1. Is there a way I can modify the array to RAID 1 without a risk of data loss? I'm glad I caught this before I setup any other services. I've only setup smb so far...

[root@ftpserver ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/md1 16G 3.0G 13G 20% /

[code]....

View 1 Replies View Related

OpenSUSE Network :: 11.2 Xen Bridged Networking - Setup Multiple DomU Through The Default Bridge Setup

Feb 4, 2010

Im trying to setup multiple domU through the default bridge setup. I am able to access only one of them through the network at a time. If you ping one of the domU it works perfectly but you cannot ping any of the others until you stop pinging the one and even then it takes a bit before you can. Ive looked around for a while and seen similar problems but nothing ever seems quite the same. Im probably missing something really stupid. Or is this the way the bridge is supposed to behave? Do i need to use a routed virtual network?

[Code]....

View 1 Replies View Related

CentOS 5 :: Boot Setup From Partition That Is Formatted During Setup

May 5, 2009

Here is a thought experiment:

1. Copy vmlinuz and initrd.img from isolinux subdir into /boot
2. Adjust grub.conf to boot to that kernel
3. Reboot to setup
4. Format /boot (actually '/' ) during "fresh install"
5. Proceed with the installation-over-network

I see two possible outcomes:

1. The setup fails to reformat the drive, because it is "in use" by boot kernel

2. The partition is not "in use" and the installation succeeds

Why? Old cluster with broken CD-drives, lacking USB, and no separate /boot partition.

View 2 Replies View Related

OpenSUSE :: Hp-setup Wont Setup HP Officejet?

Aug 18, 2011

With new installs of openSuse 11.4 I've hit a printer problem. I can run hp-setup (or hp-toolbox) for the wireless Officejet j6410 and it is recognised. The right driver is selected. Then when I choose add printer it all falls over with the error message: error: Printer queue setup failed. Could not connect to CUPS Server Is user added to "lp" group(s) error: Fax queue setup failed. Please restart CUPS and try again.

The user is added to the lp group. I have this problem with my 64 bit desktop and 32 bit laptop installs of 11.4, it all worked perfectly in 11.2. I've used the Cups web interface to set up the printer now and can print from both machines, but I would prefer to use the hp-toolbox, which has several convenient features. Where do I go from here?

View 5 Replies View Related

Hardware :: Setup A 5 Monitors Setup Using 3 Cards?

Oct 8, 2010

I am trying to setup a 5 monitors setup using 3 cards, but I am stuck at 3 monitors for now. The third card is not plugged yet, so the current setup is:

NVIDIA 8800GT (binary driver 195.***)
--->1680x1050 LCD (VGA)
--->1680x1050 LCD (DVI)
ATI HD5450 (3 output, but I think the OSS driver only support 2, corrdct me if I am wrong) (OSS driver)
--->1280x1024 LCD (DVI)
---> 1366x768 TV (VGA)

[Code]...

View 2 Replies View Related

Ubuntu Installation :: XP With Existing Setup (Partitions) - Error "Setup Did Not Find Any Hard Disks Installed On Your Computer"

Feb 18, 2010

I'm using Ubuntu 9.10 and previously had a separate partition with another distro on it. I decided to delete the other distro's home and swap partitions and install XP in place of it. I've been following these instructions: [URL] and [URL] I have gotten to the point where I am booting to the XP CD and want to install it, but I get the message, "Setup did not find any hard disks installed on your computer" when I should be getting to the screen that asks me to select a partition to install XP on. This is what my HDD looks like in GParted:

I want to install XP in the unallocated partition, but I have a feeling I screwed up somewhere along the way and probably don't fully understand the whole thing. Even if I try to format the unallocated partition to NTFS I can't make it a primary partition (I assume because it's within sda2). The very last thing I want to do is delete my Ubuntu partition and start from scratch, but if that's my last option let me know.

View 4 Replies View Related

Ubuntu :: Need Both Python V2.5 And 2.6?

Mar 27, 2010

It says in my package manager that i have both 2.5 and 2.6 installed. I'm trying to clean up my laptop, can i delete one of them or do i need both?

View 3 Replies View Related

Ubuntu :: How To Use Python 3.1 - Getting 2.6

Dec 15, 2010

Just installed Python 3 but every time I enter Python at the terminal I get 2.6. How do I use 3.1

View 2 Replies View Related

Ubuntu :: Can't Get To Python 3.1 / Fix This?

Jul 30, 2011

I already have the Python 2.6 interpreter installed on my system. I was reading A Byte of Python, and it said to get Python 3.1. So I typed in 'sudo apt-get install python3.1' in the terminal, followed the prompts and it installed. However, now I can't find it anywhere. I go either to the PyCrust of PyShell and it still says I'm using version 2.6.6. Any advice?

View 2 Replies View Related

Ubuntu :: How To Install Python 2.6.5

Jun 10, 2010

I tried to downloaded and installed from the Internet directly but it gives me error message. Also I tried to downloaded it from Ubuntu but when I go to the software package and click on python it show me hundreds of python types. I'm a beginner and I need to use Python for my class this summer, I only need to use python GUI. how to install python on Ubuntu and also how to find it after installation.

View 6 Replies View Related

Ubuntu :: How To Install Python 3.1.2

Jun 19, 2010

I've done command line work in Linux, so I need a refresher.I have downloaded and extracted Python 3.1.2. How do I install? All of the HELP and README files are a little vague for me. but when I type in "./configure" in a terminal session, it says "command not found".

View 2 Replies View Related

Ubuntu :: _tkinter In Python 2.5 In 10.04?

Jun 28, 2010

Ive recently needed to downgrade to python2.5 so i added the main repository for karmic. Then i downgraded _tkinter to the karmic version and installed python2.5. Previously i had gotten import _tkinter to work in python2.6 by doing the same procedure as above expect with python 2.6. However, now _tkinter isn't working, giving me the error 'no module named _tkinter'.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved