How do I fix this error while trying to install the copernicus package in python? -
traceback (most recent call last): file "<string>", line 1, in <module> file "/private/var/folders/dq/phbcmhfd1kb162pxmrygvdj40000gn/t/pip-build-4pssdj5m/pillow/setup.py", line 767, in <module> zip_safe=not debug_build(), file "/library/frameworks/python.framework/versions/3.6/lib/python3.6/distutils/core.py", line 148, in setup dist.run_commands() file "/library/frameworks/python.framework/versions/3.6/lib/python3.6/distutils/dist.py", line 955, in run_commands self.run_command(cmd) file "/library/frameworks/python.framework/versions/3.6/lib/python3.6/distutils/dist.py", line 974, in run_command cmd_obj.run() file "/library/frameworks/python.framework/versions/3.6/lib/python3.6/site-packages/setuptools/command/install.py", line 61, in run return orig.install.run(self) file "/library/frameworks/python.framework/versions/3.6/lib/python3.6/distutils/command/install.py", line 545, in run self.run_command('build') file "/library/frameworks/python.framework/versions/3.6/lib/python3.6/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) file "/library/frameworks/python.framework/versions/3.6/lib/python3.6/distutils/dist.py", line 974, in run_command cmd_obj.run() file "/library/frameworks/python.framework/versions/3.6/lib/python3.6/distutils/command/build.py", line 135, in run self.run_command(cmd_name) file "/library/frameworks/python.framework/versions/3.6/lib/python3.6/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) file "/library/frameworks/python.framework/versions/3.6/lib/python3.6/distutils/dist.py", line 974, in run_command cmd_obj.run() file "/library/frameworks/python.framework/versions/3.6/lib/python3.6/distutils/command/build_ext.py", line 339, in run self.build_extensions() file "/private/var/folders/dq/phbcmhfd1kb162pxmrygvdj40000gn/t/pip-build-4pssdj5m/pillow/setup.py", line 516, in build_extensions (f, f)) valueerror: jpeg required unless explicitly disabled using --disable-jpeg, aborting ----------------------------------------
command "/library/frameworks/python.framework/versions/3.6/bin/python3.6 -u -c "import setuptools, tokenize;file='/private/var/folders/dq/phbcmhfd1kb162pxmrygvdj40000gn/t/pip-build-4pssdj5m/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 /var/folders/dq/phbcmhfd1kb162pxmrygvdj40000gn/t/pip-rmw620ot-record/install-record.txt --single-version-externally-managed --compile" failed error code 1 in /private/var/folders/dq/phbcmhfd1kb162pxmrygvdj40000gn/t/pip-build-4pssdj5m/pillow/
Comments
Post a Comment