FinRobot icon indicating copy to clipboard operation
FinRobot copied to clipboard

Can't install any version of finrobot but 0.0.1

Open VioletRaven opened this issue 8 months ago • 1 comments

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?

VioletRaven avatar Jun 12 '24 13:06 VioletRaven