delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:message-id:date:from:mime-version:to:subject | |
:content-type:content-transfer-encoding; q=dns; s=default; b=uLy | |
BLptEwvHKdgWgqDJHDawcojmD1WJ/ZWP8cg4XCl9uG6GlzoD005PIDikWp26kg5f | |
CzEBbfRuvXbF+MNtyq9b0TCImLn19avFtthBw0+hwhPrVqsnstuyYVPjhaa/jKbY | |
iiS6MLSxlfsQpowgz8+AkxHc+yLzQ76SKivy1IHA= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:message-id:date:from:mime-version:to:subject | |
:content-type:content-transfer-encoding; s=default; bh=Ax1GHhDIm | |
bdyxBUSewKIMoFrg5w=; b=C4FIuDeAxRjGpb9Ld9IPebksKXwdKXWgoGK4ANgH3 | |
a5V5h4bVNq1fN38TsUnVTMdhWwApG9VwYFIu+ZNOTQA4bsYMrpDm7QiAireXNoM8 | |
tSzStrCF2bfiB+VU/+CI2tvE9Vt5o0FxfQfAKk088nbkk72ILbnK6rHQ7fmn8Zdf | |
AM= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=4.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,KAM_FROM_URIBL_PCCC,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 |
X-HELO: | mail-qc0-f177.google.com |
X-Received: | by 10.140.98.227 with SMTP id o90mr22851488qge.96.1425701159680; Fri, 06 Mar 2015 20:05:59 -0800 (PST) |
Message-ID: | <54FA7923.3080601@gmail.com> |
Date: | Fri, 06 Mar 2015 23:05:55 -0500 |
From: | Edgar Gaines <elg476 AT gmail DOT com> |
User-Agent: | Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | python3.2 can't find pyconfig.h file, dies |
X-TagToolbar-Keys: | D20150306230555656 |
I'm running Cygwin64 on a Windows 8.1 laptop. Whenever I attempt to run either the 'python3' or the 'python3.2' command in a cygwin terminal window, I get the error message you see at the end of this email. The important part is the last line, to wit: IOError: invalid Python installation: unable to open /cygdrive/c/cygwin64/include/python3.2m/pyconfig.h (No such file or directory) Note that there is no pyconfig.h in /cygdrive/c/cygwin64/include/, because there's no /cygdrive/c/cygwin64/include/ directory: $ ls /cygdrive/c/cygwin/include /cygdrive/c/cygwin64/bin/ls: cannot access /cygdrive/c/cygwin/include: No such file or directory But there IS* a /cygdrive/c/cygwin64/usr/include directory, and it contains the file pyconfig.h in its tree. $ ls /cygdrive/cygwin64/usr/include/python3.2m/pyconfig.h /cygdrive/c/cygwin64/usr/include/python3.2m/pyconfig.h So where is the default search path for the pyconfig.h file set? Are we talking about the ${prefix} and ${exec_prefix} variables the man page refers to? Just in case someone asks, here's my Cygwin path: echo $PATH /cygdrive/c/cygwin64/bin:/cygdrive/c/cygwin64/usr/local/bin:/cygdrive/c/usr/bin:/cygdrive/c/Cygwin64/home/Edgar/bin:/cygdrive/c/Program Files (x86)/ISC BIND 9/bin:/cygdrive/c/Windows:/cygdrive/c/Windows/system32 Thanks in advance for your help. ------------------------------------------------------------------------ _/*FULL ERROR MESSAGE:*/_ $ python3.2 Traceback (most recent call last): File "/cygdrive/c/cygwin64/lib/python3.2/sysconfig.py", line 343, in _init_posix with open(config_h) as f: IOError: [Errno 2] No such file or directory: '/cygdrive/c/cygwin64/include/python3.2m/pyconfig.h' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/cygdrive/c/cygwin64/lib/python3.2/site.py", line 529, in <module> main() File "/cygdrive/c/cygwin64/lib/python3.2/site.py", line 517, in main known_paths = addusersitepackages(known_paths) File "/cygdrive/c/cygwin64/lib/python3.2/site.py", line 263, in addusersitepackages user_site = getusersitepackages() File "/cygdrive/c/cygwin64/lib/python3.2/site.py", line 238, in getusersitepackages user_base = getuserbase() # this will also set USER_BASE File "/cygdrive/c/cygwin64/lib/python3.2/site.py", line 228, in getuserbase USER_BASE = get_config_var('userbase') File "/cygdrive/c/cygwin64/lib/python3.2/sysconfig.py", line 525, in get_config_var return get_config_vars().get(name) File "/cygdrive/c/cygwin64/lib/python3.2/sysconfig.py", line 475, in get_config_vars_init_posix(_CONFIG_VARS) File "/cygdrive/c/cygwin64/lib/python3.2/sysconfig.py", line 349, in _init_posix raise IOError(msg) IOError: invalid Python installation: unable to open /cygdrive/c/cygwin64/include/python3.2m/pyconfig.h (No such file or directory) -- Ed Gaines Raleigh, NC 919-341-9334 elg476 AT gmail DOT com <mailto:elg476 AT gmail DOT com> -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |