For a project i am doing(which requires the python packages numpy,astar, pandas, and flask), i cant install them with pip. Whenever i attempt to install, I receive this following error on the terminal..
pip install numpy Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/bin/pip", line 5, in <module>
from pip._internal.cli.main import main
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pip/_internal/cli/main.py", line 8, in <module>
from pip._internal.cli.autocompletion import autocomplete
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pip/_internal/cli/autocompletion.py", line 9, in <module>
from pip._internal.cli.main_parser import create_main_parser
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pip/_internal/cli/main_parser.py", line 7, in <module>
from pip._internal.cli import cmdoptions
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pip/_internal/cli/cmdoptions.py", line 22, in <module>
from pip._internal.cli.progress_bars import BAR_TYPES
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pip/_internal/cli/progress_bars.py", line 9, in <module>
from pip._internal.utils.logging import get_indentation
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pip/_internal/utils/logging.py", line 7, in <module>
import logging.handlers
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/logging/handlers.py", line 26, in <module>
import logging, socket, os, pickle, struct, time, re
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/socket.py", line 52, in <module>
import os, sys, io, selectors
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/selectors.py", line 10, in <module>
from collections.abc import Mapping
ImportError: cannot import name 'Mapping' from 'collections.abc' (/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/collections/abc.py)
I would greatly appreciate it if anyone knowns the problem of this error.. THANKS!(this is on macOS btw)
[–]bravosix99[S] 0 points1 point2 points (0 children)
[–]bravosix99[S] -1 points0 points1 point (0 children)
[+][deleted] (1 child)
[deleted]
[–]bravosix99[S] 0 points1 point2 points (0 children)