Advertisement
Guest User

Untitled

a guest
Feb 15th, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.95 KB | None | 0 0
  1. woodsw@MGE769:~/Work_Files/Splunk$ brew install python
  2. ==> Downloading https://homebrew.bintray.com/bottles/python-3.7.2_2.mojave.bottle.tar.gz
  3. Already downloaded: /Users/woodsw/Library/Caches/Homebrew/downloads/338ca0d0928fc75532a89eb8c9b4100c45f71dbbaa3a2ba127e6025b79a49c77--python-3.7.2_2.mojave.bottle.tar.gz
  4. ==> Pouring python-3.7.2_2.mojave.bottle.tar.gz
  5. ==> /usr/local/Cellar/python/3.7.2_2/bin/python3 -s setup.py --no-user-cfg install --force --verbose --install-scripts=/usr/local/Cellar/python/3.7.2_2/bin --install-lib=/usr/local/lib/python3.7/site-pac
  6. ==> /usr/local/Cellar/python/3.7.2_2/bin/python3 -s setup.py --no-user-cfg install --force --verbose --install-scripts=/usr/local/Cellar/python/3.7.2_2/bin --install-lib=/usr/local/lib/python3.7/site-pac
  7. ==> /usr/local/Cellar/python/3.7.2_2/bin/python3 -s setup.py --no-user-cfg install --force --verbose --install-scripts=/usr/local/Cellar/python/3.7.2_2/bin --install-lib=/usr/local/lib/python3.7/site-pac
  8. ==> Caveats
  9. Python has been installed as
  10. /usr/local/bin/python3
  11.  
  12. Unversioned symlinks `python`, `python-config`, `pip` etc. pointing to
  13. `python3`, `python3-config`, `pip3` etc., respectively, have been installed into
  14. /usr/local/opt/python/libexec/bin
  15.  
  16. If you need Homebrew's Python 2.7 run
  17. brew install python@2
  18.  
  19. You can install Python packages with
  20. pip3 install <package>
  21. They will install into the site-package directory
  22. /usr/local/lib/python3.7/site-packages
  23.  
  24. See: https://docs.brew.sh/Homebrew-and-Python
  25. ==> Summary
  26. 🍺 /usr/local/Cellar/python/3.7.2_2: 3,861 files, 59.7MB
  27.  
  28. woodsw@MGE769:~/Work_Files/Splunk$ pip3 list
  29. Exception:
  30. Traceback (most recent call last):
  31. File "/usr/local/lib/python3.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2584, in version
  32. return self._version
  33. File "/usr/local/lib/python3.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2691, in __getattr__
  34. raise AttributeError(attr)
  35. AttributeError: _version
  36.  
  37. During handling of the above exception, another exception occurred:
  38.  
  39. Traceback (most recent call last):
  40. File "/usr/local/lib/python3.7/site-packages/pip/_internal/cli/base_command.py", line 179, in main
  41. status = self.run(options, args)
  42. File "/usr/local/lib/python3.7/site-packages/pip/_internal/commands/list.py", line 148, in run
  43. self.output_package_listing(packages, options)
  44. File "/usr/local/lib/python3.7/site-packages/pip/_internal/commands/list.py", line 205, in output_package_listing
  45. data, header = format_for_columns(packages, options)
  46. File "/usr/local/lib/python3.7/site-packages/pip/_internal/commands/list.py", line 271, in format_for_columns
  47. row = [proj.project_name, proj.version]
  48. File "/usr/local/lib/python3.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2589, in version
  49. raise ValueError(tmpl % self.PKG_INFO, self)
  50. ValueError: ("Missing 'Version:' header and/or METADATA file", Unknown [unknown version] (/usr/local/lib/python3.7/site-packages))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement