Advertisement
Guest User

Untitled

a guest
Feb 11th, 2013
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.96 KB | None | 0 0
  1. pip install mayavi
  2.  
  3. Downloading/unpacking mayavi
  4. Running setup.py egg_info for package mayavi
  5. build_src
  6. building extension "tvtk.array_ext" sources
  7. building data_files sources
  8. build_src: building npy-pkg config files
  9.  
  10. no previously-included directories found matching 'artwork'
  11. no previously-included directories found matching 'docs/pdf'
  12. Requirement already satisfied (use --upgrade to upgrade): apptools in /Library/Python/2.7/site-packages (from mayavi)
  13. Requirement already satisfied (use --upgrade to upgrade): traits in /Library/Python/2.7/site-packages (from mayavi)
  14. Requirement already satisfied (use --upgrade to upgrade): traitsui in /Library/Python/2.7/site-packages (from mayavi)
  15. Requirement already satisfied (use --upgrade to upgrade): configobj in /Library/Python/2.7/site-packages (from apptools->mayavi)
  16. Requirement already satisfied (use --upgrade to upgrade): pyface in /Library/Python/2.7/site-packages (from traitsui->mayavi)
  17. Installing collected packages: mayavi
  18. Running setup.py install for mayavi
  19. Traceback (most recent call last):
  20. File "<string>", line 1, in <module>
  21. File "/Users/Yasser/build/mayavi/setup.py", line 498, in <module>
  22. **config
  23. File "/Library/Python/2.7/site-packages/numpy-1.6.1-py2.7-macosx-10.7-intel.egg/numpy/distutils/core.py", line 186, in setup
  24. return old_setup(**new_attr)
  25. File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 152, in setup
  26. dist.run_commands()
  27. File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 953, in run_commands
  28. self.run_command(cmd)
  29. File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
  30. cmd_obj.run()
  31. File "/Library/Python/2.7/site-packages/numpy-1.6.1-py2.7-macosx-10.7-intel.egg/numpy/distutils/command/install.py", line 57, in run
  32. r = self.setuptools_run()
  33. File "/Library/Python/2.7/site-packages/numpy-1.6.1-py2.7-macosx-10.7-intel.egg/numpy/distutils/command/install.py", line 31, in setuptools_run
  34. return old_install_mod._install.run(self)
  35. File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/command/install.py", line 573, in run
  36. self.run_command('build')
  37. File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/cmd.py", line 326, in run_command
  38. self.distribution.run_command(command)
  39. File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
  40. cmd_obj.run()
  41. File "/Users/Yasser/build/mayavi/setup.py", line 303, in run
  42. build_tvtk_classes_zip()
  43. File "/Users/Yasser/build/mayavi/setup.py", line 290, in build_tvtk_classes_zip
  44. gen_tvtk_classes_zip()
  45. File "tvtk/setup.py", line 46, in gen_tvtk_classes_zip
  46. from code_gen import TVTKGenerator
  47. File "tvtk/code_gen.py", line 10, in <module>
  48. import vtk
  49. ImportError: No module named vtk
  50. Complete output from command /usr/bin/python -c "import setuptools;__file__='/Users/Yasser/build/mayavi/setup.py';exec(compile(open(__file__).read().replace('rn', 'n'), __file__, 'exec'))" install --single-version-externally-managed --record /var/folders/53/_trhc_0x0fb6kvx6bw_wrk500000gn/T/pip-Z4hpsW-record/install-record.txt:
  51. running install
  52.  
  53. running build
  54.  
  55. Traceback (most recent call last):
  56.  
  57. File "<string>", line 1, in <module>
  58.  
  59. File "/Users/Yasser/build/mayavi/setup.py", line 498, in <module>
  60.  
  61. **config
  62.  
  63. File "/Library/Python/2.7/site-packages/numpy-1.6.1-py2.7-macosx-10.7-intel.egg/numpy/distutils/core.py", line 186, in setup
  64.  
  65. return old_setup(**new_attr)
  66.  
  67. File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 152, in setup
  68.  
  69. dist.run_commands()
  70.  
  71. File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 953, in run_commands
  72.  
  73. self.run_command(cmd)
  74.  
  75. File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
  76.  
  77. cmd_obj.run()
  78.  
  79. File "/Library/Python/2.7/site-packages/numpy-1.6.1-py2.7-macosx-10.7-intel.egg/numpy/distutils/command/install.py", line 57, in run
  80.  
  81. r = self.setuptools_run()
  82.  
  83. File "/Library/Python/2.7/site-packages/numpy-1.6.1-py2.7-macosx-10.7-intel.egg/numpy/distutils/command/install.py", line 31, in setuptools_run
  84.  
  85. return old_install_mod._install.run(self)
  86.  
  87. File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/command/install.py", line 573, in run
  88.  
  89. self.run_command('build')
  90.  
  91. File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/cmd.py", line 326, in run_command
  92.  
  93. self.distribution.run_command(command)
  94.  
  95. File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
  96.  
  97. cmd_obj.run()
  98.  
  99. File "/Users/Yasser/build/mayavi/setup.py", line 303, in run
  100.  
  101. build_tvtk_classes_zip()
  102.  
  103. File "/Users/Yasser/build/mayavi/setup.py", line 290, in build_tvtk_classes_zip
  104.  
  105. gen_tvtk_classes_zip()
  106.  
  107. File "tvtk/setup.py", line 46, in gen_tvtk_classes_zip
  108.  
  109. from code_gen import TVTKGenerator
  110.  
  111. File "tvtk/code_gen.py", line 10, in <module>
  112.  
  113. import vtk
  114.  
  115. ImportError: No module named vtk
  116.  
  117. ----------------------------------------
  118. Command /usr/bin/python -c "import setuptools;__file__='/Users/Yasser/build/mayavi/setup.py';exec(compile(open(__file__).read().replace('rn', 'n'), __file__, 'exec'))" install --single-version-externally-managed --record /var/folders/53/_trhc_0x0fb6kvx6bw_wrk500000gn/T/pip-Z4hpsW-record/install-record.txt failed with error code 1 in /Users/Yasser/build/mayavi
  119. Storing complete log in /Users/Yasser/Library/Logs/pip.log
  120. Traceback (most recent call last):
  121. File "/usr/local/bin/pip", line 8, in <module>
  122. load_entry_point('pip==1.1', 'console_scripts', 'pip')()
  123. File "/Library/Python/2.7/site-packages/pip-1.1-py2.7.egg/pip/__init__.py", line 116, in main
  124. return command.main(args[1:], options)
  125. File "/Library/Python/2.7/site-packages/pip-1.1-py2.7.egg/pip/basecommand.py", line 141, in main
  126. log_fp = open_logfile(log_fn, 'w')
  127. File "/Library/Python/2.7/site-packages/pip-1.1-py2.7.egg/pip/basecommand.py", line 168, in open_logfile
  128. log_fp = open(filename, mode)
  129. IOError: [Errno 13] Permission denied: '/Users/Yasser/Library/Logs/pip.log'
  130.  
  131. › which python
  132. /usr/local/bin/python
  133.  
  134. › python
  135. Python 2.7.2 (default, Feb 17 2012, 13:57:55)
  136. [GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on darwin
  137. Type "help", "copyright", "credits" or "license" for more information.
  138. >>> import vtk
  139. >>> vtk
  140. <module 'vtk' from '/usr/local/Cellar/python/2.7.2/lib/python2.7/site-packages/VTK-5.10.0-py2.7.egg/vtk/__init__.pyc'>
  141. >>>
  142.  
  143. $ head -n1 $(which pip)
  144.  
  145. curl https://raw.github.com/pypa/pip/master/contrib/get-pip.py | /usr/local/bin/python
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement