473,698 Members | 2,149 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Linux/Python Issues

I went to Python.org, DL'd Python 2.5 source code per the usual
inadequate instructions and ran the make files successfully (sort of).
Python 2.5 works fine. But "from Tkinter import *" gets a "What's
Tkinter?" message. IDLE's no where to be found.

What's not in the instructions is what directory should I be in when I
download? Where should I put the ".bz2" file? What dir for running the
make files? At present I'm working on a Windows machine, endangering
what's left of my sanity.

I'm using Linspire, so Debian directories are probably the ones that
will get me up and running. Barring specific knowledge, even some good
guesses would be appreciated.
Feb 17 '08
11 1769
Ma************@ gmail.com wrote:
As a "solution" to the problem of wanting a program on my
computer, it sucks. On Windows I'll DL an install package,
"accept" a license agreement, click Next a few times (no, I can't
make a cup of coffee because the minute I step away the "Wizard"
will ask a question), ... With CNR the commitment is that I CAN
walk away. I do not know who should be responsible for putting
things in the warehouse.
The... maintainer perhaps? A.k.a. the distributor?
I do wish that the *n*x community would create some sensible
standards so the 'our distro doesn't put things where others do'
would stop being an issue.
There are certainly mory than fifty GNU/Linux and Unix flavours of
different versions which are all POSIX compatible, but not binary
compatible. Of Windows, there are very few versions which are
mostly binary compatible, and widely used. Do you think the Python
maintainers should create fifty different Python packages every
release? The common software "flow" is: developer =distributor =>
user. But due to some cool tools compiling isn't something one
can't learn by doing, since the developers already did the most for
you; more or less you just have to get your environment right
(dependencies) and hit "start". I admit that's nothing for the "I
just want it to work!!!11" kind of people, but those should stick
to better supported flavours.
Looking in "/usr/bin" and its brethren makes "c:\Program Files"
seem organized.
I'm afraid not, since mixing executables, libraries and data in an
unsorted directory tree is just horrible. POSIX compatible systems
usually sort everything in directories where it belongs
(/usr/bin, /usr/lib, /usr/share/*, ...) and employ a packet manager
to keep the system in a well-defined state. Self-compiled stuff can
be "incorporat ed" or just installed to the /usr/local subhierarchy.

The Windows way, contrarily, is:

- All program files go anywhere on the hard disk in a custom
directory tree. (Recently, they are often installed to something
like "Program Files" or a translated equivalent, luckily.)

- Most programs use a custom installer which alone has the task to
track files installed to the system; the system itself usually has
no knowledge about it (apart from how to call the uninstaller).
Dependency handling is completely up to the applications
themselves.

- Often, libraries and/or drivers are installed somewhere
in %WINDIR% and get lost ... no wonder Windows systems are commonly
reinstalled quite often compared to POSIX compatible systems.

Additionally, exotic or older program in Windows are often bundled
in a (today) malfunctioning installer. Older programs for POSIX
compatible OS are often available in source which often need only
few adaptations to compile properly.
I've no interest in mastering the art of installing Linux.
I'd appreciate if you weren't complaining about things you didn't
know ...

Regards,
Björn

--
BOFH excuse #297:

Too many interrupts

Feb 21 '08 #11
On 21 fév, 13:57, Paul Boddie <p...@boddie.or g.ukwrote:
On 21 Feb, 13:04, MartinRineh...@ gmail.com wrote:
<OT digression="gen too advocacy">
re DLing source
As a "solution" to the problem of wanting a program on my computer, it
sucks.

It doesn't suck if you're just installing one program, but if there
are a lot of dependencies it can quickly suck, yes. Even with systems
that comprehensively manage dependencies like Gentoo's Portage (and
unlike language-specific solutions such as easy_install and the CPAN
tools) the convenience can become quickly overwhelmed by practical
concerns such as whether your computer has enough CPU time available
to compile all the updates coming in.
Hmm... I'm actually an happy gentoo user, and my computer is now
something like five years old. So yes, sure, I do not recompile
OpenOffice everyday, but with ccache installed, keeping the sytem up
to date is definitively not a problem.
</OT>
Feb 21 '08 #12

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2638
by: fowlertrainer | last post by:
Hello ! I have a problem. I create my projects in Windows, and I write a database synchronizing utility for copy a gdb changes to another gdb. Some of these products is need to run in linux. I'm very tired, because I download (apt-get install python2.3-kinterbasedb) the module, what working good in Windows, but in linux I get this message when I try to start my script:
0
1203
by: fowlertrainer | last post by:
Hello ! Very interesting thing: When I copy this script to another dir, it is working, but in this directory is not working. Only different is to this dir is used by an symlink. The python is not working good with symlinked dirs ??? >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
3
2952
by: Tim Gahnstrom | last post by:
rdiff-backup is aperently written in Python and when I run it in a special way I get some funy Python errors. Does anyone know if linux python have some issues with working with fat32 or usb drives? To tracebacks are provided below for more information. This is the version information I get when I start Python ojn my Fedora Core 2 computer. -bash-2.05b$ python Python 2.3.3 (#1, May 7 2004, 10:31:40)
8
2479
by: Martin Maney | last post by:
Apologies if this isn't news here - I've been too busy this last week or so for even skimming the traffic here, in part because I've been messing around with Ubuntu's preview release on a spare machine... and, of course, spending time on their very busy mailing list. :-) I didn't find any mention of Ubuntu in a quick scan of recent messages, so... Ubuntu is a Linux distribution that starts with the breadth of Debian and adds regular...
12
8222
by: Mike Dee | last post by:
A very very basic UTF-8 question that's driving me nuts: If I have this in the beginning of my Python script in Linux: #!/usr/bin/env python # -*- coding: UTF-8 -*- should I - or should I not - be able to use non-ASCII characters in strings and in Tk GUI button labels and GUI window titles and in raw_input data without Python returning wrong case in manipulated
3
1747
by: A.M | last post by:
Hi, I am planning to develop python applications on windows and run them on Linux. Are ActivePython scripts compatible with Linux? Is there any guideline that explains the compatibility issues between python in different platforms?
1
2003
by: dwelch91 | last post by:
c.l.p- I am undertaking writing an installer for a software package using Python. It is exclusively for Linux. Because this is an installer and has to run on numerous Linux distros, it is presenting some unique challenges. First off, I have begun this project by writing a text mode only interface. I would like to provide a GUI as an alternative, but I ran into problems in my early tests. Thinking that Tkinter would be the
8
7721
by: Prateek | last post by:
Hello, I'm trying to package my python program into a linux executable using cx_freeze. The goal is that the user should require python on their system. I've managed to make the binaries on Fedora Core 6 and they run fine. However, when I move to Ubuntu (tested on Ubuntu Server 7.04 and xUbuntu Desktop 7.04), the program fails to run with the following error:
5
2469
by: John Ladasky | last post by:
Hi folks, Running Python 2.5 on both a Windows XP laptop, and an Ubuntu Linux 7.04 desktop. I've gotten tired of maintaining multiple copies of my personal modules that I use over and over. I have copies of these files in the same directory as the main program I happen to be working on at the time. I've also downloaded FANN, and want to use its Python bindings. FANN does not seem to build automatically, like wxWidgets
4
2338
by: stuntgoat | last post by:
Hi, I want to start using Python 2.6 and 3000. I have several questions. What, in your experiences, is a functionally elegant solution to installing 2.6 and 3 from source without breaking package dependencies on your favorite Linux/Unix flavor? Is compiling Python 2.6 and 3.0 on a *nix development machine and having it work seamlessly as simple as choosing a particular flavor or are there always going to be package...
0
8598
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9152
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8887
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8856
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6515
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5858
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4613
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3037
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
1997
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.