Giter VIP home page Giter VIP logo

Comments (5)

taldcroft avatar taldcroft commented on June 7, 2024

@cdeil - yeah, that looks like a problem in configure. At least for now the easiest workflow for sherpa development is going to be an isolated Anaconda environment or something similar.

from sherpa.

olaurino avatar olaurino commented on June 7, 2024

@cdeil thanks for the report

I see two issues here:

  • as you reported, the build is not taking into account that you want to force python2.7, despite the fact that python3 has the precedence in your PATH setup.
  • the macro that should ensure python's version is 2.7 is not doing its job: you should get a meaningful error message if building with python3.

Regarding the first issue, here is a workaround: just export PYTHON=python2.7 before you run python2.7 setup.py install. Then the configure script will not try to infer the Python version itself. I will take this report as a suggestion for a feature enhancement so to make this transparent to the user: if python2.7 is used to run setup.py it should also be used to build the python extensions built externally.

Regarding the second issue, it is an actual bug. Unfortunately, a fix would require to rerun the autotools, and I need to coordinate this with the grplib maintainers, as this code is taken from the CIAO codebase.

I will create two separate tickets, as I believe these two issues will be addressed separately.

from sherpa.

olaurino avatar olaurino commented on June 7, 2024

This issue has been replaced by #19 and #20

from sherpa.

olaurino avatar olaurino commented on June 7, 2024

@cdeil if you agree I would like to close this issue: your report will be addressed in #19 and #20 separately.

from sherpa.

cdeil avatar cdeil commented on June 7, 2024

@olaurino – Sure, splitting separate issues into different tickets is always a good idea. Closing this one now.

from sherpa.

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.