PokemonRedExperiments icon indicating copy to clipboard operation
PokemonRedExperiments copied to clipboard

Error installing dependecies (pip install -r requirements.txt)

Open MIKAH-PIKA opened this issue 2 years ago • 5 comments

Hello, Firstly thank you for reading and helping with my problem. I am trying to install dependencies (pip install -r requirements.txt) but keep bumping into the same errors - this being the first -

AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'? [end of output]

and then also -

Screenshot 2023-10-20 at 11 31 57

Can someone point me to the right direction? I am pretty new to this and cant seem to figure this out despite googling around.

Thank you again.

MIKAH-PIKA avatar Oct 20 '23 09:10 MIKAH-PIKA

Are you sure you using python=3.10?

wotori avatar Oct 20 '23 11:10 wotori

@wotori i tried that

MIKAH-PIKA avatar Oct 20 '23 12:10 MIKAH-PIKA

you can hack this dependency by changing the requirements.txt.

change

jaxlib==0.4.14 to

jaxlib==0.4.19

For the implimporter, there's a similar error reported on stackoverflow:

https://stackoverflow.com/questions/77253684/pkgutil-impimporter-not-found-installing-pyaudio-on-python-3-12.

  • use the command virtualenv --upgrade-embed-wheels
  • upgrade venv with pip install --upgrade virtualenv
  • Try creating a virtualenv with --reset-app-data param.

dukemagus avatar Oct 20 '23 14:10 dukemagus

@dukemagus it worked thank you

MIKAH-PIKA avatar Oct 21 '23 07:10 MIKAH-PIKA

@dukemagus can you open a pull request updating that in the requirements file?

Willardgmoore avatar Oct 30 '23 16:10 Willardgmoore