AI4Finance-Foundation / AI4Finance-Foundation/FinRobot

Can't install any version of finrobot but 0.0.1

Aperta
#20 1 commento 0 reazioni 1 assegnatario Rivendicata da @BruceYanghy Vedi su GitHub
bug
Lingua principale
Jupyter Notebook
Stelle
8k
Fork
1.4k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Hello,

I am experiencing difficulties installing any version of the finrobot library beyond the initial release (0.0.1). Despite trying different Python versions and environments (both venv and conda), the issue persists. Additionally, while I can successfully import finrobot.utils from the command line, I encounter import errors when attempting to do so in a Jupyter Notebook.

Steps to Reproduce:
Create a new virtual environment using either venv or conda.
Attempt to install a version of finrobot beyond 0.0.1 using:

```
bash
pip install finrobot==0.1.4
```

ERROR: Package 'finrobot' requires a different Python: 3.12.4 not in '<3.12,>=3.10'
Even though I tried with version 3.11

Open a Jupyter Notebook and try to import finrobot.utils:

```
python
from finrobot.utils import blablabla
```

ERROR: cannot import finrobot

Expected Behavior:

The installation of finrobot versions beyond 0.0.1 should succeed.
The finrobot.utils module should be importable in a Jupyter Notebook without errors.

Actual Behavior:

Installation of finrobot versions beyond 0.0.1 fails.
Importing finrobot.utils in a Jupyter Notebook results in an error, although it works from the command line.

Environment:

Operating System: Windows 11
Python Versions Tried: 11.9, 12.4
Jupyter Notebook Version: Latest
finrobot Versions Tried: 0.1.4, installed via pip install finrobot, pip install finrobot==0.1.4, and directly from the .tar file.

Additional Information:

I suspect there might be issues related to Jupyter Notebook kernels or environment configurations.
I have ensured that the correct Python interpreter is selected in the Jupyter Notebook.
I have tried setting the PYTHONPATH and modifying sys.path within the notebook, but the issue persists.

Could you please assist me in resolving these issues?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.