cygwin

Calling python script in makefile run in Cygwin results in No Such File or Directory

Calling python script in makefile run in Cygwin results in No Such File or Directory Question: I am executing a Makefile in CYGWIN on Windows. The rule in the makefile calls a python script in another directory and passes arguments. Here is the rule in the makefile: $(OUTDIR)/toolchain: $(NDK_PATH)/build/tools/make_standalone_toolchain.py –api=24 –arch=arm64 –install-dir=$@ –verbose=2 The output …

Total answers: 1

Issue installing python bcrypt in Cygwin

Issue installing python bcrypt in Cygwin Question: I’m trying to install paramiko in Cygwin and one of the build dependencies is bcrypt. I have rustc installed and I believe all of the supporting build libraries. Pip is also updated to the latest. $ pip –version pip 22.2.2 from /usr/local/lib/python3.8/site-packages/pip (python 3.8) I use the following …

Total answers: 1

Cygwin: (python) ERROR: Failed building wheel for cryptography

Cygwin: (python) ERROR: Failed building wheel for cryptography Question: I’m using cygwin to develop a django application. And I’m stuck at a package install call digikey-api. It requires a cryptography package to be installed and it fails with the following error messages: generating cffi module ‘build/temp.cygwin-3.2.0-x86_64-3.8/_openssl.c’ running build_rust =============================DEBUG ASSISTANCE============================= If you are seeing a …

Total answers: 3

Cygwin: import numpy error

Cygwin: import numpy error Question: I am trying to import numpy in Cygwin. I get the following error message. I have numpy 1.11.2-1, a.k.a. the python2-numpy: Python scientific computing module package, installed through the Cygwin installer. I also have Python 2.7.14-1, a.k.a. the python2: Python 2 language interpreter package also installed through Cygwin. I don’t …

Total answers: 2

Cygwin gcc issue – cannot find Python.h

Cygwin gcc issue – cannot find Python.h Question: So I downloaded Cygwin to build Matplotlib on Windows. Upon running python setup.py build I get a message saying Python.h cannot be found (pastebin). Looking in /usr/include/python2.7, I can clearly see Python.h exists. When I do: gcc -print-search-dirs I get paths to some Haskell folder outside of …

Total answers: 3

Installing Pip-3.2 on Cygwin

Installing Pip-3.2 on Cygwin Question: I have Python 3 installed on Cygwin. However, I am unable to install Python 3 packages via pip. Is there a way to do this? Asked By: David Y. Stephenson || Source Answers: If you have more than one python installation, then you need to install pip (and probably also …

Total answers: 6

Invoking python under CygWin on Windows hangs

Invoking python under CygWin on Windows hangs Question: Installing a new Windows system, I’ve installed CygWin and 64 bit Python (2.7.3) in their default locations (c:cygwin and c:Python27python), and added both the CygWin bin and the Python directory to my path (in the user variable PATH). From the normal command window, Python starts up perfectly, …

Total answers: 8

How to change version of Python picked up by Cygwin

How to change version of Python picked up by Cygwin Question: I have two versions of python installed on Win7. (Python 2.5 and Python 2.7). These are located in ‘C:/Python25’ and ‘C:/Python27’ respectively. I am trying to run a file using Python 2.5 but by default Cygwin picks up 2.7. How do I change which …

Total answers: 4

Using Windows Python from Cygwin

Using Windows Python from Cygwin Question: I’ve been using Cygwin on Windows recently. I want to use the Windows installation of Python, so during testing I’m using /cygdrive/c/Python26/python.exe myfile.py rather than python myfile.exe. This is working almost perfectly, except for printing. When I run the Windows Python from Cygwin the output doesn’t print until execution …

Total answers: 3