gpt4free
gpt4free copied to clipboard
No module named 'numpy.core._multiarray_umath'
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'
me too
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.
It looks like OP can't push changes to his repo for some reason???: https://github.com/xtekky/gpt4free/commits/main
me too,how to resolve this?
how to resolve this?
me too
+1
+1
me too
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
I have done that as well and it doesn't work for me. I am still getting the same error.
Git pull latest code and use the To start gpt4free GUI
chapter to startup that works for me.