Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
MIKAH-PIKA opened this issue Oct 20, 2023 · 5 comments
Open

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

MIKAH-PIKA opened this issue Oct 20, 2023 · 5 comments

Comments

@MIKAH-PIKA
Copy link

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.

@wotori
Copy link

wotori commented Oct 20, 2023

Are you sure you using python=3.10?

@MIKAH-PIKA
Copy link
Author

MIKAH-PIKA commented Oct 20, 2023

@wotori i tried that

@dukemagus
Copy link

dukemagus commented Oct 20, 2023

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.

@MIKAH-PIKA
Copy link
Author

MIKAH-PIKA commented Oct 21, 2023

@dukemagus it worked thank you

@Willardgmoore
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants