taokz / BiomedGPT

BiomedGPT: A Unified and Generalist Biomedical Generative Pre-trained Transformer for Vision, Language, and Multimodal Tasks
Apache License 2.0
364 stars 34 forks source link

GCC Failure during Conda Installation #22

Closed sreelakshminarayanan closed 3 months ago

sreelakshminarayanan commented 3 months ago

Am sorry for asking this question.

Getting error while executing the command "conda env create -f biomedgpt.yml" in the first step itself

Any assistance would be appreciated.

gcc -pthread -B /home/ubuntu/anaconda3/envs/biomedgpt/compilercompat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/tmp/pip-build-env-f0lkjt5/overlay/lib/python3.7/site-packages/numpy/core/include -I./common -I/home/ubuntu/anaconda3/envs/biomedgpt/include/python3.7m -c ../common/maskApi.c -o build/temp.linux-x86_64-cpython-37/../common/maskApi.o -Wno-cpp -Wno-unused-function -std=c99 cc1: fatal error: ../common/maskApi.c: No such file or directory

taokz commented 3 months ago

Hi @sreelakshminarayanan

I recommend setting up the environment by using the command pip install -r requirements.txt. The necessary requirements file is included in this repository. Should you have any questions or encounter issues, please do not hesitate to contact me.

sreelakshminarayanan commented 3 months ago

Thanks @taokz .. Appreciate your response