[ 
https://issues.apache.org/jira/browse/AIRAVATA-3305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dinuka De Silva updated AIRAVATA-3305:
--------------------------------------
    Summary: pip install failed in python 3.7  (was: pip install failed)

> pip install failed in python 3.7
> --------------------------------
>
>                 Key: AIRAVATA-3305
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-3305
>             Project: Airavata
>          Issue Type: Bug
>         Environment: macOS: 10.14.6
> Python: 3.7
> Branch: master
>            Reporter: Dinuka De Silva
>            Priority: Major
>
> {color:#de350b}The headers or library files could not be found for 
> zlib,{color}
> {color:#de350b} a required dependency when compiling Pillow from 
> source.{color}
> {color:#de350b}Please see the install instructions at:{color}
> {color:#de350b} 
> [https://pillow.readthedocs.io/en/latest/installation.html]{color}
> {color:#de350b}Traceback (most recent call last):{color}
> {color:#de350b} File 
> "/private/var/folders/vy/7dsn2kqd4p170xydp_qb_4xr0000gn/T/pip-install-nihgynjw/Pillow/setup.py",
>  line 787, in <module>{color}
> {color:#de350b} zip_safe=not (debug_build() or PLATFORM_MINGW), ){color}
> {color:#de350b} File 
> "/Users/lsf/Documents/dinuka/repo/airavata-django-portal/venv/lib/python3.7/site-packages/setuptools/__init__.py",
>  line 144, in setup{color}
> {color:#de350b} return distutils.core.setup(**attrs){color}
> {color:#de350b} File 
> "/usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/lib/python3.7/distutils/core.py",
>  line 148, in setup{color}
> {color:#de350b} dist.run_commands(){color}
> {color:#de350b} File 
> "/usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/lib/python3.7/distutils/dist.py",
>  line 966, in run_commands{color}
> {color:#de350b} self.run_command(cmd){color}
> {color:#de350b} File 
> "/usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/lib/python3.7/distutils/dist.py",
>  line 985, in run_command{color}
> {color:#de350b} cmd_obj.run(){color}
> {color:#de350b} File 
> "/Users/lsf/Documents/dinuka/repo/airavata-django-portal/venv/lib/python3.7/site-packages/setuptools/command/install.py",
>  line 61, in run{color}
> {color:#de350b} return orig.install.run(self){color}
> {color:#de350b} File 
> "/usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/lib/python3.7/distutils/command/install.py",
>  line 545, in run{color}
> {color:#de350b} self.run_command('build'){color}
> {color:#de350b} File 
> "/usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/lib/python3.7/distutils/cmd.py",
>  line 313, in run_command{color}
> {color:#de350b} self.distribution.run_command(command){color}
> {color:#de350b} File 
> "/usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/lib/python3.7/distutils/dist.py",
>  line 985, in run_command{color}
> {color:#de350b} cmd_obj.run(){color}
> {color:#de350b} File 
> "/usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/lib/python3.7/distutils/command/build.py",
>  line 135, in run{color}
> {color:#de350b} self.run_command(cmd_name){color}
> {color:#de350b} File 
> "/usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/lib/python3.7/distutils/cmd.py",
>  line 313, in run_command{color}
> {color:#de350b} self.distribution.run_command(command){color}
> {color:#de350b} File 
> "/usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/lib/python3.7/distutils/dist.py",
>  line 985, in run_command{color}
> {color:#de350b} cmd_obj.run(){color}
> {color:#de350b} File 
> "/usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/lib/python3.7/distutils/command/build_ext.py",
>  line 340, in run{color}
> {color:#de350b} self.build_extensions(){color}
> {color:#de350b} File 
> "/private/var/folders/vy/7dsn2kqd4p170xydp_qb_4xr0000gn/T/pip-install-nihgynjw/Pillow/setup.py",
>  line 577, in build_extensions{color}
> {color:#de350b} raise RequiredDependencyException(f){color}
> {color:#de350b} __main__.RequiredDependencyException: zlib{color}
> {color:#de350b}During handling of the above exception, another exception 
> occurred:{color}
> {color:#de350b}Traceback (most recent call last):{color}
> {color:#de350b} File "<string>", line 1, in <module>{color}
> {color:#de350b} File 
> "/private/var/folders/vy/7dsn2kqd4p170xydp_qb_4xr0000gn/T/pip-install-nihgynjw/Pillow/setup.py",
>  line 799, in <module>{color}
> {color:#de350b} raise RequiredDependencyException(msg){color}
> {color:#de350b} __main__.RequiredDependencyException:{color}
> {color:#de350b}The headers or library files could not be found for 
> zlib,{color}
> {color:#de350b} a required dependency when compiling Pillow from 
> source.{color}
> {color:#de350b}Please see the install instructions at:{color}
> {color:#de350b} 
> [https://pillow.readthedocs.io/en/latest/installation.html]{color}
> {color:#de350b}----------------------------------------{color}
> {color:#de350b} Rolling back uninstall of Pillow{color}
> {color:#de350b} Moving to 
> /Users/lsf/Documents/dinuka/repo/airavata-django-portal/venv/lib/python3.7/site-packages/PIL/{color}
> {color:#de350b} from 
> /Users/lsf/Documents/dinuka/repo/airavata-django-portal/venv/lib/python3.7/site-packages/~IL{color}
> {color:#de350b} Moving to 
> /Users/lsf/Documents/dinuka/repo/airavata-django-portal/venv/lib/python3.7/site-packages/Pillow-6.2.2.dist-info/{color}
> {color:#de350b} from 
> /Users/lsf/Documents/dinuka/repo/airavata-django-portal/venv/lib/python3.7/site-packages/~illow-6.2.2.dist-info{color}
> {color:#de350b} ERROR: Command errored out with exit status 1: 
> /Users/lsf/Documents/dinuka/repo/airavata-django-portal/venv/bin/python -u -c 
> 'import sys, setuptools, tokenize; sys.argv[0] = 
> '"'"'/private/var/folders/vy/7dsn2kqd4p170xydp_qb_4xr0000gn/T/pip-install-nihgynjw/Pillow/setup.py'"'"';
>  
> __file__='"'"'/private/var/folders/vy/7dsn2kqd4p170xydp_qb_4xr0000gn/T/pip-install-nihgynjw/Pillow/setup.py'"'"';f=getattr(tokenize,
>  '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', 
> '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' 
> install --record 
> /private/var/folders/vy/7dsn2kqd4p170xydp_qb_4xr0000gn/T/pip-record-briwpxkm/install-record.txt
>  --single-version-externally-managed --compile --install-headers 
> /Users/lsf/Documents/dinuka/repo/airavata-django-portal/venv/include/site/python3.7/Pillow
>  Check the logs for full command output.{color}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to