This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

installing dask python (psutils problem)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]