Comments (5)
I've seen this before. This is caused by an upstream bug in setuptools. You should upgrade your setuptools version to the most recent--0.6c11 is very old.
from pyfits.
I have updated to the latest setuptools 1.4.2 and still see the same problem using either the --prefix or --user options, e.g.:
$ easy_install --user pyfits
Searching for pyfits
Reading https://pypi.python.org/simple/pyfits/
Best match: pyfits 3.2
Downloading https://pypi.python.org/packages/source/p/pyfits/pyfits-3.2.tar.gz#md5=23fe76429fcd229f0abbd21535d1c41a
Processing pyfits-3.2.tar.gz
Writing /tmp/easy_install-di4fNj/pyfits-3.2/setup.cfg
Running pyfits-3.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-di4fNj/pyfits-3.2/egg-dist-tmp-kjgxgx
error: SandboxViolation: open('./test-easy-install-34053.write-test', 'w') {}
The package setup script has attempted to modify files on your system
that are not within the EasyInstall build area, and has been aborted.
This package cannot be safely installed by EasyInstall, and may not
support alternate installation locations even if you run its setup
script by hand. Please inform the package's author and the EasyInstall
maintainers to find out if a fix or workaround is available.
from pyfits.
What does python -c 'import site; site._script()'
output?
from pyfits.
sys.path = [
'',
'/data/users/dkirkby/.local/lib/python2.7/site-packages/setuptools-1.4.1-py2.7.egg',
'/data/apps/python/2.7.2/lib/python2.7/site-packages/PyYAML-3.10-py2.7-linux-x86_64.egg',
'/data/apps/python/2.7.2/lib/python2.7/site-packages/pysam-0.6-py2.7-linux-x86_64.egg',
'/data/apps/python/2.7.2/lib/python2.7/site-packages/Cython-0.17-py2.7-linux-x86_64.egg',
'/data/apps/python/2.7.2/lib/python2.7/site-packages/screed-0.7-py2.7.egg',
'/data/apps/python/2.7.2/lib/python2.7/site-packages/khmer-0.4-py2.7-linux-x86_64.egg',
'/data/apps/python/2.7.2/lib/python2.7/site-packages/nose-1.3.0-py2.7.egg',
'/data/apps/python/2.7.2/lib/python2.7/site-packages/pyDNase-0.1.0-py2.7-linux-x86_64.egg',
'/data/apps/python/2.7.2/lib/python2.7/site-packages/clint-0.3.0p-py2.7.egg',
'/data/apps/python/2.7.2/lib/python2.7/site-packages/matplotlib-1.3.1-py2.7-linux-x86_64.egg',
'/data/apps/python/2.7.2/lib/python2.7/site-packages/pyparsing-2.0.1-py2.7.egg',
'/data/apps/python/2.7.2/lib/python2.7/site-packages/tornado-3.1.1-py2.7.egg',
'/data/apps/python/2.7.2/lib/python2.7/site-packages/python_dateutil-2.1-py2.7.egg',
'/data/apps/python/2.7.2/lib/python2.7/site-packages/six-1.4.1-py2.7.egg',
'/data/apps/python/2.7.2/lib/python2.7/site-packages/HTSeq-0.5.4p5-py2.7-linux-x86_64.egg',
'/data/apps/python/2.7.2/lib/python2.7/site-packages/setuptools-1.4.2-py2.7.egg',
'/data/apps/python/2.7.2',
'/data/apps/python/2.7.2/lib/python2.7',
'/data/users/dkirkby/local/lib/python2.7/site-packages',
'/data/apps/python/2.7.2/lib/python27.zip',
'/data/apps/python/2.7.2/lib/python2.7/plat-linux2',
'/data/apps/python/2.7.2/lib/python2.7/lib-tk',
'/data/apps/python/2.7.2/lib/python2.7/lib-old',
'/data/apps/python/2.7.2/lib/python2.7/lib-dynload',
'/data/users/dkirkby/.local/lib/python2.7/site-packages',
'/data/apps/python/2.7.2/lib/python2.7/site-packages',
]
USER_BASE: '/data/users/dkirkby/.local' (exists)
USER_SITE: '/data/users/dkirkby/.local/lib/python2.7/site-packages' (exists)
ENABLE_USER_SITE: True
from pyfits.
First running
python distribute_setup.py --user
in the pyfits-3.2.2 directory allowed the install to proceed for me.
from pyfits.
Related Issues (20)
- Cannot create Column with 'F' format HOT 5
- Mixed Multidimensional Arrays HOT 2
- problem changing random group parameter values HOT 17
- Can't open FITS generated by Maxim-DL HOT 2
- Writing radio interferometric data HOT 3
- pyfits tests fail with numpy 1.10 HOT 1
- pyfits-3.4 breaks pywcs HOT 3
- No code for getting number of extentions HOT 3
- Can't update data in a fits table HOT 4
- Memory leak in compressionmodule.c ? HOT 6
- pyfits tests fail with numpy 1.13 HOT 1
- deprecation of PyFITS - main documentation page HOT 5
- Archive this repository HOT 1
- pyfits install error maximum recursion depth exceeded HOT 3
- Incorrect number of HDU objects if 'SIMPLE' is missing HOT 4
- SyntaxError with Python 3 in pyfits.scripts.fitscheck
- NameError: global name 'sys' is not defined in pyfits/hdu/base.py HOT 7
- gzip (bintable) fits writing is broken HOT 1
- io.fits: strange behaviour of CompImageHDU.header.clear() HOT 2
- boolean mask issue with FITS_rec created using from_columns () HOT 6
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 pyfits.