public inbox for email@example.com help / color / mirror / Atom feed
From: mjmv <MJ.Madison_Villar@colostate.edu> To: "firstname.lastname@example.org" <email@example.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 [thread overview] Message-ID: <B31BC7C7AF3D1048AE73421461519FF60DFAAAA0@ex23.colostate.edu> (raw) Hello, I am new to Cygwin, and am not sure what to make of my current issue regarding Python and, ultimately, Google Cloud's SDK and bdutl package, required for me to deploy a Hortonworks platform Hadoop/Apache toolkit NoSQL db et al. When I went to install Cygwin, I did not see an option for Python 2.7, which 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 this install as my Python of choice for Cygwin applications (I ended up actually having to delete from my environmental variables reference to the native 64-bit version I usually use, as modifications to the $PATH did not change anything), I am left with a half-functional version of Python, and non-functional GC SDK. Pasted below are snippets from my terminal sessions. If anyone can make sense of this, and point me in the direction of resolving the issue(s), I will be very greatful. Mersee --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 below prompt), or at any time in the future by running the following command: gcloud config set --scope=user 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/
next reply other threads:[~2015-02-03 3:43 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-02-03 3:43 mjmv [this message] 2015-02-03 23:13 ` David Stacey
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=B31BC7C7AF3D1048AE73421461519FF60DFAAAA0@ex23.colostate.edu \ --firstname.lastname@example.org \ --email@example.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).