Skip to content
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

Support for MacOS 11.0 Big Sur #149

Open
smmaurer opened this issue Nov 13, 2020 · 2 comments
Open

Support for MacOS 11.0 Big Sur #149

smmaurer opened this issue Nov 13, 2020 · 2 comments

Comments

@smmaurer
Copy link
Member

MacOS 11.0 Big Sur was released yesterday. I tested Pandana and did not encounter any issues.

  • pip install pandana works fine
  • conda install pandana works fine
  • compilation from source code using Conda toolchain works fine

Seems promising! Last year's MacOS update caused some installation headaches (see issue #129), but this year we may have been spared. Please comment below if you encounter anything!

@RELNO
Copy link

RELNO commented Jan 14, 2021

Thanks for working on Panadana, and sorry to be the bearer of bad news, but install via pip on venv failed in big-sur:

Installing collected packages: pandana
    Running setup.py install for pandana ... error
    ERROR: Command errored out with exit status 1:
     command: venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/68/5x7nyjm53b1d5j75py7632m00000gn/T/pip-install-0wpa465k/pandana_ad62968008304763bcaa4b838404cda4/setup.py'"'"'; __file__='"'"'/private/var/folders/68/5x7nyjm53b1d5j75py7632m00000gn/T/pip-install-0wpa465k/pandana_ad62968008304763bcaa4b838404cda4/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/68/5x7nyjm53b1d5j75py7632m00000gn/T/pip-record-3vlc0i5z/install-record.txt --single-version-externally-managed --compile --install-headers venv/include/site/python3.8/pandana
         cwd: /private/var/folders/68/5x7nyjm53b1d5j75py7632m00000gn/T/pip-install-0wpa465k/pandana_ad62968008304763bcaa4b838404cda4/
    Complete output (24 lines):
    Attempting Pandana compilation without support for multi-threading. See installation instructions for alternative options
    running install
    running build
    running build_py
    creating build
    creating build/lib.macosx-10.15-x86_64-3.8
    creating build/lib.macosx-10.15-x86_64-3.8/pandana
    copying pandana/__init__.py -> build/lib.macosx-10.15-x86_64-3.8/pandana
    copying pandana/utils.py -> build/lib.macosx-10.15-x86_64-3.8/pandana
    copying pandana/network.py -> build/lib.macosx-10.15-x86_64-3.8/pandana
    copying pandana/testing.py -> build/lib.macosx-10.15-x86_64-3.8/pandana
    creating build/lib.macosx-10.15-x86_64-3.8/pandana/loaders
    copying pandana/loaders/osm.py -> build/lib.macosx-10.15-x86_64-3.8/pandana/loaders
    copying pandana/loaders/__init__.py -> build/lib.macosx-10.15-x86_64-3.8/pandana/loaders
    copying pandana/loaders/pandash5.py -> build/lib.macosx-10.15-x86_64-3.8/pandana/loaders
    running build_ext
    skipping 'src/cyaccess.cpp' Cython extension (up-to-date)
    building 'pandana.cyaccess' extension
    creating build/temp.macosx-10.15-x86_64-3.8
    creating build/temp.macosx-10.15-x86_64-3.8/src
    creating build/temp.macosx-10.15-x86_64-3.8/src/contraction_hierarchies
    creating build/temp.macosx-10.15-x86_64-3.8/src/contraction_hierarchies/src
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno         -common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/D         eveloper/CommandLineTools/SDKs/MacOSX10.15.sdk -I/Library/Developer         /CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include -I/Library/Devel         oper/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Framework     s/Tk.framework/Versions/8.5/Headers -I. -I/usr/local/include -I/usr         /local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/U         sers/noyman/GIT/TANGIBLE/tangible_sim/venv/include -I/usr/local/Cel         lar/python@3.8/3.8.5/Frameworks/Python.framework/Versions/3.8/inclu         de/python3.8 -Ivenv/lib/python3.8/site-packages/numpy/core/include -c src/accessibility.cpp -o build/temp.macosx-10.15-x86_64-3.8/src/accessibility.o -w -std=c++11 -O3 -D NO_TR1_MEMORY -stdlib=libc++
    error: $MACOSX_DEPLOYMENT_TARGET mismatch: now "10.9" but "10.15" during configure
    ----------------------------------------
ERROR: Command errored out with exit status 1: venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/68/5x7nyjm53b1d5j75py7632m00000gn/T/pip-install-0wpa465k/pandana_ad62968008304763bcaa4b838404cda4/setup.py'"'"'; __file__='"'"'/private/var/folders/68/5x7nyjm53b1d5j75py7632m00000gn/T/pip-install-0wpa465k/pandana_ad62968008304763bcaa4b838404cda4/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/68/5x7nyjm53b1d5j75py7632m00000gn/T/pip-record-3vlc0i5z/install-record.txt --single-version-externally-managed --compile --install-headers venv/include/site/python3.8/pandana Check the logs for full command output.

@smmaurer
Copy link
Member Author

Hi @RELNO, thanks for reporting this!

I ran into a similar problem recently in the GitHub Actions environment, and fixed it in the dev branch (PR #153). I'm guessing that will solve your issue too.

You can install this version with pip install https://github.com/udst/pandana/archive/dev.tar.gz, and we should have a new release on pip in the next few weeks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants