Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install any version of finrobot but 0.0.1 #20

Open
VioletRaven opened this issue Jun 12, 2024 · 1 comment
Open

Can't install any version of finrobot but 0.0.1 #20

VioletRaven opened this issue Jun 12, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@VioletRaven
Copy link

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 VioletRaven changed the title Can't install any version of finrobot but only 0.0.1 Can't install any version of finrobot but 0.0.1 Jun 12, 2024
@BruceYanghy BruceYanghy self-assigned this Jun 13, 2024
@BruceYanghy BruceYanghy added the bug Something isn't working label Jun 13, 2024
@BruceYanghy
Copy link
Member

Can you just do:

  1. git clone https://github.com/AI4Finance-Foundation/FinRobot.git
  2. cd FinRobot
  3. pip install -e .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants