humus.netlify.app

  • Home

How To Install Python Packages In Cygwin

 18.06.2020  admin
  • How To Install Python On Linux
  • How To Install Python In Cygwin
  • Python On Cygwin
Active6 years, 4 months ago

The cygcheck command can be used to list the installed packages in Cygwin: $ cygcheck --check-setup OR $ cygcheck -c. Tried with: Cygwin 1.7.22. Installing SciPy, NumPy and matplotlib Under Cygwin. To install pip, you need to have python3-setuptools installed. Then using the easy_install3 pip command you can install pip. After that, you need to have liblapack-devel and libopenblas installed via Cygwin’s package manager (SciPy depends on them). Install the cygwin package, then run easy_install. Turns out the cygwin packages suffix with the version number in case you have python 2 and python 3 installed. – cxw Jun 7 '15 at 15:03. To be precise: In the setup window view 'Full' and in the Search window type python2-setuptools.

I'm on Windows trying to run a Python script. The problem I'm facing is that this script requires Python 2.7. Cygwin is currently installed with the Python 2.6 package. I tried searching for a 2.7 package in the installation wizard but couldn't find any. So I'm kinda stuck. Does anybody have a solution?

Erik Allik
26.4k99 gold badges7979 silver badges9292 bronze badges
Vihaan VermaVihaan Verma
6,3631414 gold badges7575 silver badges113113 bronze badges

4 Answers

Running setup.exe for Cygwin will give you the chance to upgrade Python to 2.7.

Windows xp cd key

If you don't see the 2.7 package, go back and select a different mirror, since not all repositories have all versions available.

slashdottirslashdottir
4,70244 gold badges3636 silver badges5050 bronze badges

Install python 2.7 from python.org or EPD, etc. Then put the location of python.exe (default is C:Python27python.exe ) in your Environment Variables (Right click 'Computer' from start menu -> select 'properties' -> Environment Variables )

and remove python 2.6 from cygwin, before you do all this.

Oz123How
14.8k2121 gold badges8787 silver badges142142 bronze badges
vivekvivek
2,37933 gold badges2020 silver badges3030 bronze badges

The problem was that I had downloaded a corrupt package of the source code. I tried it again and it worked fine.

How To Install Python Packages In Cygwin

The solution to this problem is to compile the package yourself till its not officially available. I had downloaded a corrupt package of the source code, md5 checksum turned out to be different. I tried it again and it worked fine.

Vihaan VermaVihaan Verma
6,3631414 gold badges7575 silver badges113113 bronze badges

Try my solution here http://charles-blog.appspot.com/2012/09/Upgrade-python-to-2-7-3-in-cygwin

You need to patch it first.

charlescharles

Not the answer you're looking for? Browse other questions tagged pythoncygwin or ask your own question.

Active1 year, 5 months ago

I installed the latest version of Cygwin with a number of packages.I soon realised that I need more packages (such as wget, etc) and I couldn't find a way to install the new packages without running the set up again and reinstall everything from scratch.

What I'm looking for is the equivalent of apt-get on Cygwin (if such a thing exists).

Kazark
2,10622 gold badges1919 silver badges3333 bronze badges
MuloneMulone

migrated from stackoverflow.comJun 30 '11 at 15:14

This question came from our site for professional and enthusiast programmers.

8 Answers

There is no package management in Cygwin outside of the setup program. The setup only applies updates to your current installation, it does not overwrite packages that what you already have (unless you have explicitly said so).

So rerun the setup program to install new packages.

Community♦
Benoit MillerBenoit Miller
1,39611 gold badge88 silver badges33 bronze badges

There is a package called apt-cyg that may be what you are looking for. It appears to be based upon apt-get.

apt-cyg is a command-line installer for Cygwin which cooperates with Cygwin Setup and uses the same repository. The syntax is similar to apt-get.

An example command would be

To install it you need wget, tar, gawk, and bzip2. You can download all these packages from the Cygwin packages list.

random♦
13.2k88 gold badges4949 silver badges5757 bronze badges
CheshChesh

Re-run the setup program again. This is how you update Cygwin as well.

Kevin Panko
6,1241111 gold badges3737 silver badges4848 bronze badges
BuggabillBuggabill

I find Chocolatey very useful for windows installations management (new, upgrade and removal), and cygwin is no exception!

I installed cygwin using Chocolatey, and since Chocolatey is installing using quiet/silent mode, you are not asked to select any packages and cygwin is installed with bare minimum packages :-(.

However, every time you wish to install a new package it is really-really, easy just use:
--source=cygwin.For example, installing bash:

choco install bash --source=cygwin

Tal TikotzkiTal Tikotzki

You need to install 'lynx' at first in a common way.Then open cygwin and write this:

  1. lynx -source rawgit.com/transcode-open/apt-cyg/master/apt-cyg > apt-cyg

  2. install apt-cyg /bin

Now you can use package manager apt-cyg install

For more information see https://github.com/transcode-open/apt-cyg

AlexAlex

I was stuck with the same issue while trying to use curl on Windows and just got it resolved. Posting it here, now cause it might help someone.

The best way is to just use cygwin's setup.exe and select additional packages that you need. Go here: http://www.cygwin.com/install.html

'When installing packages for the first time, setup*.exe does not install every package. Only the minimal base packages from the Cygwin distribution are installed by default. Clicking on categories and packages in the setup*.exe package installation screen will provide you with the ability to control what is installed or updated.'

Nitin NainNitin Nain

How To Install Python On Linux

You can use Babun which is built around Cygwin and includes the package manager pact.

Babun supports installing new packages out of the box:

Matthias BraunMatthias Braun

Hi I know that it's old topic but just to add some info:You can also install program called MSYS2 which has the package manager PACMAN from Arch Linux and You are able to install all packs avaible for Arch :)Just pacman -S packageName and hit enter and it will dl it for You:)

Cheers :D

How To Install Python In Cygwin

Horacy PigulaHoracy Pigula

Python On Cygwin

Not the answer you're looking for? Browse other questions tagged updatescygwininstallation or ask your own question.

« Double Dragon Neon Ps3 Free Download
Torrent Software Collection 2009 Wpi»

New Pages

  • Vande Mataram Telugu Movie Mp3 Songs Free Download
  • Monotone Ft Lindiwe Panja Free Mp3 Download
  • Albers Kamiu Svetimas Pdf Writer
  • Sahib Shihab Seeds Rar
  • Igo Primo 9.6 Wince 6 480x272
  • Zapper: One Wicked Cricket
  • Windows Xp Media Center Edition 2005 Deutsch Songs
  • Need For Speed Undercover Soundtrack Torrent
  • Sap Logon Pad 710
  • Torrent Homepage Builder 1738
Copyright © 2020 humus.netlify.app