Coder Social home page Coder Social logo

Support for MacOS 11.0 Big Sur about pandana HOT 2 OPEN

smmaurer avatar smmaurer commented on July 21, 2024
Support for MacOS 11.0 Big Sur

from pandana.

Comments (2)

smmaurer avatar smmaurer commented on July 21, 2024 1

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!

from pandana.

RELNO avatar RELNO commented on July 21, 2024

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/[email protected]/include -I/usr/local/opt/sqlite/include -I/U         sers/noyman/GIT/TANGIBLE/tangible_sim/venv/include -I/usr/local/Cel         lar/[email protected]/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.

from pandana.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.