Coder Social home page Coder Social logo

Comments (5)

m-kuhn avatar m-kuhn commented on August 20, 2024

You may see issues with other formulae, since there appears to be an issue with def install always setting PYTHONPATH=<2.7 site-packages> and PYTHONHOME=, though I have not pinned down the problem.

Hi @dakcarto , do you have any workaround for this?

from homebrew-qgisdev.

dakcarto avatar dakcarto commented on August 20, 2024

@m-kuhn wrote:

Hi @dakcarto , do you have any workaround for this?

Only what I have done for qgis3-dev.

from homebrew-qgisdev.

m-kuhn avatar m-kuhn commented on August 20, 2024

Only what I have done for qgis3-dev.

Seems that works. While it still spits a warning about future from 2.7 being loaded before the python path mangling in install, the build finally completes 👍 .

from homebrew-qgisdev.

dalekunce avatar dalekunce commented on August 20, 2024

I've tried the suggestions above. brew info looks like all deps are installed but I'm getting the following error.

screen shot 2017-02-25 at 10 10 56 am

screen shot 2017-02-25 at 10 11 19 am

from homebrew-qgisdev.

dakcarto avatar dakcarto commented on August 20, 2024

Ok, figured it out. When gdal2-python.rb is loaded, :python => :recommended is the default, which sets PYTHONPATH=<homebrew/prefix>/lib/python2.7/site-packages in the environ. This needs cleared prior to calling any of the qgis3-dev python3 functions.

Should be 'fixed' in d3e61f0. I do not think this is specific to gdal2-python formula, but any that defines :python2 or 'python' as a hard dependency or :recommended. I am unsure if this is a Homebrew bug (seems like it to me).

from homebrew-qgisdev.

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.