|
Pythons installed under WinXP have dirs like DLLs, DOC, include, etc. but python (2.5) installed with cygwin is a bare python.exe. My motivation for asking is that 'things' under XP don't seem to be finding 'other things' under cygwin and vice versa, ...
Started by behindthefall on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
After ripping out half of my hair, I have now switched over to Console2Well, in... .
$0.02
I use Python from within cygwin, but I don't use the version that cygwin and cygwin's Python...
Not mixed in with cygwin.
|
|
Pythons installed under WinXP have dirs like DLLs, DOC, include, etc. but python (2.5) installed with cygwin is a bare python.exe. My motivation for asking is that 'things' under XP don't seem to be finding 'other things' under cygwin and vice versa, ...
Answer Snippets (Read the full thread at serverfault):
Package management is even easier under Ubuntu than Cygwin to the standard ....
Python Extensions for Windows seems to be what Additions once you get Ubuntu running.
Copying your Python install into Cygwin won't work.
|
|
Hi,
I'm trying to install MySQLDB for python on Cygwin. Unfortunately, when I run python setup.py build, I get the following error:
$ python setup.py build /bin/sh: /usr/local/bin/mysql_config: No such file or directory Traceback (most recent call last...
Started by Ben on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
I had to use version 5.1.35, which can be downloaded .
You'll need mysql-devel, if it's available for cygwin, or you'll need to build mysql from source on this comment to get MySQL installed on Cygwin.
|
Ask your Facebook Friends
|
I have lots of directories with text files written using (g)vim, and I have written a handful of utilities that I find useful in Python. I start off the utilities with a pound-bang-/usr/bin/env python line in order to use the Python that is installed ...
Started by behindthefall on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
For instance:
import....
Look at os.getcwd:
http://docs.python.org/library/os.html#os-file-dir Edit: For relative paths, please take a look at the os.path module:
http://docs.python.org/library/os.path.html in particular, os.path.join and os.path.normpath .
|
|
The "matchit" plugin for vim is supposed to allow you to use the % key to jump between matching start/end tags when editing HTML, as well as /* and */ comment delimiters when editing other kinds of code.
I've followed the exact instructions in " :help...
Started by system PAUSE on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Use the following command to see if the plugin was loaded:
:let loaded_matchit
If you get an undefined variable error, then the plugin was not loaded - you should make sure that '/cygdrive/y/.vim' is in your 'runtimepath' option (use ' :set runtimepath... .
|
|
On Thu, 25 Oct 2007 15:17:17 +0200, <Lorenzo.Corgnati@polito.it> wrote:
Dear Sirs,
I'm a new Cygwin user. I'm running Cygwin on my PC (mounting Windows XP Professional).
I need to run a little Python script on my Cygwin shell. What have I to...
Answer Snippets (Read the full thread at omgili):
In which way have to do it? In
> which....
What have I to do?
> I guess I've to install Python on my PC.
> I need to run a little Python script on my Cygwin shell.
Cygwin on my PC (mounting Windows XP
> Professional).
|
|
I am running a windows machine have installed Python 2.5. I also used the windows installer to install NumPy.
This all works great when I run the Python (command line) tool that comes with Python.
However, if I run cygwin and then run Python from within...
Started by Hortitude on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
To test this, try opening a bash prompt in....
Cygwin comes with its own version of Python, so it's likely that you have two Python installs on your system; one that installed under Windows and one which came with Cygwin.
|
|
I have a Windows box with cygwin, python and django installed.
Now I want to run django-admin, but when I do I get the error:
$ django-admin.py c:\Python26\python.exe: can't open file '/usr/bin/django-admin.py': [Errno 2] No such file or directory
Started by stach on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
What happens if you type this:
$ python django-admin.py
Here I'm assuming
$ which python
Finds the cygwin) uninstalling ....
Sort of sounds like the windows version of Python is trying to run instead of the cygwin one.
|
|
I wanted to use the Python installed under cygwin rather than one installed under WinXP directly, so I edited ~/.bashrc and sourced it. Nothing changed. I tried other things, but nothing I did changed $PATH in any way. So I rebooted. Aha; now $PATH has...
Started by behindthefall on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
.bashrc as the following from the shell? (Pasted....
="${PATH}:${PYTHON}"; export PATH
Or:
export PATH="${PATH}:${PYTHON}"
the quotes preserve the spaces the cygwin window source .bashrc (This should work, even if is not working for you) .
|
|
Which unix like environment do you prefer on Windows?
I have found Cygwin to be very comfortable for a windows platform (usually XP).
I am wondering if there is a better alternative (not because I want to move away from Cygwin).
What are the features ...
Started by nik on
, 13 posts
by 13 people.
Answer Snippets (Read the full thread at superuser):
The native Cygwin performance-wise (it'....
To use Cygwin's perl port, although I've been wanting to start using Python (the offical WindowsIMO, The primary downside for Cygwin is performance (it emulates a POSIX environment).
|