Is pip installing boto3 with python 2.7?

Viewed 24

I'm trying to install boto3, awscli, tweepy, and datetime dependencies. I noticed that the file says Python/2.7 which is the base version on my computer, but I have also installed Python 3.10 (and set it as the interpreter in VSCode). Each dependency outputs a similar response, but all at the end say "ImportError: No module named caches".

Traceback (most recent call last):
  File "/usr/local/bin/pip", line 11, in <module>
    load_entry_point('pip==20.0.2', 'console_scripts', 'pip')()
  File "/Users/seanblatter/Library/Python/2.7/lib/python/site-packages/pip/_internal/cli/main.py", line 73, in main
    command = create_command(cmd_name, isolated=("--isolated" in cmd_args))
  File "/Users/seanblatter/Library/Python/2.7/lib/python/site-packages/pip/_internal/commands/__init__.py", line 96, in create_command
    module = importlib.import_module(module_path)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/Users/seanblatter/Library/Python/2.7/lib/python/site-packages/pip/_internal/commands/install.py", line 24, in <module>
    from pip._internal.cli.req_command import RequirementCommand
  File "/Users/seanblatter/Library/Python/2.7/lib/python/site-packages/pip/_internal/cli/req_command.py", line 18, in <module>
    from pip._internal.network.download import Downloader
  File "/Users/seanblatter/Library/Python/2.7/lib/python/site-packages/pip/_internal/network/download.py", line 12, in <module>
    from pip._internal.network.cache import is_from_cache
  File "/Users/seanblatter/Library/Python/2.7/lib/python/site-packages/pip/_internal/network/cache.py", line 11, in <module>
    from pip._vendor.cachecontrol.caches import FileCache
ImportError: No module named caches
0 Answers
Related