Distutils] *ugh* - failure to easy_install numpy. Tarek Ziadéziade. Sun Mar 1. 6 1. 8: 2. CET 2. 00. 8On Sun, Mar 1. PM, < skip at pobox. I have a new- ish Mac. Book Pro. When I installed it I used Apple's. Power. Book. That left me with lots of. Mach- O PPC shared object files. I've been sort of working my way through. Today I tried reinstalling numpy using easy_install (had been 1. Mach- O PPC format, should wind up with 1. Mach- O Intel format). Methods inherited from easy_install: add_output(self, path) build_and_install(self, setup_script, setup_base) byte_compile(self, to_compile) cant_write_to_target(self). Packaging (numpy.distutils)¶ NumPy provides enhanced distutils functionality to make it easier to build and install sub-packages, auto-generate code, and extension modules that use Fortran-compiled libraries. Stsci.distutils.hooks.numpy_extension_hook. This is a pre-command hook for the build_ext command. To use it, add a [build_ext] section to your setup.cfg, and add to it. Fixed an obscure issue that could occur when trying to install with easy_install on Python 2 systems that have lib2to3 installed but have never used it. 0.3.4 (2013-07-31). On Sun, Mar 16, 2008 at 5:38 PM, <skip at pobox.com> wrote: > > I have a new-ish MacBook Pro. When I installed it I used Apple's > migration > assitant to transfer content from my PowerBook. I. > this rather ugly output. It looks like numpy tries to add a DEFAULT section in the site. Setuptools, numpy.distutils.core, install_requires, and f2py extension. up vote 2 down vote favorite. I've been working on creating a python package that contains some fortran code which I'd like to incorporate using f2py in numpy. The goal is to upload it to PyPI so that users can install using pip. I've done some research and figured out that setuptools and numpy.distutils.core have the functionality I want (I think). Python 2. 6 Config. Parser (reserved. Value. Error, 'Invalid section name: %s' % section. So I'd say that numpy (I don't know this lib) is not compatible with 2. Users/skip/local/lib/python. Deprecation. Warning: the md. Searching for numpy. ![]() Reading http: //pypi. Reading http: //numeric. Reading. > http: //sourceforge. Reading http: //numpy. Best match: numpy 1. Downloading. > http: //downloads. Processing numpy- 1. Running numpy- 1. TPn. 6xq. 2Ra. Wqk+1. Ytw. 3- U+++TI/- Tmp- /easy_install- d. Lgdm. R/numpy- . > 1. X0k. 4SP. > Running from numpy source directory. TPn. 6xq. 2Ra. Wqk+1. Ytw. 3- U+++TI/- Tmp- /easy_install- d. Lgdm. R/numpy- . > 1. TPn. 6xq. 2Ra. Wqk+1. Ytw. 3- U+++TI/- Tmp- /easy_install- d. Lgdm. R/numpy- . > 1. Deprecation. Warning: os. Use the subprocess module. Traceback (most recent call last). File "/Users/skip/local/bin/easy_install", line 8, in < module>. File "/Users/skip/local/lib/python. File "/Users/skip/local/lib/python. File "/Users/skip/local/lib/python. File "/Users/skip/local/lib/python. File "/Users/skip/local/lib/python. File "/Users/skip/local/lib/python. File "/Users/skip/local/lib/python. File "/Users/skip/local/lib/python. File "/Users/skip/local/lib/python. File "/Users/skip/local/lib/python. File "/Users/skip/local/lib/python. File "/Users/skip/local/lib/python. File "setup. py", line 8. File "setup. py", line 8. TPn. 6xq. 2Ra. Wqk+1. Ytw. 3- U+++TI/- Tmp- /easy_install- d. Lgdm. R/numpy- . > 1. File "setup. py", line 4. TPn. 6xq. 2Ra. Wqk+1. Ytw. 3- U+++TI/- Tmp- /easy_install- d. Lgdm. R/numpy- . > 1. TPn. 6xq. 2Ra. Wqk+1. Ytw. 3- U+++TI/- Tmp- /easy_install- d. Lgdm. R/numpy- . > 1. TPn. 6xq. 2Ra. Wqk+1. Ytw. 3- U+++TI/- Tmp- /easy_install- d. Lgdm. R/numpy- . > 1. File "numpy/setup. TPn. 6xq. 2Ra. Wqk+1. Ytw. 3- U+++TI/- Tmp- /easy_install- d. Lgdm. R/numpy- . > 1. TPn. 6xq. 2Ra. Wqk+1. Ytw. 3- U+++TI/- Tmp- /easy_install- d. Lgdm. R/numpy- . > 1. TPn. 6xq. 2Ra. Wqk+1. Ytw. 3- U+++TI/- Tmp- /easy_install- d. Lgdm. R/numpy- . > 1. TPn. 6xq. 2Ra. Wqk+1. Ytw. 3- U+++TI/- Tmp- /easy_install- d. Lgdm. R/numpy- . > 1. TPn. 6xq. 2Ra. Wqk+1. Ytw. 3- U+++TI/- Tmp- /easy_install- d. Lgdm. R/numpy- . > 1. TPn. 6xq. 2Ra. Wqk+1. Ytw. 3- U+++TI/- Tmp- /easy_install- d. Lgdm. R/numpy- . > 1. File "/Users/skip/local/lib/python. Config. Parser. py", line 2. Value. Error, 'Invalid section name: %s' % section. Value. Error: Invalid section name: DEFAULT. Any idea what the problem might be? I'm using easy_install 0. Python 2. 6 (Subversion checkout). I don't know if 0. Thanks. > Skip Montanaro - skip at pobox. Eskip/>. > _______________________________________________. Distutils- SIG maillist - Distutils- SIG at python. Tarek Ziadé | Association Af. Py | www. afpy. org. Blog FR | http: //programmation- python. Blog EN | http: //tarekziade. An HTML attachment was scrubbed.. URL: http: //mail. More information about the Distutils- SIG.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2019
Categories |