{"action":"created","issue":{"url":"https://api.github.com/repos/sherpa/sherpa/issues/198","repository_url":"https://api.github.com/repos/sherpa/sherpa","labels_url":"https://api.github.com/repos/sherpa/sherpa/issues/198/labels{/name}","comments_url":"https://api.github.com/repos/sherpa/sherpa/issues/198/comments","events_url":"https://api.github.com/repos/sherpa/sherpa/issues/198/events","html_url":"https://github.com/sherpa/sherpa/issues/198","id":143635274,"number":198,"title":"Configuring for Mac with XSPEC","user":{"login":"abigailStev","id":4617443,"avatar_url":"https://avatars.githubusercontent.com/u/4617443?v=3","gravatar_id":"","url":"https://api.github.com/users/abigailStev","html_url":"https://github.com/abigailStev","followers_url":"https://api.github.com/users/abigailStev/followers","following_url":"https://api.github.com/users/abigailStev/following{/other_user}","gists_url":"https://api.github.com/users/abigailStev/gists{/gist_id}","starred_url":"https://api.github.com/users/abigailStev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abigailStev/subscriptions","organizations_url":"https://api.github.com/users/abigailStev/orgs","repos_url":"https://api.github.com/users/abigailStev/repos","events_url":"https://api.github.com/users/abigailStev/events{/privacy}","received_events_url":"https://api.github.com/users/abigailStev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-26T00:20:45Z","updated_at":"2016-03-26T00:26:41Z","closed_at":null,"body":"Hello! I am attempting to configure sherpa to work with the XSPEC I have installed on my Mac (OS X 10.10.5, XSPEC version 12.8.2). I do not have CIAO installed, and heasoft is not initialized. Below is a description of what I have attempted, what has worked, and what the current error is:\r\n\r\nWhen I install sherpa (from cloning the github source) cleanly without any modifications, I'm able to import sherpa and sherpa.astro.ui into a jupyter notebook without error. The modifications I make to the setup.cfg file, to access the XSPEC models, are:\r\n\r\n```\r\n# XSPEC Models\r\n[xspec_config]\r\nwith-xspec=True\r\n\r\nxspec_lib_dirs=/usr/local/src/heasoft-6.16/x86_64-apple-darwin14.1.0/lib\r\nxspec_libraries=XSFunctions XSModel XSUtil XS\r\ncfitsio_lib_dirs=/opt/local/lib\r\ncfitsio_libraries=cfitsio\r\nccfits_lib_dirs=/usr/local/src/heasoft-6.16/x86_64-apple-darwin14.1.0/lib\r\nccfits_libraries=CCfits_2.4\r\nwcslib_lib_dirs=/opt/local/lib\r\nwcslib_libraries=wcs\r\ngfortran_lib_dirs=/opt/local/lib/gcc49\r\ngfortran_libraries=gfortran\r\n```\r\n(the locations of these libraries have been checked). Sherpa installs without errors with 'python setup.py install', and I can import sherpa into a jupyter notebook, but import sherpa.astro.ui gives the following error:\r\n```\r\n---------------------------------------------------------------------------\r\nImportError                               Traceback (most recent call last)\r\n<ipython-input-6-5c6d93c67c78> in <module>()\r\n----> 1 import sherpa.astro.ui\r\n\r\n/Users/abigailstevens/anaconda/lib/python2.7/site-packages/sherpa/astro/ui/__init__.py in <module>()\r\n     18 #\r\n     19 \r\n---> 20 import sherpa.all\r\n     21 import sherpa.astro.all\r\n     22 import sherpa.astro.ui.utils\r\n\r\n/Users/abigailstevens/anaconda/lib/python2.7/site-packages/sherpa/all.py in <module>()\r\n     33 warning = logging.getLogger(__name__).warning\r\n     34 \r\n---> 35 from sherpa.data import *\r\n     36 from sherpa.estmethods import *\r\n     37 from sherpa.fit import *\r\n\r\n/Users/abigailstevens/anaconda/lib/python2.7/site-packages/sherpa/data.py in <module>()\r\n     27 from itertools import izip\r\n     28 import numpy\r\n---> 29 from sherpa.utils.err import DataErr, NotImplementedErr\r\n     30 from sherpa.utils import SherpaFloat, NoNewAttributesAfterInit, \\\r\n     31      print_fields, create_expr, calc_total_error, bool_cast, \\\r\n\r\n/Users/abigailstevens/anaconda/lib/python2.7/site-packages/sherpa/utils/__init__.py in <module>()\r\n     34 import numpy\r\n     35 import numpy.random\r\n---> 36 from . import numpytest\r\n     37 import numpy.fft\r\n     38 # Note: _utils.gsl_fcmp is not exported from this module; is this intentional?\r\n\r\nImportError: cannot import name numpytest\r\n```\r\n\r\nIdeas as to what to try?"},"comment":{"url":"https://api.github.com/repos/sherpa/sherpa/issues/comments/201613260","html_url":"https://github.com/sherpa/sherpa/issues/198#issuecomment-201613260","issue_url":"https://api.github.com/repos/sherpa/sherpa/issues/198","id":201613260,"user":{"login":"abigailStev","id":4617443,"avatar_url":"https://avatars.githubusercontent.com/u/4617443?v=3","gravatar_id":"","url":"https://api.github.com/users/abigailStev","html_url":"https://github.com/abigailStev","followers_url":"https://api.github.com/users/abigailStev/followers","following_url":"https://api.github.com/users/abigailStev/following{/other_user}","gists_url":"https://api.github.com/users/abigailStev/gists{/gist_id}","starred_url":"https://api.github.com/users/abigailStev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abigailStev/subscriptions","organizations_url":"https://api.github.com/users/abigailStev/orgs","repos_url":"https://api.github.com/users/abigailStev/repos","events_url":"https://api.github.com/users/abigailStev/events{/privacy}","received_events_url":"https://api.github.com/users/abigailStev/received_events","type":"User","site_admin":false},"created_at":"2016-03-26T00:26:41Z","updated_at":"2016-03-26T00:26:41Z","body":"Pinging @joleroi to also follow discussion"}}