Comments (5)
@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.
@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.
This issue has been replaced by #19 and #20
from sherpa.
@cdeil if you agree I would like to close this issue: your report will be addressed in #19 and #20 separately.
from sherpa.
@olaurino – Sure, splitting separate issues into different tickets is always a good idea. Closing this one now.
from sherpa.
Related Issues (20)
- Allow to specify parameter bounds in relation to some other parameter HOT 2
- citation command fails for 4.16.0
- do we need a plot_quality() command
- ignore_bad issues
- superscripts in bokeh axis labels display as "$^2$ HOT 2
- planned I/O changes for 4.17
- "Goodness" command like XSPEC to evaluate fitting statistics through repreated fake_it HOT 3
- Add a `to_arviz` method to pyBLoCXS
- Should 'load_table_model' fail when reading xspec table model type, but XSPEC is not installed? HOT 1
- multiprocessing and python 3.12 HOT 1
- bokeh problems with tests
- ERROR: Failed building wheel for sherpa HOT 2
- pytest 8.0.0 changes HOT 1
- argh: pytest < 8 HOT 2
- numpy 2.0 HOT 1
- improve error message when plot backend is not available HOT 1
- Checking whether we can do something with stats/method objects: design issue
- choice of list vs tuple vs ndarray for field settings
- requires_pylab decorator is wrong HOT 3
- bokeh backend fails for some multi-panel plots
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sherpa.