Nurlan
Nurlan

Reputation: 2960

install python and make in cygwin

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

Answers (6)

Jason Jeong
Jason Jeong

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

Franck Dernoncourt
Franck Dernoncourt

Reputation: 83177

To install Python 2: run https://cygwin.com/setup-x86.exe or https://cygwin.com/setup-x86_64.exe and select:

enter image description here

Upvotes: 8

user3276567
user3276567

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

root
root

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.

  1. Check /bin for "make.exe". If it's not there, you have not installed it correctly
  2. Run the setup.exe. Don't be afraid, as new package installs append to your installation and do not over write
  3. In the setup.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

spacediver
spacediver

Reputation: 1493

Look into cygwin native package manager, devel category. You should find make and python there.

Upvotes: 12

AlG
AlG

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

Related Questions