gpt4free icon indicating copy to clipboard operation
gpt4free copied to clipboard

No module named 'numpy.core._multiarray_umath'

Open xinmans opened this issue 1 year ago • 12 comments

Please note and check the following:

  • The Python version is: Python3.11 from "/usr/app/venv/bin/python"
  • The NumPy version is: "1.24.3"

and make sure that they are the versions you expect. Please carefully study the documentation linked above for further help.

Original error was: No module named 'numpy.core._multiarray_umath'

xinmans avatar May 04 '23 08:05 xinmans

me too

timewalk2012 avatar May 04 '23 09:05 timewalk2012

Yeah, I am getting this too. I tried to put the numpy library as part of the requirement but that didn't solve the issue, it is till returning the same message.

nevergiveup777 avatar May 04 '23 09:05 nevergiveup777

It looks like OP can't push changes to his repo for some reason???: https://github.com/xtekky/gpt4free/commits/main

nevergiveup777 avatar May 04 '23 09:05 nevergiveup777

me too,how to resolve this?

vual avatar May 04 '23 10:05 vual

how to resolve this?

Olsondy avatar May 04 '23 10:05 Olsondy

me too

RhymeXY avatar May 04 '23 10:05 RhymeXY

+1

seeatiger avatar May 04 '23 10:05 seeatiger

+1

EugeneKorneev avatar May 04 '23 10:05 EugeneKorneev

me too

braffour avatar May 04 '23 10:05 braffour

FROM python:3.11 as builder


WORKDIR /usr/app
ENV PATH="/usr/app/venv/bin:$PATH"


RUN apt-get update && apt-get install -y git
RUN mkdir -p /usr/app
RUN python -m venv ./venv

COPY requirements.txt .

RUN pip install -r requirements.txt
RUN pip install numpy && pip install setuptools

# RUN pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/
# RUN pip config set global.trusted-host mirrors.aliyun.com

# FROM python:3.11-alpine
FROM python:3.11

WORKDIR /usr/app
ENV PATH="/usr/app/venv/bin:$PATH"

COPY --from=builder /usr/app/venv ./venv
COPY . .

RUN cp ./gui/streamlit_app.py .

CMD ["streamlit", "run", "streamlit_app.py"]

EXPOSE 8501

frm #413

EugeneKorneev avatar May 04 '23 11:05 EugeneKorneev

I have done that as well and it doesn't work for me. I am still getting the same error.

nevergiveup777 avatar May 05 '23 08:05 nevergiveup777

Git pull latest code and use the To start gpt4free GUI chapter to startup that works for me.

RhymeXY avatar May 06 '23 03:05 RhymeXY