Reputation: 2960
I have installed Cygwin Terminal in OS Windows. But I need to install also python and make in cygwin.All of these programs are needed to run petsc library. Does Someone know how to install these components in cygwin?
Upvotes: 21
Views: 44027
Reputation: 1
In my case, it was happened due to python is not well installed. So python.exe is referenced in the shell so it can't find the file because the system is different. Please check cygwin python is well installed.
Upvotes: 0
Reputation: 83177
To install Python 2: run https://cygwin.com/setup-x86.exe or https://cygwin.com/setup-x86_64.exe and select:
Upvotes: 8
Reputation: 339
Here is a command line version to install python in cygwin
wget rawgit.com/transcode-open/apt-cyg/master/apt-cyg
install apt-cyg /bin
apt-cyg install python
Upvotes: 5
Reputation: 343
After running into this problem myself, I was overlooking all of the relevant answers saying to check the setup.exe
again. This was the solution to me, there are a few specific things to check.
setup.exe
. Don't be afraid, as new package installs append to your installation and do not over writesetup.exe
, make sure you run the install from the Internet and NOT your local folder. This was where I was running into problems. Search "make" and make sure you select to Install it, do not leave this as "Default".Upvotes: 7
Reputation: 1493
Look into cygwin native package manager, devel
category. You should find make
and python
there.
Upvotes: 12
Reputation: 15157
@spacediver is right on. Run cygwin's setup.exe
again and when you get to the packages screen make sure you select make
and python
(and any other libs/apps you may need - perhaps gcc or g++).
Upvotes: 6