Ro6ertWcislo / AutoESN

MIT License
14 stars 3 forks source link

Not possible to install the package in colab #20

Open Vasilis-Misirlis opened 9 months ago

Vasilis-Misirlis commented 9 months ago

hello there,

I want to try different topologies for multi ESN networks in order to check their performance in chaotic financial timeseries prediction. I am trying to install the package in COLAB and the procedure stacks after these commands :

! pip install auto-esn

gives this log :

! pip install auto-esn:

Collecting auto-esn Downloading auto_esn-0.0.7-py3-none-any.whl.metadata (13 kB) Collecting numpy==1.20.2 (from auto-esn) Downloading numpy-1.20.2.zip (7.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.8/7.8 MB 37.7 MB/s eta 0:00:00 Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting pandas==1.2.4 (from auto-esn) Downloading pandas-1.2.4.tar.gz (5.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.5/5.5 MB 82.0 MB/s eta 0:00:00 Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting matplotlib==3.4.2 (from auto-esn) Using cached matplotlib-3.4.2-cp310-cp310-linux_x86_64.whl Collecting networkx==2.5.1 (from auto-esn) Downloading networkx-2.5.1-py3-none-any.whl (1.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.6/1.6 MB 40.4 MB/s eta 0:00:00 Requirement already satisfied: cycler>=0.10 in /usr/local/lib/python3.10/dist-packages (from matplotlib==3.4.2->auto-esn) (0.12.1) Requirement already satisfied: kiwisolver>=1.0.1 in /usr/local/lib/python3.10/dist-packages (from matplotlib==3.4.2->auto-esn) (1.4.5) Requirement already satisfied: pillow>=6.2.0 in /usr/local/lib/python3.10/dist-packages (from matplotlib==3.4.2->auto-esn) (9.4.0) Requirement already satisfied: pyparsing>=2.2.1 in /usr/local/lib/python3.10/dist-packages (from matplotlib==3.4.2->auto-esn) (3.1.1) Requirement already satisfied: python-dateutil>=2.7 in /usr/local/lib/python3.10/dist-packages (from matplotlib==3.4.2->auto-esn) (2.8.2) Requirement already satisfied: decorator<5,>=4.3 in /usr/local/lib/python3.10/dist-packages (from networkx==2.5.1->auto-esn) (4.4.2) Requirement already satisfied: pytz>=2017.3 in /usr/local/lib/python3.10/dist-packages (from pandas==1.2.4->auto-esn) (2023.4) Requirement already satisfied: six>=1.5 in /usr/local/lib/python3.10/dist-packages (from python-dateutil>=2.7->matplotlib==3.4.2->auto-esn) (1.16.0) Downloading auto_esn-0.0.7-py3-none-any.whl (295 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 295.1/295.1 kB 20.0 MB/s eta 0:00:00 Building wheels for collected packages: numpy, pandas error: subprocess-exited-with-error

× Building wheel for numpy (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip. Building wheel for numpy (pyproject.toml) ... error ERROR: Failed building wheel for numpy Building wheel for pandas (pyproject.toml) ... done Created wheel for pandas: filename=pandas-1.2.4-cp310-cp310-linux_x86_64.whl size=34333165 sha256=1962f5c5fe72bf1033ca3211981444462584ef91c643e8b9d47de06c25271783 Stored in directory: /root/.cache/pip/wheels/1b/10/28/2a37b26cf3e4dc59d82430e3812f8571518d2c1d81c288af98 Successfully built pandas Failed to build numpy ERROR: Could not build wheels for numpy, which is required to install pyproject.toml-based projects.

Do anyone knows how to overcome this problem ?