From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12815 invoked by alias); 3 Feb 2015 03:43:31 -0000 Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Reply-To: cygwin-xfree@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com Received: (qmail 12004 invoked by uid 89); 3 Feb 2015 03:43:30 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: pace.ColoState.EDU Received: from pace.colostate.edu (HELO pace.ColoState.EDU) (129.82.103.168) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Tue, 03 Feb 2015 03:43:27 +0000 Received: from mail.colostate.edu (exch1.colostate.edu [129.82.103.186]) by pace.ColoState.EDU (8.13.8/8.12.11) with ESMTP id t133hOgn022257 for ; Mon, 2 Feb 2015 20:43:25 -0700 Received: from EX23.ColoState.EDU ([129.82.103.158]) by EXCH1.ColoState.EDU ([129.82.103.186]) with mapi id 14.03.0210.002; Mon, 2 Feb 2015 20:43:24 -0700 From: mjmv To: "cygwin-xfree@cygwin.com" Subject: Cygwin, Python Anaconda 32-bit, Google Cloud SDK: Issues with Python functionality inside of Cygwi Date: Tue, 03 Feb 2015 03:43:00 -0000 Message-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.13.68,1.0.33,0.0.0000 definitions=2015-02-03_01:2015-02-03,2015-02-03,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1402240000 definitions=main-1502030034 X-SW-Source: 2015-02/txt/msg00005.txt.bz2 Hello,=20 I am new to Cygwin, and am not sure what to make of my current issue regard= ing Python and, ultimately, Google Cloud's SDK and bdutl package, required = for me to deploy a Hortonworks platform Hadoop/Apache toolkit NoSQL db et a= l. When I went to install Cygwin, I did not see an option for Python 2.7, whic= h is what the GC SDK requires (more specifically, 2.7 32-bit). As such, I = installed an Anaconda distro version. After fighting with Cygwin to use th= is install as my Python of choice for Cygwin applications (I ended up actua= lly having to delete from my environmental variables reference to the nativ= e 64-bit version I usually use, as modifications to the $PATH did not chang= e anything), I am left with a half-functional version of Python, and non-fu= nctional GC SDK. Pasted below are snippets from my terminal sessions. If anyone can make se= nse of this, and point me in the direction of resolving the issue(s), I wil= l be very greatful. Mersee=20 --FIRST, MAKE SURE PYTHONPATH IS CORRECT MJ@Speed_rAcer ~ $ which python /cygdrive/c/Users/MJ/Anaconda/python --NEXT SHOW THAT I AM IN THE CYGWIN HOME DIR MJ@Speed_rAcer ~ $ pwd /cygdrive/c/Users/MJ/home --NEXT TEST A PYTHON SCRIPT MJ@Speed_rAcer ~ $ python test.py this is a test i am inside the home directory for cygwin --NEXT, UPDATE CONDA (should work since Cygwin is using the conda Python...= but doesn't) MJ@Speed_rAcer ~ $ conda update conda -bash: conda: command not found ***---NEXT, SEE IF GOOGLE CLOUD SDK WORKING---*** --INSIDE FOLDER WITH PYTHON SCRIPTS MJ@Speed_rAcer ~/google-cloud-sdk/bin/bootstrapping $ ls __init__.py bq.py install.py setup.py bootstrapping.py gcutil.py prerun.py setup.pyc bootstrapping.pyc gsutil.py print_env_info.py --RUNS PYTHON SCRIPT (install.py). HOWEVER, DIDN'T LET ME PICK Y OR N BUT = SAYS IT'S CONFIGURED MJ@Speed_rAcer ~/google-cloud-sdk/bin/bootstrapping $ python install.py Do you want to help improve the Google Cloud SDK (Y/n)? All components are up to date. Update %PATH% to include Cloud SDK binaries? (Y/n)? The Google Cloud SDK is currently in developer preview. To help improve the quality of this product, we collect anonymized data on how the SDK is used. You may choose to opt out of this collection now (by choosing 'N' at the be= low prompt), or at any time in the future by running the following command: gcloud config set --scope=3Duser disable_usage_reporting true This will install all the core command line tools necessary for working with the Google Cloud Platform. The following directory has been added to your PATH. C:\Users\MJ\home\google-cloud-sdk\bin Create a new command shell for the changes to take effect. For more information on how to get started, please visit: insert URL that keeps my messages from being posted ***---NEW SHELL---*** --SHOWING COMMANDS I SHOULD BE ABLE TO RUN (first is gcloud. cmd) MJ@Speed_rAcer ~/google-cloud-sdk/bin $ ls bootstrapping gcloud - Copy.cmd gcutil.cmd gsutil.cmd bq.cmd gcloud.cmd git-credential-gcloud.cmd sdk --TRY ONE TO EXECUTE COMMAND $ ./gcloud auth login -bash: ./gcloud: No such file or directory --TRY TWO TO EXECUTE COMMAND MJ@Speed_rAcer ~/google-cloud-sdk/bin $ gcloud auth login -bash: gcloud: command not found -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/