delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/08/15/21:34:06

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:date:from:to:subject:message-id:mime-version
:content-type:content-transfer-encoding; q=dns; s=default; b=bYc
m7gFz7tUpIeoyVXiGiO0pZoxOCFJOq4gstmr36jsV/kcT0yToEwaWtkKc1Metn7f
HWkMSq1g1OopLLwWCMiubF6T7b/qQvusMuOqmPzgxWPIVnPmNfuPuE39smNGHyR4
FHUmyUbBtfJET5x8I8qNXBWK9r9oSE8a/fs6oYgw=
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:date:from:to:subject:message-id:mime-version
:content-type:content-transfer-encoding; s=default; bh=OCT/d/09K
5eHIzNVb/jK6W4up2E=; b=iP3Ykw8OYmUkgdPMm4FULQa+Ygpe1Y+Kp3S600MKw
Mc1IVEJTF2WylI4VqmK8etSDaeZ83vlcaGcRt960FcWjEc0MODtnYkt0Q33vUAfI
jmZK6jvwpUcTTaGY/MsKbso2XIuhP95A9g8cnZlMiOrFaDBnhD0/uUeVger2RlvH
eE=
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=3.5 required=5.0 tests=BAYES_20,BODY_8BITS,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,FSL_HELO_FAKE,GARBLED_BODY,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy=H*RU:gmail.com, Hx-spam-relays-external:gmail.com, H*r:gmail.com, mock
X-HELO: mail-qk0-f175.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-transfer-encoding:user-agent; bh=KL7sWVFpnKqJfrKuhxQgALphq16b5UQpMTx9R00QSx0=; b=bhDVmxp0hLo40JJ3da/WNJaJKKznJ3fKUxPpDw+uCb3kVEjkchZ4Oz5ZOMRm4p4ztM MW4PttKDZMITHASmCI6p1/5kKe9zXAYs3mCHrKCHFkMFvkIz0nuUnkRQaungVjuBVcY7 vgN2UUDkCJgFGjmNUbJRVi5hM5L3G2uGU6P33mDDWlZNq4QlFoZFdFOh2wWNmeDl39Jj eXmHUwtI8UBsdE4cNpyngirfYm6huj6QLsBUtqNfk/UoaPzXrCmmAcqVAsO8LjMOYXx9 27bXSGv4WLaHuGt5fr2yZC4SMzXGPSHE2n80VQuPC5oEkxpz8Btf4ngbIYX5ozRLgMfc zGmA==
X-Gm-Message-State: AEkooutidy4zEChIjy40dHZEJQMA0khOtH4GpLGc6nY1qhvptcc+5mHb0xdCJEwNxoaCaw==
X-Received: by 10.55.100.21 with SMTP id y21mr34346964qkb.23.1471311195975; Mon, 15 Aug 2016 18:33:15 -0700 (PDT)
Date: Mon, 15 Aug 2016 22:33:11 -0300
From: "Felipe M. Vieira" <fmv1992 AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: installing dask python (psutils problem)
Message-ID: <20160816013311.GA2480@gmail.com>
MIME-Version: 1.0
User-Agent: Mutt/1.5.21 (2010-09-15)
Note-from-DJ: This may be spam

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Dear mailing list,

my primary goal is to install dask (python program).

Upon issuing (after git clone and cd):

/tmp/dask [master] » pip3 install -e '.[complete]'
Obtaining file:///tmp/dask
  Running setup.py (path:/tmp/dask/setup.py) egg_info for package from file:///tmp/dask
    Running command python setup.py egg_info
    running egg_info
    writing dependency_links to dask.egg-info/dependency_links.txt
    writing requirements to dask.egg-info/requires.txt
    writing top-level names to dask.egg-info/top_level.txt

    [endless lines]

    [relevant part]
Downloading from URL https://pypi.python.org/packages/22/a8/6ab3f0b3b74a36104785808ec874d24203c6a511ffd2732dd215cf32d689/psutil-4.3.0.tar.gz#md5=ca97cf5f09c07b075a12a68b9d44a67d (from https://pypi.python.org/simple/psutil/)
    100% |████████████████████████████████| 317kB 10.2MB/s
  Running setup.py (path:/cygdrive/c/Users/e061568/AppData/Local/Temp/pip-build-fm16doav/psutil/setup.py) egg_info for package psutil
    Running command python setup.py egg_info
    platform cygwin is not supported
Cleaning up...
Command "python setup.py egg_info" failed with error code 1 in /cygdrive/c/Users/e061568/AppData/Local/Temp/pip-build-fm16doav/psutil/
Exception information:
Traceback (most recent call last):
  File "/usr/lib/python3.4/site-packages/pip/basecommand.py", line 215, in main
    status = self.run(options, args)
  File "/usr/lib/python3.4/site-packages/pip/commands/install.py", line 310, in run
    wb.build(autobuilding=True)
  File "/usr/lib/python3.4/site-packages/pip/wheel.py", line 750, in build
    self.requirement_set.prepare_files(self.finder)
  File "/usr/lib/python3.4/site-packages/pip/req/req_set.py", line 370, in prepare_files
    ignore_dependencies=self.ignore_dependencies))
  File "/usr/lib/python3.4/site-packages/pip/req/req_set.py", line 601, in _prepare_file
    abstract_dist.prep_for_dist()
  File "/usr/lib/python3.4/site-packages/pip/req/req_set.py", line 127, in prep_for_dist
    self.req_to_install.run_egg_info()
  File "/usr/lib/python3.4/site-packages/pip/req/req_install.py", line 425, in run_egg_info
    command_desc='python setup.py egg_info')
  File "/usr/lib/python3.4/site-packages/pip/utils/__init__.py", line 718, in call_subprocess
    % (command_desc, proc.returncode, cwd))
pip.exceptions.InstallationError: Command "python setup.py egg_info" failed with error code 1 in /cygdrive/c/Users/e061568/AppData/Local/Temp/pip-build-fm16doav/psutil/

which of course says:
platform cygwin is not supported

Analyzing the source code of dask I can say that it looks to be optional and not required to use the code itself in (./dask/dataframe/csv.py):
try:
    import psutil
except ImportError:
    psutil = None

(and other examples)

It looks like a tool to benchmark the system and just that.

There is the possibility that is indeed useful/required for the other dependencies of dask. But I am supposing it is not.
 
1) Is there a way to install all other dependencies except for psutil? I went manually with pip --no-deps but then it was taking to long.
2) Is there a way to 'mock' the install of a package just so the installation process does not halt on error?
3) Is there any other way?

Thanks for all the mails I've read so far. This 'community thing' is awesome.

Best regards,
- -- 
Felipe Martins Vieira
Public PGP key: http://pgp.surfnet.nl
Key Fingerprint: 9640 F192 63DA D637 6750 AC08 7BCA 19BB 0E69 E45D
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBCAAGBQJXsm1XAAoJED+RfayjyZfdR6gIAJbuIh2DNKU80fumyKdP8LPZ
Pgf3OXVyttCwiDzLklmaUDf7YXzE/nUL78yAgYbrjT+GSrMiYWCtp3DWc3aAnGh5
HDeO+fajXQuKKiz9J7ZG3kXdctXG+BE94Tc6ADvl+TFP1limmVqFxkFJzKakzAuO
OofFv9Cetx7Lr3XOWv9PXsI7u57m224OhfGI0Q2GfsPn/tAw/tc7Q+NYsOCnIfm0
syqBPwKTYIFPry2dVgLaNhabycaersAnZ0uRQkG2XHKhb+ie+I8UeTY/7BY9U/iR
RzeoDlDuKE/SfREx4tErS4nfI4S3aa1TQD1t/ryCnMHd75PlJJZzXtOyVlHtd2o=
=mdrd
-----END PGP SIGNATURE-----

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019