
Hi all, I have a trouble in installing sfepy.
I am trying to install sfepy along with instructions in http://docs.sfepy.org/doc-devel/introduction.html#steps-to-get-a-working-sfe.... But I have a trouble at building npy-pkg.
Would you tell me the reasons and counter measures.
My computer environment OS: Windows7 64bit Python(x,y) version: 2.7.2 up to date sfepy getting from git
=================================== *** a trouble at ubuilding npy-pk ***
I tried in-place setup as below.
------------------ begin --------------------------------------------- copy D:\lng\msysgit\bin\sfepyX\pyparsing.py c:\lng\sfepy\*.* cd c:\lng\sfepy python setup.py build_ext --inplace --compiler=mingw32
snipped
building extension "sfepy.terms.extmods.terms" sources building data_files sources build_src: building npy-pkg config files No module named msvccompiler in numpy.distutils; trying from distutils customize MSVCCompiler customize MSVCCompiler using build_clib building 'sfepy_common' library compiling C sources error: Unable to find vcvarsall.bat ------------------ end -----------------------------------------------
The numpy.distutils is as below ------------------ begin ----------------------------------------- import numpy.distutils as md; np.source(md) In file: C:\Python27\lib\site-packages\numpy\distutils\__init__.py
import sys
if sys.version_info[0] < 3: from __version__ import version as __version__ # Must import local ccompiler ASAP in order to get # customized CCompiler.spawn effective. import ccompiler import unixccompiler
from info import __doc__
from npy_pkg_config import *
try:
import __config__
_INSTALLED = True
except ImportError:
_INSTALLED = False
else: from numpy.distutils.__version__ import version as __version__ # Must import local ccompiler ASAP in order to get # customized CCompiler.spawn effective. import numpy.distutils.ccompiler import numpy.distutils.unixccompiler
from numpy.distutils.info import __doc__
from numpy.distutils.npy_pkg_config import *
try:
import numpy.distutils.__config__
_INSTALLED = True
except ImportError:
_INSTALLED = False
if _INSTALLED: from numpy.testing import Tester test = Tester().test bench = Tester().bench ------------------ end -------------------------------------------
Thanks in advance.
lobosKobayashi