I've tried installing Python packages using pip on my Azure Lamp SSH server, but am unable to do so from the shell. I'm running Python 2.7
For pendulum, the error message says:
Collecting Pendulum
Using cached pendulum-1.4.4.tar.gz
Requirement already satisfied: python-dateutil<3.0.0.0,>=2.6.0.0 in /usr/local/l ib/python2.7/dist-packages (from Pendulum)
Requirement already satisfied: tzlocal<2.0.0.0,>=1.5.0.0 in /usr/local/lib/pytho n2.7/dist-packages (from Pendulum)
Requirement already satisfied: pytzdata>=2018.3.0.0 in /usr/local/lib/python2.7/ dist-packages (from Pendulum)
Requirement already satisfied: six>=1.5 in /usr/local/lib/python2.7/dist-package s (from python-dateutil<3.0.0.0,>=2.6.0.0->Pendulum)
Requirement already satisfied: pytz in /usr/local/lib/python2.7/dist-packages (f rom tzlocal<2.0.0.0,>=1.5.0.0->Pendulum)
Building wheels for collected packages: Pendulum
Running setup.py bdist_wheel for Pendulum ... error
Complete output from command /usr/bin/python -u -c "import setuptools, tokeniz e;__file__='/tmp/pip-build-7TNfPO/Pendulum/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code , __file__, 'exec'))" bdist_wheel -d /tmp/tmprJOXPqpip-wheel- --python-tag cp27:
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution op tion: 'python_requires'
warnings.warn(msg)
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/pendulum
copying pendulum/time.py -> build/lib.linux-x86_64-2.7/pendulum
copying pendulum/interval.py -> build/lib.linux-x86_64-2.7/pendulum
copying pendulum/_global.py -> build/lib.linux-x86_64-2.7/pendulum
copying pendulum/version.py -> build/lib.linux-x86_64-2.7/pendulum
copying pendulum/translator.py -> build/lib.linux-x86_64-2.7/pendulum
copying pendulum/pendulum.py -> build/lib.linux-x86_64-2.7/pendulum
copying pendulum/helpers.py -> build/lib.linux-x86_64-2.7/pendulum
copying pendulum/_compat.py -> build/lib.linux-x86_64-2.7/pendulum
copying pendulum/exceptions.py -> build/lib.linux-x86_64-2.7/pendulum
copying pendulum/constants.py -> build/lib.linux-x86_64-2.7/pendulum
copying pendulum/date.py -> build/lib.linux-x86_64-2.7/pendulum
copying pendulum/__init__.py -> build/lib.linux-x86_64-2.7/pendulum
copying pendulum/period.py -> build/lib.linux-x86_64-2.7/pendulum
copying pendulum/parser.py -> build/lib.linux-x86_64-2.7/pendulum
creating build/lib.linux-x86_64-2.7/pendulum/_extensions
copying pendulum/_extensions/helpers.py -> build/lib.linux-x86_64-2.7/pendulum /_extensions
copying pendulum/_extensions/__init__.py -> build/lib.linux-x86_64-2.7/pendulu m/_extensions
creating build/lib.linux-x86_64-2.7/pendulum/formatting
copying pendulum/formatting/formatter.py -> build/lib.linux-x86_64-2.7/pendulu m/formatting
copying pendulum/formatting/classic_formatter.py -> build/lib.linux-x86_64-2.7 /pendulum/formatting
copying pendulum/formatting/alternative_formatter.py -> build/lib.linux-x86_64 -2.7/pendulum/formatting
copying pendulum/formatting/difference_formatter.py -> build/lib.linux-x86_64- 2.7/pendulum/formatting
copying pendulum/formatting/__init__.py -> build/lib.linux-x86_64-2.7/pendulum /formatting
creating build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/ro.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/ko.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/lv.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/ja.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/lt.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/th.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/et.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/hy.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/fr.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/fa.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/da.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/fo.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/sv.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/bg.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/uz.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/sr.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/fi.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/tr.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/zh.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/id.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/ru.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/ca.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/sl.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/pl.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/az.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/bn.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/sk.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/nl.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/ar.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/he.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/es.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/mk.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/en.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/de.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/ms.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/vi.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/el.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/uk.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/hu.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/__init__.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/hr.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/sq.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/cs.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/zh_tw.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/ka.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/it.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/nn.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/pt_br.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/eu.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/af.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/eo.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/gl.py -> build/lib.linux-x86_64-2.7/pendulum/lang
creating build/lib.linux-x86_64-2.7/pendulum/mixins
copying pendulum/mixins/default.py -> build/lib.linux-x86_64-2.7/pendulum/mixi ns
copying pendulum/mixins/interval.py -> build/lib.linux-x86_64-2.7/pendulum/mix ins
copying pendulum/mixins/__init__.py -> build/lib.linux-x86_64-2.7/pendulum/mix ins
creating build/lib.linux-x86_64-2.7/pendulum/parsing
copying pendulum/parsing/__init__.py -> build/lib.linux-x86_64-2.7/pendulum/pa rsing
copying pendulum/parsing/parser.py -> build/lib.linux-x86_64-2.7/pendulum/pars ing
creating build/lib.linux-x86_64-2.7/pendulum/parsing/exceptions
copying pendulum/parsing/exceptions/__init__.py -> build/lib.linux-x86_64-2.7/ pendulum/parsing/exceptions
creating build/lib.linux-x86_64-2.7/pendulum/tz
copying pendulum/tz/loader.py -> build/lib.linux-x86_64-2.7/pendulum/tz
copying pendulum/tz/transition.py -> build/lib.linux-x86_64-2.7/pendulum/tz
copying pendulum/tz/local_timezone.py -> build/lib.linux-x86_64-2.7/pendulum/t z
copying pendulum/tz/exceptions.py -> build/lib.linux-x86_64-2.7/pendulum/tz
copying pendulum/tz/__init__.py -> build/lib.linux-x86_64-2.7/pendulum/tz
copying pendulum/tz/transition_type.py -> build/lib.linux-x86_64-2.7/pendulum/ tz
copying pendulum/tz/timezone.py -> build/lib.linux-x86_64-2.7/pendulum/tz
copying pendulum/tz/timezone_info.py -> build/lib.linux-x86_64-2.7/pendulum/tz
error: can't copy 'pendulum/mixins': doesn't exist or not a regular file
----------------------------------------
Failed building wheel for Pendulum
Running setup.py clean for Pendulum
Failed to build Pendulum
Installing collected packages: Pendulum
Running setup.py install for Pendulum ... error
Complete output from command /usr/bin/python -u -c "import setuptools, token ize;__file__='/tmp/pip-build-7TNfPO/Pendulum/setup.py';f=getattr(tokenize, 'open ', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(co de, __file__, 'exec'))" install --record /tmp/pip-Mc4aH7-record/install-record.t xt --single-version-externally-managed --compile:
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'python_requires'
warnings.warn(msg)
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/pendulum
copying pendulum/time.py -> build/lib.linux-x86_64-2.7/pendulum
copying pendulum/interval.py -> build/lib.linux-x86_64-2.7/pendulum
copying pendulum/_global.py -> build/lib.linux-x86_64-2.7/pendulum
copying pendulum/version.py -> build/lib.linux-x86_64-2.7/pendulum
copying pendulum/translator.py -> build/lib.linux-x86_64-2.7/pendulum
copying pendulum/pendulum.py -> build/lib.linux-x86_64-2.7/pendulum
copying pendulum/helpers.py -> build/lib.linux-x86_64-2.7/pendulum
copying pendulum/_compat.py -> build/lib.linux-x86_64-2.7/pendulum
copying pendulum/exceptions.py -> build/lib.linux-x86_64-2.7/pendulum
copying pendulum/constants.py -> build/lib.linux-x86_64-2.7/pendulum
copying pendulum/date.py -> build/lib.linux-x86_64-2.7/pendulum
copying pendulum/__init__.py -> build/lib.linux-x86_64-2.7/pendulum
copying pendulum/period.py -> build/lib.linux-x86_64-2.7/pendulum
copying pendulum/parser.py -> build/lib.linux-x86_64-2.7/pendulum
creating build/lib.linux-x86_64-2.7/pendulum/_extensions
copying pendulum/_extensions/helpers.py -> build/lib.linux-x86_64-2.7/pendul um/_extensions
copying pendulum/_extensions/__init__.py -> build/lib.linux-x86_64-2.7/pendu lum/_extensions
creating build/lib.linux-x86_64-2.7/pendulum/formatting
copying pendulum/formatting/formatter.py -> build/lib.linux-x86_64-2.7/pendu lum/formatting
copying pendulum/formatting/classic_formatter.py -> build/lib.linux-x86_64-2 .7/pendulum/formatting
copying pendulum/formatting/alternative_formatter.py -> build/lib.linux-x86_ 64-2.7/pendulum/formatting
copying pendulum/formatting/difference_formatter.py -> build/lib.linux-x86_6 4-2.7/pendulum/formatting
copying pendulum/formatting/__init__.py -> build/lib.linux-x86_64-2.7/pendul um/formatting
creating build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/ro.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/ko.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/lv.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/ja.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/lt.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/th.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/et.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/hy.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/fr.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/fa.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/da.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/fo.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/sv.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/bg.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/uz.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/sr.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/fi.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/tr.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/zh.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/id.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/ru.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/ca.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/sl.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/pl.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/az.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/bn.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/sk.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/nl.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/ar.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/he.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/es.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/mk.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/en.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/de.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/ms.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/vi.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/el.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/uk.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/hu.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/__init__.py -> build/lib.linux-x86_64-2.7/pendulum/lan g
copying pendulum/lang/hr.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/sq.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/cs.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/zh_tw.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/ka.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/it.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/nn.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/pt_br.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/eu.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/af.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/eo.py -> build/lib.linux-x86_64-2.7/pendulum/lang
copying pendulum/lang/gl.py -> build/lib.linux-x86_64-2.7/pendulum/lang
creating build/lib.linux-x86_64-2.7/pendulum/mixins
copying pendulum/mixins/default.py -> build/lib.linux-x86_64-2.7/pendulum/mi xins
copying pendulum/mixins/interval.py -> build/lib.linux-x86_64-2.7/pendulum/m ixins
copying pendulum/mixins/__init__.py -> build/lib.linux-x86_64-2.7/pendulum/m ixins
creating build/lib.linux-x86_64-2.7/pendulum/parsing
copying pendulum/parsing/__init__.py -> build/lib.linux-x86_64-2.7/pendulum/ parsing
copying pendulum/parsing/parser.py -> build/lib.linux-x86_64-2.7/pendulum/pa rsing
creating build/lib.linux-x86_64-2.7/pendulum/parsing/exceptions
copying pendulum/parsing/exceptions/__init__.py -> build/lib.linux-x86_64-2. 7/pendulum/parsing/exceptions
creating build/lib.linux-x86_64-2.7/pendulum/tz
copying pendulum/tz/loader.py -> build/lib.linux-x86_64-2.7/pendulum/tz
copying pendulum/tz/transition.py -> build/lib.linux-x86_64-2.7/pendulum/tz
copying pendulum/tz/local_timezone.py -> build/lib.linux-x86_64-2.7/pendulum /tz
copying pendulum/tz/exceptions.py -> build/lib.linux-x86_64-2.7/pendulum/tz
copying pendulum/tz/__init__.py -> build/lib.linux-x86_64-2.7/pendulum/tz
copying pendulum/tz/transition_type.py -> build/lib.linux-x86_64-2.7/pendulu m/tz
copying pendulum/tz/timezone.py -> build/lib.linux-x86_64-2.7/pendulum/tz
copying pendulum/tz/timezone_info.py -> build/lib.linux-x86_64-2.7/pendulum/ tz
error: can't copy 'pendulum/mixins': doesn't exist or not a regular file
----------------------------------------
Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-b uild-7TNfPO/Pendulum/setup.py';f=getattr(tokenize, 'open', open)(__file__);code= f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-Mc4aH7-record/install-record.txt --single-version-exte rnally-managed --compile" failed with error code 1 in /tmp/pip-build-7TNfPO/Pend ulum/
It looks like it goes halfway through the process but then breaks down somewhere in the middle. Where have I gone wrong?
Try updating setuptools, it's probably an old issue causing this :
pip install -U setuptools
Related
folder structure:
SDK-NODE
-> config
-> libs
-> sample-sdk
-> project1
-> src
-> lib
-> testcase.spec.ts
Solutions Tried:
nx run project1:test --testFile= testcase.spec.ts
ng test project1 --test-name-pattern=testcase.spec.ts
ERROR
NX Cannot find project 'project1'
I'm trying to install Geos for my Python2 (already works for Python3). I'm used to using Python3 but my situation now is that I have to use Python2 as there is a code I'm trying to replicate that uses Python2, and it's a rather large repository of code that I'm gonna waste a lot of time translating Python2 to Python3 if I decide to run it using Python3. So I thought of running it on Python2 instead. I need this Geos package installed on my Python2 and I'm struggling as it gives me a massive error when attempting to do so. Any insight on what this error could be and what I could do to resolve? Thanks in advance!
ERROR: Command errored out with exit status 1:
command: /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/3g/6bwtmr4x4m3dvzm2dwby16q40000gn/T/pip-install-CpO_tI/pillow/setup.py'"'"'; __file__='"'"'/private/var/folders/3g/6bwtmr4x4m3dvzm2dwby16q40000gn/T/pip-install-CpO_tI/pillow/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/3g/6bwtmr4x4m3dvzm2dwby16q40000gn/T/pip-wheel-86sk_C --python-tag cp27
cwd: /private/var/folders/3g/6bwtmr4x4m3dvzm2dwby16q40000gn/T/pip-install-CpO_tI/pillow/
Complete output (141 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-12.2-arm64-2.7
creating build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/MpoImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/ImageMode.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/PngImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/XbmImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/PcxImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/SunImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/ImageFile.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/SpiderImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/TarIO.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/FitsStubImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/MpegImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/BdfFontFile.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/GribStubImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/ImageStat.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/PixarImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/GimpPaletteFile.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/ImageColor.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/ContainerIO.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/MspImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/MicImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/_version.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/ImtImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/GifImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/PalmImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/ImageQt.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/ImageMath.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/PaletteFile.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/FontFile.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/PdfParser.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/ExifTags.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/ImageCms.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/FpxImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/ImageChops.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/BufrStubImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/PSDraw.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/PcdImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/ImageFilter.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/ImageDraw2.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/ImagePath.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/DcxImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/__init__.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/JpegPresets.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/Hdf5StubImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/features.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/ImageDraw.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/GimpGradientFile.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/ImageWin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/IcoImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/_tkinter_finder.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/EpsImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/TgaImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/ImageMorph.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/Jpeg2KImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/WalImageFile.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/PcfFontFile.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/BlpImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/ImageTk.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/GbrImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/ImageOps.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/PdfImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/ImageShow.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/ImageEnhance.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/WmfImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/ImageGrab.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/WebPImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/FliImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/TiffTags.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/CurImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/_util.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/GdImageFile.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/TiffImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/IptcImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/ImagePalette.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/BmpImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/ImageTransform.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/IcnsImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/McIdasImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/XpmImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/DdsImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/ImageSequence.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/PyAccess.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/_binary.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/Image.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/__main__.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/XVThumbImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/SgiImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/ImImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/PsdImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/JpegImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/ImageFont.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/PpmImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/FtexImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
running egg_info
writing src/Pillow.egg-info/PKG-INFO
writing top-level names to src/Pillow.egg-info/top_level.txt
writing dependency_links to src/Pillow.egg-info/dependency_links.txt
reading manifest file 'src/Pillow.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.c'
warning: no files found matching '*.h'
warning: no files found matching '*.sh'
warning: no previously-included files found matching '.appveyor.yml'
warning: no previously-included files found matching '.coveragerc'
warning: no previously-included files found matching '.codecov.yml'
warning: no previously-included files found matching '.editorconfig'
warning: no previously-included files found matching '.readthedocs.yml'
warning: no previously-included files found matching 'azure-pipelines.yml'
warning: no previously-included files matching '.git*' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.so' found anywhere in distribution
no previously-included directories found matching '.azure-pipelines'
no previously-included directories found matching '.travis'
writing manifest file 'src/Pillow.egg-info/SOURCES.txt'
running build_ext
The headers or library files could not be found for zlib,
a required dependency when compiling Pillow from source.
Please see the install instructions at:
https://pillow.readthedocs.io/en/latest/installation.html
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/3g/6bwtmr4x4m3dvzm2dwby16q40000gn/T/pip-install-CpO_tI/pillow/setup.py", line 903, in <module>
raise RequiredDependencyException(msg)
__main__.RequiredDependencyException:
The headers or library files could not be found for zlib,
a required dependency when compiling Pillow from source.
Please see the install instructions at:
https://pillow.readthedocs.io/en/latest/installation.html
----------------------------------------
ERROR: Failed building wheel for pillow
Running setup.py clean for pillow
Failed to build pillow
Installing collected packages: pillow, geos
Running setup.py install for pillow ... error
ERROR: Command errored out with exit status 1:
command: /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/3g/6bwtmr4x4m3dvzm2dwby16q40000gn/T/pip-install-CpO_tI/pillow/setup.py'"'"'; __file__='"'"'/private/var/folders/3g/6bwtmr4x4m3dvzm2dwby16q40000gn/T/pip-install-CpO_tI/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/3g/6bwtmr4x4m3dvzm2dwby16q40000gn/T/pip-record-baSRJk/install-record.txt --single-version-externally-managed --compile --user --prefix=
cwd: /private/var/folders/3g/6bwtmr4x4m3dvzm2dwby16q40000gn/T/pip-install-CpO_tI/pillow/
Complete output (141 lines):
running install
running build
running build_py
creating build
creating build/lib.macosx-12.2-arm64-2.7
creating build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/MpoImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/ImageMode.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/PngImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/XbmImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/PcxImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/SunImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/ImageFile.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/SpiderImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/TarIO.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/FitsStubImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/MpegImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/BdfFontFile.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/GribStubImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/ImageStat.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/PixarImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/GimpPaletteFile.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/ImageColor.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/ContainerIO.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/MspImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/MicImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/_version.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/ImtImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/GifImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/PalmImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/ImageQt.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/ImageMath.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/PaletteFile.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/FontFile.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/PdfParser.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/ExifTags.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/ImageCms.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/FpxImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/ImageChops.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/BufrStubImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/PSDraw.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/PcdImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/ImageFilter.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/ImageDraw2.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/ImagePath.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/DcxImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/__init__.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/JpegPresets.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/Hdf5StubImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/features.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/ImageDraw.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/GimpGradientFile.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/ImageWin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/IcoImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/_tkinter_finder.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/EpsImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/TgaImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/ImageMorph.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/Jpeg2KImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/WalImageFile.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/PcfFontFile.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/BlpImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/ImageTk.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/GbrImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/ImageOps.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/PdfImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/ImageShow.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/ImageEnhance.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/WmfImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/ImageGrab.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/WebPImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/FliImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/TiffTags.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/CurImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/_util.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/GdImageFile.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/TiffImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/IptcImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/ImagePalette.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/BmpImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/ImageTransform.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/IcnsImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/McIdasImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/XpmImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/DdsImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/ImageSequence.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/PyAccess.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/_binary.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/Image.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/__main__.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/XVThumbImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/SgiImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/ImImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/PsdImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/JpegImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/ImageFont.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/PpmImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
copying src/PIL/FtexImagePlugin.py -> build/lib.macosx-12.2-arm64-2.7/PIL
running egg_info
writing src/Pillow.egg-info/PKG-INFO
writing top-level names to src/Pillow.egg-info/top_level.txt
writing dependency_links to src/Pillow.egg-info/dependency_links.txt
reading manifest file 'src/Pillow.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.c'
warning: no files found matching '*.h'
warning: no files found matching '*.sh'
warning: no previously-included files found matching '.appveyor.yml'
warning: no previously-included files found matching '.coveragerc'
warning: no previously-included files found matching '.codecov.yml'
warning: no previously-included files found matching '.editorconfig'
warning: no previously-included files found matching '.readthedocs.yml'
warning: no previously-included files found matching 'azure-pipelines.yml'
warning: no previously-included files matching '.git*' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.so' found anywhere in distribution
no previously-included directories found matching '.azure-pipelines'
no previously-included directories found matching '.travis'
writing manifest file 'src/Pillow.egg-info/SOURCES.txt'
running build_ext
The headers or library files could not be found for zlib,
a required dependency when compiling Pillow from source.
Please see the install instructions at:
https://pillow.readthedocs.io/en/latest/installation.html
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/3g/6bwtmr4x4m3dvzm2dwby16q40000gn/T/pip-install-CpO_tI/pillow/setup.py", line 903, in <module>
raise RequiredDependencyException(msg)
__main__.RequiredDependencyException:
The headers or library files could not be found for zlib,
a required dependency when compiling Pillow from source.
Please see the install instructions at:
https://pillow.readthedocs.io/en/latest/installation.html
----------------------------------------
ERROR: Command errored out with exit status 1: /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/3g/6bwtmr4x4m3dvzm2dwby16q40000gn/T/pip-install-CpO_tI/pillow/setup.py'"'"'; __file__='"'"'/private/var/folders/3g/6bwtmr4x4m3dvzm2dwby16q40000gn/T/pip-install-CpO_tI/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/3g/6bwtmr4x4m3dvzm2dwby16q40000gn/T/pip-record-baSRJk/install-record.txt --single-version-externally-managed --compile --user --prefix= Check the logs for full command output.
I am a newbie in Eclipse IDE for C/C++ .
I want to set gcc-arm-embedded in Eclipse IDE for C/C++ Developers Mars Milestone 4 (4.5.0M4), I just downloaded https://launchpad.net/gcc-arm-embedded/+download, and now I guess that I have to set PATH somewhere in Eclipse, as I am experiencing this ERRORs in 1 project
Program "arm-none-eabi-g++" not found in PATH
Program "arm-none-eabi-gcc" not found in PATH
The location of the error is in
Project Properties -> C / C++ General -> Preprocessor Include Paths, Macros, etc -> Languages (GNU C) -> [ CDT GCC Built-in Compiler Settings Cross ARM]
But I can't edit this entry: "Setting entries for this provider are supplied by the system and are not editable"
I've tried with:
export PATH=$PATH:/Users/joanot/Development/gcc-arm-none-eabi-4_9-2014q4/bin
and in
Project Properties -> Paths and Symbols -> adding the directory /Users/joanot/Development/gcc-arm-none-eabi-4_9-2014q4/bin
and
In Eclipse -> Preferences -> C / C++ -> Build -> Build Variables:
Create 1 variable named GCC_EABI, type= Directory, value= /usr/local/gcc-arm-none-eabi-4_9-2014q4/bin
In Eclipse -> Preferences -> C / C++ -> Build -> Environment:
Add -> Name = PATH , value = ${GCC_EABI}
In case someone reads this later (like I just did) this works, however the real answer is here
Essentially you need to go to Eclipse -> Preferences -> C/C++ Build -> Tools Paths
Add the path (in my case /Users/${USER}/armtools/install/bin) to the Toolchain folder
I am running Ubuntu 14.04.
Steps I took to reproduce:
Create a new C++ project (New -> C++ -> Hello World project), which I called TestStdThread
Change the code in the main file to this:
#include <thread>
#include <iostream>
int main() {
std::cout << "You have " << std::thread::hardware_concurrency() << " cores." << std::endl;
return 0;
}
Go to TestStdThread -> Properties -> C/C++ Build -> Settings -> GCC C++ Compiler, and change the Command options from g++ to g++ -std=c++11
Go to TestStdThread -> Properties -> C/C++ Build -> Settings -> GCC C++ Compiler -> Includes, add /usr/include to the Include paths (-I), and add pthread.h to the Include files (-include)
Go to TestStdThread -> Properties -> C/C++ Build -> Settings -> GCC C++ Linker -> Libraries, add pthread to the Libraries (-l), and add /usr/lib/x86_64-linux-gnu to the Library search path (-L)
TestStdThread -> Build Project
Click "Run"
There were no build errors. Eclipse told me that the project had errors and asked if I wanted to run it anyway, and when I said yes, the output was, correctly: You have 4 cores.. However, Eclipse still underlined the std::thread::hardware_concurrency part in red, and reported it (on hover) as "Function 'hardware_concurrency' could not be resolved," and std::thread didn't show up when typing std:: Ctrl+Space.
This is the bash command I used to find where my pthread files were located within /usr (/usr/share omitted as it contains lots of doc files that I'm not looking for):
llama#llama-Satellite-E55-A:/usr$ find -name "*pthread*" -not -path "./share/*"
./include/pthread.h
./include/x86_64-linux-gnu/bits/pthreadtypes.h
./lib/x86_64-linux-gnu/pkgconfig/pthread-stubs.pc
./lib/x86_64-linux-gnu/libpthread.so
./lib/x86_64-linux-gnu/libpthread_nonshared.a
./lib/x86_64-linux-gnu/libgpgme-pthread.so.11.11.0
./lib/x86_64-linux-gnu/libgpgme-pthread.so.11
./lib/x86_64-linux-gnu/libpthread.a
./lib/perl/5.18.2/bits/pthreadtypes.ph
./lib/debug/lib/x86_64-linux-gnu/libpthread-2.19.so
Go to Project -> Properties -> C/C++ General -> Preprocessor include paths, etc -> Providers -> CDT GCC Builtin Compiler Settings and append -std=c++11 to the compiler specs.
You can also do this for all projects going to Window -> Preferences -> C/C++ -> Build -> Settings -> Discovery and append -std=c++11 to the CDT GCC Builtin Compiler Settings specs.
Make sure to reindex your project afterwards.
These instructions are for Eclipse Luna (4.4.0), for previous versions the paths are similar.
I am trying to create a C++ project template using the custom project wizard. I just need a simple template for an empty C++ CLI application that uses an external library, i.e I need the wizard to set the following settings found under Project -> Properties:
Configaration Setting -> VC++ Directories -> Executable Directories
Configaration Setting -> VC++ Directories -> Include Directories
Configaration Setting -> VC++ Directories -> Library Directories
Configaration Setting -> Linker -> Input -> Additional Dependencies
It seems I need to modify default.js more specifically the function AddConfig which contains:
function AddConfig(proj, strProjectName)
{
var config = proj.Object.Configurations('Debug');
var CLTool = config.Tools('VCCLCompilerTool');
// TODO: Add compiler settings
var LinkTool = config.Tools('VCLinkerTool');
// TODO: Add linker settings
}
I need help in setting the project settings here.