sabago / pysph

Automatically exported from code.google.com/p/pysph
0 stars 0 forks source link

problem setting up pysph on windows 7 #8

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run easy_install pysph in windows 7 command shell
or run pip.exe install pysph in windows 7 command shell

What is the expected output? What do you see instead?
expected: functional install of pysph

actual result (sorry for long text block):
Downloading/unpacking pysph

  Running setup.py egg_info for package pysph

    Forcing DISTUTILS_USE_SDK=1

    running egg_info
    writing pip-egg-info\PySPH.egg-info\PKG-INFO
    writing top-level names to pip-egg-info\PySPH.egg-info\top_level.txt
    writing dependency_links to pip-egg-info\PySPH.egg-info\dependency_links.txt
    writing entry points to pip-egg-info\PySPH.egg-info\entry_points.txt
    warning: manifest_maker: standard file '-c' not found

    reading manifest file 'pip-egg-info\PySPH.egg-info\SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    writing manifest file 'pip-egg-info\PySPH.egg-info\SOURCES.txt'
  Source in c:\users\chrisp~1\appdata\local\temp\pip-build\pysph has version 0.9beta, which satisfies requirement pysph
Installing collected packages: pysph

  Running setup.py install for pysph

    Running command C:\Python27\python.exe -c "import setuptools;__file__='c:\\users\\chrisp~1\\appdata\\local\\temp\\pip-build\\pysph\\setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record c:\users\chrisp~1\appdata\local\temp\pip-4iz5dr-record\install-record.txt --single-version-externally-managed
    Forcing DISTUTILS_USE_SDK=1

    not generating file source/pysph/base\carray.pxd from source/pysph/base\carray_pxd.src

    not generating file source/pysph/base\carray.pyx from source/pysph/base\carray_pyx.src

    running install
    running build
    running build_py
    running egg_info
    writing source\PySPH.egg-info\PKG-INFO
    writing top-level names to source\PySPH.egg-info\top_level.txt
    writing dependency_links to source\PySPH.egg-info\dependency_links.txt
    writing entry points to source\PySPH.egg-info\entry_points.txt
    warning: manifest_maker: standard file '-c' not found

    reading manifest file 'source\PySPH.egg-info\SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    writing manifest file 'source\PySPH.egg-info\SOURCES.txt'
    running build_ext
    skipping 'source/pysph/sph\sph_func.cpp' Cython extension (up-to-date)

    building 'pysph.sph.sph_func' extension

    C compiler: gcc -g -DDEBUG -DMS_WIN64 -O0 -Wall -Wstrict-prototypes

    compile options: '-IC:\Python27\lib\site-packages\numpy\core\include -IC:\Python27\lib\site-packages\mpi4py\include -IC:\Python27\lib\site-packages\mpi4py\include -IC:\Python27\lib\site-packages\mpi4py\include -IC:\Python27\include -IC:\Python27\PC -c'

    extra options: ''{' is not recognized as an internal or external command,

    operable program or batch file. '{' is not recognized as an internal or external command,

    operable program or batch file. '{' is not recognized as an internal or external command,

    operable program or batch file.'

    gcc -g -DDEBUG -DMS_WIN64 -O0 -Wall -Wstrict-prototypes -IC:\Python27\lib\site-packages\numpy\core\include -IC:\Python27\lib\site-packages\mpi4py\include -IC:\Python27\lib\site-packages\mpi4py\include -IC:\Python27\lib\site-packages\mpi4py\include -IC:\Python27\include -IC:\Python27\PC -c source/pysph/sph\sph_func.cpp -o build\temp.win-amd64-2.7\Release\source\pysph\sph\sph_func.o '{' is not recognized as an internal or external command,
    operable program or batch file. '{' is not recognized as an internal or external command,
    operable program or batch file. '{' is not recognized as an internal or external command,
    operable program or batch file.
    Found executable C:\Python27\Scripts\gcc.exe
    cc1plus.exe: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
    source/pysph/sph\sph_func.cpp: In function 'void __Pyx_RaiseNeedMoreValuesError(Py_ssize_t)':
    source/pysph/sph\sph_func.cpp:18521:41: warning: unknown conversion type character 'z' in format
    source/pysph/sph\sph_func.cpp:18521:41: warning: format '%s' expects type 'char*', but argument 3 has type 'Py_ssize_t'
    source/pysph/sph\sph_func.cpp:18521:41: warning: too many arguments for format
    source/pysph/sph\sph_func.cpp: In function 'void __Pyx_RaiseTooManyValuesError(Py_ssize_t)':
    source/pysph/sph\sph_func.cpp:18529:65: warning: unknown conversion type character 'z' in format
    source/pysph/sph\sph_func.cpp:18529:65: warning: too many arguments for format
    source/pysph/sph\sph_func.cpp: In function 'void __Pyx_RaiseArgtupleInvalid(const char*, int, Py_ssize_t, Py_ssize_t, Py_ssize_t)':
    source/pysph/sph\sph_func.cpp:18583:65: warning: unknown conversion type character 'z' in format
    source/pysph/sph\sph_func.cpp:18583:65: warning: format '%s' expects type 'char*', but argument 5 has type 'Py_ssize_t'
    source/pysph/sph\sph_func.cpp:18583:65: warning: unknown conversion type character 'z' in format
    source/pysph/sph\sph_func.cpp:18583:65: warning: too many arguments for format
    C:\Python27\lib\site-packages\numpy\core\include/numpy/__multiarray_api.h: At global scope:
    C:\Python27\lib\site-packages\numpy\core\include/numpy/__multiarray_api.h:1532:1: warning: 'int _import_array()' defined but not used
    C:\Python27\lib\site-packages\numpy\core\include/numpy/__ufunc_api.h:226:1: warning: 'int _import_umath()' defined but not used
    gcc.exe: '{': No such file or directory
    gcc.exe: is: No such file or directory
    gcc.exe: not: No such file or directory
    gcc.exe: recognized: No such file or directory
    gcc.exe: as: No such file or directory
    gcc.exe: an: No such file or directory
    gcc.exe: internal: No such file or directory
    gcc.exe: or: No such file or directory
    gcc.exe: external: No such file or directory
    gcc.exe: command,
    operable: Invalid argument
    gcc.exe: program: No such file or directory
    gcc.exe: or: No such file or directory
    gcc.exe: batch: No such file or directory
    gcc.exe: file.: No such file or directory
    gcc.exe: '{': No such file or directory
    gcc.exe: is: No such file or directory
    gcc.exe: not: No such file or directory
    gcc.exe: recognized: No such file or directory
    gcc.exe: as: No such file or directory
    gcc.exe: an: No such file or directory
    gcc.exe: internal: No such file or directory
    gcc.exe: or: No such file or directory
    gcc.exe: external: No such file or directory
    gcc.exe: command,
    operable: Invalid argument
    gcc.exe: program: No such file or directory
    gcc.exe: or: No such file or directory
    gcc.exe: batch: No such file or directory
    gcc.exe: file.: No such file or directory
    gcc.exe: '{': No such file or directory
    gcc.exe: is: No such file or directory
    gcc.exe: not: No such file or directory
    gcc.exe: recognized: No such file or directory
    gcc.exe: as: No such file or directory
    gcc.exe: an: No such file or directory
    gcc.exe: internal: No such file or directory
    gcc.exe: or: No such file or directory
    gcc.exe: external: No such file or directory
    gcc.exe: command,
    operable: Invalid argument
    gcc.exe: program: No such file or directory
    gcc.exe: or: No such file or directory
    gcc.exe: batch: No such file or directory
    gcc.exe: file.: No such file or directory
    error: Command "gcc -g -DDEBUG -DMS_WIN64 -O0 -Wall -Wstrict-prototypes -IC:\Python27\lib\site-packages\numpy\core\include -IC:\Python27\lib\site-packages\mpi4py\include -IC:\Python27\lib\site-packages\mpi4py\include -IC:\Python27\lib\site-packages\mpi4py\include -IC:\Python27\include -IC:\Python27\PC -c source/pysph/sph\sph_func.cpp -o build\temp.win-amd64-2.7\Release\source\pysph\sph\sph_func.o '{' is not recognized as an internal or external command,

    operable program or batch file. '{' is not recognized as an internal or external command,

    operable program or batch file. '{' is not recognized as an internal or external command,

    operable program or batch file." failed with exit status 1

    Complete output from command C:\Python27\python.exe -c "import setuptools;__file__='c:\\users\\chrisp~1\\appdata\\local\\temp\\pip-build\\pysph\\setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record c:\users\chrisp~1\appdata\local\temp\pip-4iz5dr-record\install-record.txt --single-version-externally-managed:

    Forcing DISTUTILS_USE_SDK=1

not generating file source/pysph/base\carray.pxd from 
source/pysph/base\carray_pxd.src

not generating file source/pysph/base\carray.pyx from 
source/pysph/base\carray_pyx.src

running install

running build

running build_py

running egg_info

writing source\PySPH.egg-info\PKG-INFO

writing top-level names to source\PySPH.egg-info\top_level.txt

writing dependency_links to source\PySPH.egg-info\dependency_links.txt

writing entry points to source\PySPH.egg-info\entry_points.txt

warning: manifest_maker: standard file '-c' not found

reading manifest file 'source\PySPH.egg-info\SOURCES.txt'

reading manifest template 'MANIFEST.in'

writing manifest file 'source\PySPH.egg-info\SOURCES.txt'

running build_ext

skipping 'source/pysph/sph\sph_func.cpp' Cython extension (up-to-date)

building 'pysph.sph.sph_func' extension

C compiler: gcc -g -DDEBUG -DMS_WIN64 -O0 -Wall -Wstrict-prototypes

compile options: '-IC:\Python27\lib\site-packages\numpy\core\include 
-IC:\Python27\lib\site-packages\mpi4py\include 
-IC:\Python27\lib\site-packages\mpi4py\include 
-IC:\Python27\lib\site-packages\mpi4py\include -IC:\Python27\include 
-IC:\Python27\PC -c'

extra options: ''{' is not recognized as an internal or external command,

operable program or batch file. '{' is not recognized as an internal or 
external command,

operable program or batch file. '{' is not recognized as an internal or 
external command,

operable program or batch file.'

gcc -g -DDEBUG -DMS_WIN64 -O0 -Wall -Wstrict-prototypes 
-IC:\Python27\lib\site-packages\numpy\core\include 
-IC:\Python27\lib\site-packages\mpi4py\include 
-IC:\Python27\lib\site-packages\mpi4py\include 
-IC:\Python27\lib\site-packages\mpi4py\include -IC:\Python27\include 
-IC:\Python27\PC -c source/pysph/sph\sph_func.cpp -o 
build\temp.win-amd64-2.7\Release\source\pysph\sph\sph_func.o '{' is not 
recognized as an internal or external command,

operable program or batch file. '{' is not recognized as an internal or 
external command,

operable program or batch file. '{' is not recognized as an internal or 
external command,

operable program or batch file.

Found executable C:\Python27\Scripts\gcc.exe

cc1plus.exe: warning: command line option "-Wstrict-prototypes" is valid for 
Ada/C/ObjC but not for C++

source/pysph/sph\sph_func.cpp: In function 'void 
__Pyx_RaiseNeedMoreValuesError(Py_ssize_t)':

source/pysph/sph\sph_func.cpp:18521:41: warning: unknown conversion type 
character 'z' in format

source/pysph/sph\sph_func.cpp:18521:41: warning: format '%s' expects type 
'char*', but argument 3 has type 'Py_ssize_t'

source/pysph/sph\sph_func.cpp:18521:41: warning: too many arguments for format

source/pysph/sph\sph_func.cpp: In function 'void 
__Pyx_RaiseTooManyValuesError(Py_ssize_t)':

source/pysph/sph\sph_func.cpp:18529:65: warning: unknown conversion type 
character 'z' in format

source/pysph/sph\sph_func.cpp:18529:65: warning: too many arguments for format

source/pysph/sph\sph_func.cpp: In function 'void 
__Pyx_RaiseArgtupleInvalid(const char*, int, Py_ssize_t, Py_ssize_t, 
Py_ssize_t)':

source/pysph/sph\sph_func.cpp:18583:65: warning: unknown conversion type 
character 'z' in format

source/pysph/sph\sph_func.cpp:18583:65: warning: format '%s' expects type 
'char*', but argument 5 has type 'Py_ssize_t'

source/pysph/sph\sph_func.cpp:18583:65: warning: unknown conversion type 
character 'z' in format

source/pysph/sph\sph_func.cpp:18583:65: warning: too many arguments for format

C:\Python27\lib\site-packages\numpy\core\include/numpy/__multiarray_api.h: At 
global scope:

C:\Python27\lib\site-packages\numpy\core\include/numpy/__multiarray_api.h:1532:1
: warning: 'int _import_array()' defined but not used

C:\Python27\lib\site-packages\numpy\core\include/numpy/__ufunc_api.h:226:1: 
warning: 'int _import_umath()' defined but not used

gcc.exe: '{': No such file or directory
gcc.exe: is: No such file or directory
gcc.exe: not: No such file or directory
gcc.exe: recognized: No such file or directory
gcc.exe: as: No such file or directory
gcc.exe: an: No such file or directory
gcc.exe: internal: No such file or directory
gcc.exe: or: No such file or directory
gcc.exe: external: No such file or directory
gcc.exe: command,
operable: Invalid argument
gcc.exe: program: No such file or directory
gcc.exe: or: No such file or directory
gcc.exe: batch: No such file or directory
gcc.exe: file.: No such file or directory
gcc.exe: '{': No such file or directory
gcc.exe: is: No such file or directory
gcc.exe: not: No such file or directory
gcc.exe: recognized: No such file or directory
gcc.exe: as: No such file or directory
gcc.exe: an: No such file or directory
gcc.exe: internal: No such file or directory
gcc.exe: or: No such file or directory
gcc.exe: external: No such file or directory
gcc.exe: command,
operable: Invalid argument
gcc.exe: program: No such file or directory
gcc.exe: or: No such file or directory
gcc.exe: batch: No such file or directory
gcc.exe: file.: No such file or directory
gcc.exe: '{': No such file or directory
gcc.exe: is: No such file or directory
gcc.exe: not: No such file or directory
gcc.exe: recognized: No such file or directory
gcc.exe: as: No such file or directory
gcc.exe: an: No such file or directory
gcc.exe: internal: No such file or directory
gcc.exe: or: No such file or directory
gcc.exe: external: No such file or directory
gcc.exe: command,
operable: Invalid argument
gcc.exe: program: No such file or directory
gcc.exe: or: No such file or directory
gcc.exe: batch: No such file or directory
gcc.exe: file.: No such file or directory

error: Command "gcc -g -DDEBUG -DMS_WIN64 -O0 -Wall -Wstrict-prototypes 
-IC:\Python27\lib\site-packages\numpy\core\include 
-IC:\Python27\lib\site-packages\mpi4py\include 
-IC:\Python27\lib\site-packages\mpi4py\include 
-IC:\Python27\lib\site-packages\mpi4py\include -IC:\Python27\include 
-IC:\Python27\PC -c source/pysph/sph\sph_func.cpp -o 
build\temp.win-amd64-2.7\Release\source\pysph\sph\sph_func.o '{' is not 
recognized as an internal or external command,

operable program or batch file. '{' is not recognized as an internal or 
external command,

operable program or batch file. '{' is not recognized as an internal or 
external command,

operable program or batch file." failed with exit status 1

----------------------------------------

Command C:\Python27\python.exe -c "import 
setuptools;__file__='c:\\users\\chrisp~1\\appdata\\local\\temp\\pip-build\\pysph
\\setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 
'exec'))" install --record 
c:\users\chrisp~1\appdata\local\temp\pip-4iz5dr-record\install-record.txt 
--single-version-externally-managed failed with error code 1 in 
c:\users\chrisp~1\appdata\local\temp\pip-build\pysph

Exception information:
Traceback (most recent call last):
  File "C:\Python27\lib\site-packages\pip\basecommand.py", line 107, in main
    status = self.run(options, args)
  File "C:\Python27\lib\site-packages\pip\commands\install.py", line 261, in run
    requirement_set.install(install_options, global_options)
  File "C:\Python27\lib\site-packages\pip\req.py", line 1166, in install
    requirement.install(install_options, global_options)
  File "C:\Python27\lib\site-packages\pip\req.py", line 589, in install
    cwd=self.source_dir, filter_stdout=self._filter_install, show_stdout=False)
  File "C:\Python27\lib\site-packages\pip\util.py", line 612, in call_subprocess
    % (command_desc, proc.returncode, cwd))
InstallationError: Command C:\Python27\python.exe -c "import 
setuptools;__file__='c:\\users\\chrisp~1\\appdata\\local\\temp\\pip-build\\pysph
\\setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 
'exec'))" install --record 
c:\users\chrisp~1\appdata\local\temp\pip-4iz5dr-record\install-record.txt 
--single-version-externally-managed failed with error code 1 in 
c:\users\chrisp~1\appdata\local\temp\pip-build\pysph

What version of the product are you using? On what operating system?
Current versions of easy_install and pip. OS is Windows 7, Enthought Python 2.7 
is up to date, and all required Python components are installed and working as 
far as I know.

Please provide any additional information below.

Original issue reported on code.google.com by cpa...@umn.edu on 30 Apr 2013 at 1:15