Advertisement
thunderboltsid

module error

Dec 5th, 2016
528
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 5.33 KB | None | 0 0
  1. python2.7 tools/run_tests/run_tests.py -l=python --compiler=python2.7 --newline_on_success
  2. pyenv-implicit: found multiple python2.7 in pyenv. Use version 2.7-dev.
  3.  
  4. ++ dirname /Users/siddharthshukla/grpc/tools/run_tests/build_python.sh
  5. + cd /Users/siddharthshukla/grpc/tools/run_tests/../..
  6. ++ uname -s
  7. + PLATFORM=Darwin
  8. + PYTHON=python2.7
  9. + VENV=py27
  10. + VENV_RELATIVE_PYTHON=bin/python
  11. + TOOLCHAIN=unix
  12. ++ pwd
  13. + ROOT=/Users/siddharthshukla/grpc
  14. + export 'CFLAGS=-I/Users/siddharthshukla/grpc/include -std=gnu99 -fno-wrapv '
  15. + CFLAGS='-I/Users/siddharthshukla/grpc/include -std=gnu99 -fno-wrapv '
  16. + export GRPC_PYTHON_BUILD_WITH_CYTHON=1
  17. + GRPC_PYTHON_BUILD_WITH_CYTHON=1
  18. + export LANG=en_US.UTF-8
  19. + LANG=en_US.UTF-8
  20. + HOST_PYTHON=python
  21. ++ is_linux
  22. ++ '[' Darwin '!=' Darwin ']'
  23. ++ exit 1
  24. + '[' ']'
  25. ++ is_mingw
  26. ++ '[' Darwin '!=' Darwin ']'
  27. ++ exit 1
  28. + '[' ']'
  29. + python2.7 -m virtualenv py27
  30. New python executable in /Users/siddharthshukla/grpc/py27/bin/python2.7
  31. Not overwriting existing python script /Users/siddharthshukla/grpc/py27/bin/python (you must use /Users/siddharthshukla/grpc/py27/bin/python2.7)
  32. Installing setuptools, pip, wheel...done.
  33. ++ script_realpath -s py27/bin/python
  34. +++ command -v realpath
  35. ++ '[' -x /usr/local/bin/realpath ']'
  36. ++ realpath -s py27/bin/python
  37. + VENV_PYTHON=/Users/siddharthshukla/grpc/py27/bin/python
  38. + /Users/siddharthshukla/grpc/py27/bin/python -m pip install --upgrade pip
  39. Requirement already up-to-date: pip in ./py27/lib/python2.7/site-packages
  40. + /Users/siddharthshukla/grpc/py27/bin/python -m pip install setuptools==25.1.1
  41. Collecting setuptools==25.1.1
  42.   Using cached setuptools-25.1.1-py2.py3-none-any.whl
  43. Installing collected packages: setuptools
  44.   Found existing installation: setuptools 30.2.0
  45.     Uninstalling setuptools-30.2.0:
  46.       Successfully uninstalled setuptools-30.2.0
  47. Successfully installed setuptools-30.0.0
  48. + /Users/siddharthshukla/grpc/py27/bin/python -m pip install cython
  49. Requirement already satisfied: cython in ./py27/lib/python2.7/site-packages
  50. + pip_install_dir /Users/siddharthshukla/grpc
  51. ++ pwd
  52. + PWD=/Users/siddharthshukla/grpc
  53. + cd /Users/siddharthshukla/grpc
  54. + /Users/siddharthshukla/grpc/py27/bin/python setup.py build_ext -c unix
  55. running build_ext
  56. copying python_build/lib.macosx-10.11-x86_64-2.7/grpc/_cython/cygrpc.so -> src/python/grpcio/grpc/_cython
  57. + /Users/siddharthshukla/grpc/py27/bin/python -m pip install --upgrade .
  58. Processing /Users/siddharthshukla/grpc
  59. Requirement already up-to-date: six>=1.5.2 in ./py27/lib/python2.7/site-packages (from grpcio==1.0.1)
  60. Requirement already up-to-date: enum34>=1.0.4 in ./py27/lib/python2.7/site-packages (from grpcio==1.0.1)
  61. Requirement already up-to-date: protobuf>=3.0.0 in ./py27/lib/python2.7/site-packages (from grpcio==1.0.1)
  62. Requirement already up-to-date: futures>=2.2.0 in ./py27/lib/python2.7/site-packages (from grpcio==1.0.1)
  63. Collecting setuptools (from protobuf>=3.0.0->grpcio==1.0.1)
  64.   Using cached setuptools-30.2.0-py2.py3-none-any.whl
  65. Installing collected packages: grpcio, setuptools
  66.   Found existing installation: grpcio 1.0.1
  67.     Uninstalling grpcio-1.0.1:
  68.       Successfully uninstalled grpcio-1.0.1
  69.   Running setup.py install for grpcio: started
  70.     Running setup.py install for grpcio: finished with status 'done'
  71.   Found existing installation: setuptools 30.0.0
  72.     Uninstalling setuptools-30.0.0:
  73.       Successfully uninstalled setuptools-30.0.0
  74.   Rolling back uninstall of setuptools
  75. Exception:
  76. Traceback (most recent call last):
  77.   File "/Users/siddharthshukla/grpc/py27/lib/python2.7/site-packages/pip/basecommand.py", line 215, in main
  78.     status = self.run(options, args)
  79.   File "/Users/siddharthshukla/grpc/py27/lib/python2.7/site-packages/pip/commands/install.py", line 342, in run
  80.     prefix=options.prefix_path,
  81.   File "/Users/siddharthshukla/grpc/py27/lib/python2.7/site-packages/pip/req/req_set.py", line 784, in install
  82.     **kwargs
  83.   File "/Users/siddharthshukla/grpc/py27/lib/python2.7/site-packages/pip/req/req_install.py", line 851, in install
  84.     self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
  85.   File "/Users/siddharthshukla/grpc/py27/lib/python2.7/site-packages/pip/req/req_install.py", line 1064, in move_wheel_files
  86.     isolated=self.isolated,
  87.   File "/Users/siddharthshukla/grpc/py27/lib/python2.7/site-packages/pip/wheel.py", line 247, in move_wheel_files
  88.     prefix=prefix,
  89.   File "/Users/siddharthshukla/grpc/py27/lib/python2.7/site-packages/pip/locations.py", line 142, in distutils_scheme
  90.     i = d.get_command_obj('install', create=True)
  91.   File "/Users/siddharthshukla/.pyenv/versions/2.7-dev/lib/python2.7/distutils/dist.py", line 845, in get_command_obj
  92.     klass = self.get_command_class(command)
  93.   File "/Users/siddharthshukla/grpc/py27/lib/python2.7/site-packages/setuptools/dist.py", line 511, in get_command_class
  94.     self.cmdclass[command] = cmdclass = ep.load()
  95.   File "/Users/siddharthshukla/grpc/py27/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2235, in load
  96.     return self.resolve()
  97.   File "/Users/siddharthshukla/grpc/py27/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2241, in resolve
  98.     module = __import__(self.module_name, fromlist=['__name__'], level=0)
  99. ImportError: No module named command.install
  100. FAILED: /Users/siddharthshukla/grpc/tools/run_tests/build_python.sh [ret=2, pid=512]
  101. FAILED: Some tests failed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement