I get this error when I try to install any package: An error occurred during configuration: option use-feature: invalid choice: ‘content-addressable-pool’ (choose from ‘fast-deps’, ‘truststore’, ‘no-binary-enable-wheel-cache’)
hmmm… the repl you linked has that path, so try this:
Show hidden files. Then open .config/pip/pip.conf. Delete the last 3-4 lines.
If there is no .config folder and no venv folder, and there is (possibly) a .pythonlibs folder, then try opening your replit.nix file and making the deps list empty.
Alternatively, you can create a new repl and copy in all of your code. (Downloading as zip and then uploading is good for many files.) The new templates are better and run more recent versions of python.
Its a hidden file, you need to show hidden files. The .config folder isn’t in the newer python templates, but the newer python templates don’t have pip errors usually.
The repl you linked is an older template and does have the file.
Try some things:
Type ./.config in shell, it will tell you if the directory exists.
If it doesn’t exist, try using pip config unset <...> command. And also try upgrading pip (pip install --upgrade --user pip I think).
But if it does exist, there should be a pip.conf file you can edit.
If nothing works, the easiest thing to do is to copy all of your code into a new python repl.
I checked the repl the OP linked, which does have the config file that had the problem, and it looks like the error should no longer be occurring (looking at the changed contents of the file). So I guess the OP found the file and fixed it probably.