Command '['C:\Users\mtpet\AppData\Local\pypoetry\Cache\virtualenvs\ultima-scraper-mNpUdkaP-py3.11\Scripts\python.exe', '-m', 'pip', 'uninstall', 'multidict', '-y']' returned non-zero exit status 1.
at C:\Program Files\Python311\Lib\subprocess.py:571 in run
567│ # We don't call process.wait() as .exit does that for us.
568│ raise
569│ retcode = process.poll()
570│ if check and retcode:
→ 571│ raise CalledProcessError(retcode, process.args,
572│ output=stdout, stderr=stderr)
573│ return CompletedProcess(process.args, retcode, stdout, stderr)
574│
575│
The following error occurred when trying to handle this error:
EnvCommandError
Command ['C:\Users\mtpet\AppData\Local\pypoetry\Cache\virtualenvs\ultima-scraper-mNpUdkaP-py3.11\Scripts\python.exe', '-m', 'pip', 'uninstall', 'multidict', '-y'] errored with the following return code 1
Output:
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "C:\Users\mtpet\AppData\Local\pypoetry\Cache\virtualenvs\ultima-scraper-mNpUdkaP-py3.11\Lib\site-packages\pip__main__.py", line 22, in
from pip._internal.cli.main import main as _main
File "C:\Users\mtpet\AppData\Local\pypoetry\Cache\virtualenvs\ultima-scraper-mNpUdkaP-py3.11\Lib\site-packages\pip_internal\cli\main.py", line 10, in
from pip._internal.cli.autocompletion import autocomplete
File "C:\Users\mtpet\AppData\Local\pypoetry\Cache\virtualenvs\ultima-scraper-mNpUdkaP-py3.11\Lib\site-packages\pip_internal\cli\autocompletion.py", line 10, in
from pip._internal.cli.main_parser import create_main_parser
File "C:\Users\mtpet\AppData\Local\pypoetry\Cache\virtualenvs\ultima-scraper-mNpUdkaP-py3.11\Lib\site-packages\pip_internal\cli\main_parser.py", line 10, in
from pip._internal.cli import cmdoptions
File "C:\Users\mtpet\AppData\Local\pypoetry\Cache\virtualenvs\ultima-scraper-mNpUdkaP-py3.11\Lib\site-packages\pip_internal\cli\cmdoptions.py", line 29, in
from pip._internal.models.target_python import TargetPython
ModuleNotFoundError: No module named 'pip._internal.models.target_python'
Then when I try to run poetry run python start_us.py, I get this:
C:\Users\mtpet\Downloads\UltimaScraper-main\UltimaScraper-main>poetry run python start_us.py Traceback (most recent call last): File "C:\Users\mtpet\Downloads\UltimaScraper-main\UltimaScraper-main\start_us.py", line 13, in <module> main_test.check_start_up() File "C:\Users\mtpet\Downloads\UltimaScraper-main\UltimaScraper-main\tests\main_test.py", line 21, in check_start_up from ultima_scraper_collection.managers.filesystem_manager import FilesystemManager ModuleNotFoundError: No module named 'ultima_scraper_collection'
I'm not sure if these two issues are connected, but after I install poetry, I run
python updater.py
, then I get this:`C:\Users\mtpet\Downloads\UltimaScraper-main\UltimaScraper-main>python updater.py Updating dependencies Resolving dependencies... (1.6s)
Package operations: 20 installs, 6 updates, 0 removals
• Updating multidict (6.0.4 -> 6.0.5): Failed
CalledProcessError
Command '['C:\Users\mtpet\AppData\Local\pypoetry\Cache\virtualenvs\ultima-scraper-mNpUdkaP-py3.11\Scripts\python.exe', '-m', 'pip', 'uninstall', 'multidict', '-y']' returned non-zero exit status 1.
at C:\Program Files\Python311\Lib\subprocess.py:571 in run 567│ # We don't call process.wait() as .exit does that for us. 568│ raise 569│ retcode = process.poll() 570│ if check and retcode: → 571│ raise CalledProcessError(retcode, process.args, 572│ output=stdout, stderr=stderr) 573│ return CompletedProcess(process.args, retcode, stdout, stderr) 574│ 575│
The following error occurred when trying to handle this error:
EnvCommandError
Command ['C:\Users\mtpet\AppData\Local\pypoetry\Cache\virtualenvs\ultima-scraper-mNpUdkaP-py3.11\Scripts\python.exe', '-m', 'pip', 'uninstall', 'multidict', '-y'] errored with the following return code 1
Output: Traceback (most recent call last): File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "C:\Users\mtpet\AppData\Local\pypoetry\Cache\virtualenvs\ultima-scraper-mNpUdkaP-py3.11\Lib\site-packages\pip__main__.py", line 22, in
from pip._internal.cli.main import main as _main
File "C:\Users\mtpet\AppData\Local\pypoetry\Cache\virtualenvs\ultima-scraper-mNpUdkaP-py3.11\Lib\site-packages\pip_internal\cli\main.py", line 10, in
from pip._internal.cli.autocompletion import autocomplete
File "C:\Users\mtpet\AppData\Local\pypoetry\Cache\virtualenvs\ultima-scraper-mNpUdkaP-py3.11\Lib\site-packages\pip_internal\cli\autocompletion.py", line 10, in
from pip._internal.cli.main_parser import create_main_parser
File "C:\Users\mtpet\AppData\Local\pypoetry\Cache\virtualenvs\ultima-scraper-mNpUdkaP-py3.11\Lib\site-packages\pip_internal\cli\main_parser.py", line 10, in
from pip._internal.cli import cmdoptions
File "C:\Users\mtpet\AppData\Local\pypoetry\Cache\virtualenvs\ultima-scraper-mNpUdkaP-py3.11\Lib\site-packages\pip_internal\cli\cmdoptions.py", line 29, in
from pip._internal.models.target_python import TargetPython
ModuleNotFoundError: No module named 'pip._internal.models.target_python'
at ~\AppData\Local\pipx\pipx\venvs\poetry\Lib\site-packages\poetry\utils\env\base_env.py:354 in _run 350│ output = subprocess.check_output( 351│ cmd, stderr=stderr, env=env, text=True, *kwargs 352│ ) 353│ except CalledProcessError as e: → 354│ raise EnvCommandError(e) 355│ 356│ return output 357│ 358│ def execute(self, bin: str, args: str, **kwargs: Any) -> int:
Cannot install multidict.
Script has been updated, exiting in 5 seconds`
Then when I try to run
poetry run python start_us.py
, I get this:C:\Users\mtpet\Downloads\UltimaScraper-main\UltimaScraper-main>poetry run python start_us.py Traceback (most recent call last): File "C:\Users\mtpet\Downloads\UltimaScraper-main\UltimaScraper-main\start_us.py", line 13, in <module> main_test.check_start_up() File "C:\Users\mtpet\Downloads\UltimaScraper-main\UltimaScraper-main\tests\main_test.py", line 21, in check_start_up from ultima_scraper_collection.managers.filesystem_manager import FilesystemManager ModuleNotFoundError: No module named 'ultima_scraper_collection'
Any help would be appreciated.