Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- woodsw@MGE769:~/Work_Files/Splunk$ brew install python
- ==> Downloading https://homebrew.bintray.com/bottles/python-3.7.2_2.mojave.bottle.tar.gz
- Already downloaded: /Users/woodsw/Library/Caches/Homebrew/downloads/338ca0d0928fc75532a89eb8c9b4100c45f71dbbaa3a2ba127e6025b79a49c77--python-3.7.2_2.mojave.bottle.tar.gz
- ==> Pouring python-3.7.2_2.mojave.bottle.tar.gz
- ==> /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
- ==> /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
- ==> /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
- ==> Caveats
- Python has been installed as
- /usr/local/bin/python3
- Unversioned symlinks `python`, `python-config`, `pip` etc. pointing to
- `python3`, `python3-config`, `pip3` etc., respectively, have been installed into
- /usr/local/opt/python/libexec/bin
- If you need Homebrew's Python 2.7 run
- brew install python@2
- You can install Python packages with
- pip3 install <package>
- They will install into the site-package directory
- /usr/local/lib/python3.7/site-packages
- See: https://docs.brew.sh/Homebrew-and-Python
- ==> Summary
- 🍺 /usr/local/Cellar/python/3.7.2_2: 3,861 files, 59.7MB
- woodsw@MGE769:~/Work_Files/Splunk$ pip3 list
- Exception:
- Traceback (most recent call last):
- File "/usr/local/lib/python3.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2584, in version
- return self._version
- File "/usr/local/lib/python3.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2691, in __getattr__
- raise AttributeError(attr)
- AttributeError: _version
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/usr/local/lib/python3.7/site-packages/pip/_internal/cli/base_command.py", line 179, in main
- status = self.run(options, args)
- File "/usr/local/lib/python3.7/site-packages/pip/_internal/commands/list.py", line 148, in run
- self.output_package_listing(packages, options)
- File "/usr/local/lib/python3.7/site-packages/pip/_internal/commands/list.py", line 205, in output_package_listing
- data, header = format_for_columns(packages, options)
- File "/usr/local/lib/python3.7/site-packages/pip/_internal/commands/list.py", line 271, in format_for_columns
- row = [proj.project_name, proj.version]
- File "/usr/local/lib/python3.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2589, in version
- raise ValueError(tmpl % self.PKG_INFO, self)
- 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