-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to install numerous packages #9157
Comments
I am running under Big Sur. I can get this to work if I do the following with Xcode or perhaps Apple Command Line Tools installed, along with Python3.9. It will not work with Python 3.8.2, the default installed with Command Line Tools |
Same as #9138 |
So why is it failing on osX10.12?
… On Nov 22, 2020, at 10:15 AM, Pradyun Gedam ***@***.***> wrote:
Closed #9157 <#9157>.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#9157 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AM4R6IUKWEACNXQEN5S6TOTSRE2KFANCNFSM4T54JBTQ>.
|
Do you have wheels disabled in some way? What's the output of |
Howdy,
I think that we need to establish a bit of ground here so that you might understand where I am coming from.
I am not a programmer nor are the people who are contacting me. Many of them have never even heard of the macOS Terminal, Unix, Command Line etc.
We are trying to install a program called Ortho4Xp which requires that we use Homebrew and Pip installs.
https://github.com/oscarpilote/Ortho4XP <https://github.com/oscarpilote/Ortho4XP>
And we have attempted to translate a document, install_mac.sh, for the users as part of the installation process.
Over time the installation process has become more difficult as various python packages have changed. I have been fortunate in being able to contact folks at Github about these concerns and have gotten help and fixes.
It looks like something happened about a month or two ago and people started having difficulty with their pip installs, but they did not report them to the X-plane forum until this week. Unfortunately as Big Sur came out. So far, only two of us had upgraded to Big Sur, others were using older versions of macOS or OS X .
As of late, there are rather confusing messages popping up in with the installs:
% pip3 -list
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see #5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
This really does not mean anything to us common folk. I guessed at it because of some help that I had gotten from a kind person at Githup a year or so ago.
Python3 -m pip install **** —user
But I was getting some sort of module error message. I think that referred to not having the current command line tools or Xcode installed for Big Sur.
So after removing all the versions of python that I could find lurking about, and homebrew packages, I started over (Big Sur).
I ended up having to install Python 3.9, because Python 3.8.2 that is installed by Apple command line tools would not work.
Finally, I was able to install everything required by using the command:
Python3.9 -m pip install ***** —user
I am sure that the 3.9 was not necessary, just 3, but there you go.
So at this time, just for me the issue appears to be fixed for the packages that I needed.
I do not know if I am using the proper terms for everything or not.
That being said, unfortunately I do not know what your question means, much less the answer for it.
No wheels were deliberately disabled, nor do I know where or how to access the output of pip debug.
If you feel kind enough to help out a 73 year old ex submarine sailor, I would appreciate it.
Thank you,
trav
… On Nov 22, 2020, at 11:58 AM, Pradyun Gedam ***@***.***> wrote:
Do you have wheels disabled in some way? What's the output of pip debug for you?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#9157 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AM4R6IULGQX7UJ2MZVP6573SRFGLDANCNFSM4T54JBTQ>.
|
Sure thing! Happy to help! ^>^
That'll look like:
|
I appreciate your help.
We had python 3.8 installed when we updated to Big Sur. From that point we could not get some packages to install.
I will pass your information on to the forum.
My question is now, why did what I did work?
Any ideas as to why?
Late last night I actually found and started to read the documentation and found the below. It seems to me that this should always be step one. I confess, that I did not do it. I had already gotten packages installed.
Ensure pip, setuptools, and wheel are up to date <https://packaging.python.org/tutorials/installing-packages/#id14>
While pip alone is sufficient to install from pre-built binary archives, up to date copies of the setuptools and wheel projects are useful to ensure you can also install from source archives:
python3 -m pip install --upgrade pip setuptools wheel
Thank you
… On Nov 23, 2020, at 3:15 AM, Pradyun Gedam ***@***.***> wrote:
Sure thing! Happy to help! ^>^
You'll want to install Python 3.8, since Python 3.9 doesn't have already-compiled binaries (called wheels) available on Python Package Index (the place where pip downloads and installs things from: https://pypi.org <https://pypi.org/>).
You'll want to do python3.8 -m pip install ... in the script.
That'll look like:
# Install dependencies
brew install ***@***.*** gdal spatialindex p7zip
# Install pyproj
python3.8 -m pip install cython
python3.8 -m pip install git+https://github.com/jswhit/pyproj.git
# Install other dependencies
python3.8 -m pip install numpy shapely rtree pillow requests
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#9157 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AM4R6IUEJ2S6N6JBXDXQ6ZDSRIR25ANCNFSM4T54JBTQ>.
|
Thank you again for your help.
I removed what I had to try your suggestion.
Unfortunately, during the brew install of gdal below, python 3.9 gets installed
🍺 /usr/local/Cellar/freexl/1.0.6: 115 files, 939.2KB
==> Installing gdal dependency: python@3.9
==> Pouring python@3.9-3.9.0_2.big_sur.bottle.tar.gz
==> /usr/local/Cellar/python@3.9/3.9.0_2/bin/python3 -s setup.py --no-user-cfg install --force --verbose --install-scripts=/usr/local/Cellar/python@3.9/3.9.0_2
==> /usr/local/Cellar/python@3.9/3.9.0_2/bin/python3 -s setup.py --no-user-cfg install --force --verbose --install-scripts=/usr/local/Cellar/python@3.9/3.9.0_2
==> /usr/local/Cellar/python@3.9/3.9.0_2/bin/python3 -s setup.py --no-user-cfg install --force --verbose --install-scripts=/usr/local/Cellar/python@3.9/3.9.0_2
==> Caveats
Python has been installed as
/usr/local/bin/python3
And I can not proceed as python3.8
% python3.8 -m pip install cython
zsh: correct 'python3.8' to 'python3.9' [nyae]? n
zsh: command not found: python3.8
Also, the pyproj step as written is invalid now. It is written like the other python3 -m installs.
… On Nov 23, 2020, at 3:15 AM, Pradyun Gedam ***@***.***> wrote:
Sure thing! Happy to help! ^>^
You'll want to install Python 3.8, since Python 3.9 doesn't have already-compiled binaries (called wheels) available on Python Package Index (the place where pip downloads and installs things from: https://pypi.org <https://pypi.org/>).
You'll want to do python3.8 -m pip install ... in the script.
That'll look like:
# Install dependencies
brew install ***@***.*** gdal spatialindex p7zip
# Install pyproj
python3.8 -m pip install cython
python3.8 -m pip install git+https://github.com/jswhit/pyproj.git
# Install other dependencies
python3.8 -m pip install numpy shapely rtree pillow requests
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#9157 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AM4R6IUEJ2S6N6JBXDXQ6ZDSRIR25ANCNFSM4T54JBTQ>.
|
Sorry, but I don't have a Big Sur system at hand to provide help with that issue. I think that python-list (email), #python on Freenode (IRC), Python Discord or StackOverflow would be better channels to get support for the issue you're facing -- they have a larger community of folks, who'd likely be better positioned to provide you with the help you need. :) |
I appreciate your efforts. There is something odd going on. I think that we will close this out. |
Environment
As indicated above, I have Python 3.8 installed via the command line and have not installed Python 3.9. Other users have 3.9 and report difficulty getting packages to install.
Description
I have tried to get packages via pip3 install (which evidently is not the way any more) and python3 -m pip install, with limited success.
Expected behavior
I expect the packages to install as they have in the past.
% python3 -m pip install numpy --user
Collecting numpy
Downloading numpy-1.19.4.zip (7.3 MB)
|████████████████████████████████| 7.3 MB 880 kB/s
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Building wheels for collected packages: numpy
Building wheel for numpy (PEP 517) ... done
Created wheel for numpy: filename=numpy-1.19.4-cp38-cp38-macosx_10_14_6_x86_64.whl size=6393568 sha256=8de9d320b544b88f2c0f0173db3d6232689410aebb562b3a07a8fb571f9ad141
Stored in directory: /Users/trav/Library/Caches/pip/wheels/6d/16/41/249ad7da789b267243d1798090f061495fadbfb3113a6d94e2
Successfully built numpy
Installing collected packages: numpy
WARNING: The scripts f2py, f2py3 and f2py3.8 are installed in '/Users/trav/Library/Python/3.8/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed numpy-1.19.4
How to Reproduce
% python3 -m pip install shapely --user
Collecting shapely
Using cached Shapely-1.7.1.tar.gz (383 kB)
ERROR: Command errored out with exit status 1:
command: /Library/Developer/CommandLineTools/usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/ky/x8v1t9bd4qlc3k10xxg44jcw0000gn/T/pip-install-72ho1ps3/shapely/setup.py'"'"'; file='"'"'/private/var/folders/ky/x8v1t9bd4qlc3k10xxg44jcw0000gn/T/pip-install-72ho1ps3/shapely/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/ky/x8v1t9bd4qlc3k10xxg44jcw0000gn/T/pip-pip-egg-info-v1d320vm
cwd: /private/var/folders/ky/x8v1t9bd4qlc3k10xxg44jcw0000gn/T/pip-install-72ho1ps3/shapely/
Complete output (12 lines):
Failed
CDLL(/Library/Frameworks/GEOS.framework/Versions/Current/GEOS)
Failed
CDLL(/opt/local/lib/libgeos_c.dylib)
Failed
CDLL(/usr/local/lib/libgeos_c.dylib)
Traceback (most recent call last):
File "", line 1, in
File "/private/var/folders/ky/x8v1t9bd4qlc3k10xxg44jcw0000gn/T/pip-install-72ho1ps3/shapely/setup.py", line 85, in
from shapely._buildcfg import geos_version_string, geos_version,
File "/private/var/folders/ky/x8v1t9bd4qlc3k10xxg44jcw0000gn/T/pip-install-72ho1ps3/shapely/shapely/_buildcfg.py", line 190, in
lgeos = load_dll('geos_c', fallbacks=alt_paths)
File "/private/var/folders/ky/x8v1t9bd4qlc3k10xxg44jcw0000gn/T/pip-install-72ho1ps3/shapely/shapely/_buildcfg.py", line 162, in load_dll
raise OSError(
OSError: Could not find library geos_c or load any of its variants ['/Library/Frameworks/GEOS.framework/Versions/Current/GEOS', '/opt/local/lib/libgeos_c.dylib', '/usr/local/lib/libgeos_c.dylib']
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
% python3 -m pip install pyproj
Defaulting to user installation because normal site-packages is not writeable
Collecting pyproj
Using cached pyproj-3.0.0.post1.tar.gz (663 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
ERROR: Command errored out with exit status 1:
command: /Library/Developer/CommandLineTools/usr/bin/python3 /Users/trav/Library/Python/3.8/lib/python/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /var/folders/ky/x8v1t9bd4qlc3k10xxg44jcw0000gn/T/tmpvonxx8fi
cwd: /private/var/folders/ky/x8v1t9bd4qlc3k10xxg44jcw0000gn/T/pip-install-ouifg4u1/pyproj
Complete output (1 lines):
proj executable not found. Please set the PROJ_DIR variable. For more information see: https://pyproj4.github.io/pyproj/stable/installation.html
ERROR: Command errored out with exit status 1: /Library/Developer/CommandLineTools/usr/bin/python3 /Users/trav/Library/Python/3.8/lib/python/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /var/folders/ky/x8v1t9bd4qlc3k10xxg44jcw0000gn/T/tmpvonxx8fi Check the logs for full command output.
% python3 -m pip install pillow
Defaulting to user installation because normal site-packages is not writeable
Collecting pillow
Using cached Pillow-8.0.1.tar.gz (44.6 MB)
Building wheels for collected packages: pillow
Building wheel for pillow (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /Library/Developer/CommandLineTools/usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/ky/x8v1t9bd4qlc3k10xxg44jcw0000gn/T/pip-install-930l9fwe/pillow/setup.py'"'"'; file='"'"'/private/var/folders/ky/x8v1t9bd4qlc3k10xxg44jcw0000gn/T/pip-install-930l9fwe/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/ky/x8v1t9bd4qlc3k10xxg44jcw0000gn/T/pip-wheel-r_9sxfx3
cwd: /private/var/folders/ky/x8v1t9bd4qlc3k10xxg44jcw0000gn/T/pip-install-930l9fwe/pillow/
Complete output (174 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.14.6-x86_64-3.8
creating build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/MpoImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/ImageMode.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/PngImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/XbmImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/PcxImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/SunImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/ImageFile.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/SpiderImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/TarIO.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/FitsStubImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/MpegImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/BdfFontFile.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/GribStubImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/ImageStat.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/PixarImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/GimpPaletteFile.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/ImageColor.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/ContainerIO.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/MspImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/MicImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/_version.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/ImtImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/GifImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/PalmImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/ImageQt.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/ImageMath.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/PaletteFile.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/FontFile.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/PdfParser.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/ExifTags.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/ImageCms.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/FpxImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/ImageChops.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/BufrStubImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/PSDraw.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/PcdImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/ImageFilter.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/ImageDraw2.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/ImagePath.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/DcxImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/init.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/JpegPresets.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/Hdf5StubImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/features.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/ImageDraw.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/GimpGradientFile.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/ImageWin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/IcoImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/_tkinter_finder.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/EpsImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/TgaImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/ImageMorph.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/Jpeg2KImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/WalImageFile.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/PcfFontFile.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/BlpImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/ImageTk.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/GbrImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/ImageOps.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/PdfImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/ImageShow.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/ImageEnhance.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/WmfImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/ImageGrab.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/WebPImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/FliImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/TiffTags.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/CurImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/_util.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/GdImageFile.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/TiffImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/IptcImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/ImagePalette.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/BmpImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/ImageTransform.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/IcnsImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/McIdasImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/XpmImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/DdsImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/ImageSequence.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/PyAccess.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/_binary.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/Image.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/main.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/XVThumbImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/SgiImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/ImImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/PsdImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/JpegImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/ImageFont.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/PpmImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/FtexImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
running egg_info
writing src/Pillow.egg-info/PKG-INFO
writing dependency_links to src/Pillow.egg-info/dependency_links.txt
writing top-level names to src/Pillow.egg-info/top_level.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 '.editorconfig'
warning: no previously-included files found matching '.readthedocs.yml'
warning: no previously-included files found matching 'codecov.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 '.ci'
writing manifest file 'src/Pillow.egg-info/SOURCES.txt'
running build_ext
The headers or library files could not be found for jpeg,
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 "/private/var/folders/ky/x8v1t9bd4qlc3k10xxg44jcw0000gn/T/pip-install-930l9fwe/pillow/setup.py", line 861, in
setup(
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/setuptools/init.py", line 145, in setup
return distutils.core.setup(**attrs)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/distutils/core.py", line 148, in setup
dist.run_commands()
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/wheel/bdist_wheel.py", line 192, in run
self.run_command('build')
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 84, in run
_build_ext.run(self)
File "/Users/trav/Library/Python/3.8/lib/python/site-packages/Cython/Distutils/old_build_ext.py", line 186, in run
_build_ext.build_ext.run(self)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/distutils/command/build_ext.py", line 340, in run
self.build_extensions()
File "/private/var/folders/ky/x8v1t9bd4qlc3k10xxg44jcw0000gn/T/pip-install-930l9fwe/pillow/setup.py", line 698, in build_extensions
raise RequiredDependencyException(f)
main.RequiredDependencyException: jpeg
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "", line 1, in
File "/private/var/folders/ky/x8v1t9bd4qlc3k10xxg44jcw0000gn/T/pip-install-930l9fwe/pillow/setup.py", line 914, in
raise RequiredDependencyException(msg)
main.RequiredDependencyException:
The headers or library files could not be found for jpeg,
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
Running setup.py install for pillow ... error
ERROR: Command errored out with exit status 1:
command: /Library/Developer/CommandLineTools/usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/ky/x8v1t9bd4qlc3k10xxg44jcw0000gn/T/pip-install-930l9fwe/pillow/setup.py'"'"'; file='"'"'/private/var/folders/ky/x8v1t9bd4qlc3k10xxg44jcw0000gn/T/pip-install-930l9fwe/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/ky/x8v1t9bd4qlc3k10xxg44jcw0000gn/T/pip-record-3nqn_nfw/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /Users/trav/Library/Python/3.8/include/python3.8/pillow
cwd: /private/var/folders/ky/x8v1t9bd4qlc3k10xxg44jcw0000gn/T/pip-install-930l9fwe/pillow/
Complete output (176 lines):
running install
running build
running build_py
creating build
creating build/lib.macosx-10.14.6-x86_64-3.8
creating build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/MpoImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/ImageMode.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/PngImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/XbmImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/PcxImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/SunImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/ImageFile.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/SpiderImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/TarIO.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/FitsStubImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/MpegImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/BdfFontFile.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/GribStubImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/ImageStat.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/PixarImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/GimpPaletteFile.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/ImageColor.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/ContainerIO.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/MspImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/MicImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/_version.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/ImtImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/GifImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/PalmImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/ImageQt.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/ImageMath.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/PaletteFile.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/FontFile.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/PdfParser.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/ExifTags.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/ImageCms.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/FpxImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/ImageChops.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/BufrStubImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/PSDraw.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/PcdImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/ImageFilter.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/ImageDraw2.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/ImagePath.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/DcxImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/init.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/JpegPresets.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/Hdf5StubImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/features.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/ImageDraw.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/GimpGradientFile.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/ImageWin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/IcoImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/_tkinter_finder.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/EpsImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/TgaImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/ImageMorph.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/Jpeg2KImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/WalImageFile.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/PcfFontFile.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/BlpImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/ImageTk.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/GbrImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/ImageOps.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/PdfImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/ImageShow.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/ImageEnhance.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/WmfImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/ImageGrab.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/WebPImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/FliImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/TiffTags.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/CurImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/_util.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/GdImageFile.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/TiffImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/IptcImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/ImagePalette.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/BmpImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/ImageTransform.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/IcnsImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/McIdasImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/XpmImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/DdsImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/ImageSequence.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/PyAccess.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/_binary.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/Image.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/main.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/XVThumbImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/SgiImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/ImImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/PsdImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/JpegImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/ImageFont.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/PpmImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
copying src/PIL/FtexImagePlugin.py -> build/lib.macosx-10.14.6-x86_64-3.8/PIL
running egg_info
writing src/Pillow.egg-info/PKG-INFO
writing dependency_links to src/Pillow.egg-info/dependency_links.txt
writing top-level names to src/Pillow.egg-info/top_level.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 '.editorconfig'
warning: no previously-included files found matching '.readthedocs.yml'
warning: no previously-included files found matching 'codecov.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 '.ci'
writing manifest file 'src/Pillow.egg-info/SOURCES.txt'
running build_ext
ERROR: Command errored out with exit status 1: /Library/Developer/CommandLineTools/usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/ky/x8v1t9bd4qlc3k10xxg44jcw0000gn/T/pip-install-930l9fwe/pillow/setup.py'"'"'; file='"'"'/private/var/folders/ky/x8v1t9bd4qlc3k10xxg44jcw0000gn/T/pip-install-930l9fwe/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/ky/x8v1t9bd4qlc3k10xxg44jcw0000gn/T/pip-record-3nqn_nfw/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /Users/trav/Library/Python/3.8/include/python3.8/pillow Check the logs for full command output.
%
% python3 -m pip install rtree
Defaulting to user installation because normal site-packages is not writeable
Collecting rtree
Using cached Rtree-0.9.4.tar.gz (62 kB)
ERROR: Command errored out with exit status 1:
command: /Library/Developer/CommandLineTools/usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/ky/x8v1t9bd4qlc3k10xxg44jcw0000gn/T/pip-install-gz7kj_ic/rtree/setup.py'"'"'; file='"'"'/private/var/folders/ky/x8v1t9bd4qlc3k10xxg44jcw0000gn/T/pip-install-gz7kj_ic/rtree/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/ky/x8v1t9bd4qlc3k10xxg44jcw0000gn/T/pip-pip-egg-info-mgse2op8
cwd: /private/var/folders/ky/x8v1t9bd4qlc3k10xxg44jcw0000gn/T/pip-install-gz7kj_ic/rtree/
Complete output (15 lines):
Traceback (most recent call last):
File "", line 1, in
File "/private/var/folders/ky/x8v1t9bd4qlc3k10xxg44jcw0000gn/T/pip-install-gz7kj_ic/rtree/setup.py", line 3, in
import rtree
File "/private/var/folders/ky/x8v1t9bd4qlc3k10xxg44jcw0000gn/T/pip-install-gz7kj_ic/rtree/rtree/init.py", line 1, in
from .index import Rtree
File "/private/var/folders/ky/x8v1t9bd4qlc3k10xxg44jcw0000gn/T/pip-install-gz7kj_ic/rtree/rtree/index.py", line 6, in
from . import core
File "/private/var/folders/ky/x8v1t9bd4qlc3k10xxg44jcw0000gn/T/pip-install-gz7kj_ic/rtree/rtree/core.py", line 143, in
rt.Error_GetLastErrorNum.restype = ctypes.c_int
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/ctypes/init.py", line 378, in getattr
func = self.getitem(name)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/ctypes/init.py", line 383, in getitem
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: dlsym(RTLD_DEFAULT, Error_GetLastErrorNum): symbol not found
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
That just seems to be a lot at one time.
The text was updated successfully, but these errors were encountered: