Open hughjonesd opened 1 year ago
I have the exact same issue. Any hints are highly appreciated.
Judging from https://github.com/numpy/numpy/issues/24377 and https://github.com/numpy/numpy/issues/24330, it looks like it could be an issue with your version of Cython? There is mention made of using the "--no-build-isolation" flag with pip, so you could try installing Numpy directly using that and see if it helps?
On Mon, Nov 6, 2023 at 2:20 PM DiasPereira @.***> wrote:
I have the exact same issue. Any hints are highly appreciated.
— Reply to this email directly, view it on GitHub https://github.com/JonJala/pgi_correct/issues/3#issuecomment-1796108523, or unsubscribe https://github.com/notifications/unsubscribe-auth/APIOF52Q5REKMECAMWX6ERDYDEZ7JAVCNFSM6AAAAAA5JNI2FOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJWGEYDQNJSGM . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Hello,
I finally was able to complete the installation. The issue was that I could not install the version of the modules specified in the "requirements.txt". I installed them sequentially, and without the version specification when I encountered an error. I'm pasting my code below in case it is helpful for someone else.
module purge module load 2022 module spider python module load Python/3.10.4-GCCcore-11.3.0
python -h
python -m pip install --user virtualenv python -m virtualenv --help
virtualenv -p $(which python3) pgic_env source pgic_env/bin/activate
pip install attrs==20.1.0 pip install coverage==5.2.1 pip install importlib-metadata==1.7.0 pip install iniconfig==1.0.1 pip install more-itertools==8.5.0 pip install numpy
pip install packaging==20.4
pip install pandas
pip install patsy==0.5.1 pip install pluggy==0.13.1 pip install py==1.9.0 pip install pyparsing==2.4.7 pip install pytest==6.0.1 pip install pytest-cov==2.10.1
pip install python-dateutil
pip install pytz
pip install spicy pip install six==1.15.0
pip install statsmodels pip install toml==0.10.1 pip install wget==3.2 pip install zipp==3.1.0
git clone https://github.com/JonJala/pgi_correct.git cd pgi_correct
python ./pgic.py -h
I updated my requirements.txt and it seems to work for me. Submitted a pull request.
Hi,
Here's output from trying to install the requirements.txt file.
My python version is 3.11.5. numpy seems to install on its own successfully.
Platform: M2 Mac with Ventura 13.4.1.