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

having issues with the dependencies #136

Closed
Chainedtheno1 opened this issue Oct 21, 2024 · 9 comments
Closed

having issues with the dependencies #136

Chainedtheno1 opened this issue Oct 21, 2024 · 9 comments
Assignees

Comments

@Chainedtheno1
Copy link

Whenever i try to run the alwrity.py i get missing modules etc. i tried my best to manually install all of thema dn troubleshoot but now im stuck with this for quite some time

Screenshot 2024-10-21 144353

please and thank you

@AJaySi AJaySi self-assigned this Oct 21, 2024
@AJaySi
Copy link
Owner

AJaySi commented Oct 21, 2024

Hello,
Lets work this through. Please try the below options.

1). Trying it out in a virtual env with python -m venv venv and then activating the venv will be a cleaner option.

2). Check with typing python and then write 'From tavily import TavilyClient'. Does it give the same ModuleNotFoundError ?

3). Also, try 'pip install tavily-python' in this same dir as AI-Writer folder.
Let me know the outputs and we can some more things. Keep at it.

@Chainedtheno1
Copy link
Author

Chainedtheno1 commented Oct 21, 2024

i attempteed the virtual env and i managed to re-install the venv. but now another module is saying its missing.
Uploading Screenshot 2024-10-21 160842.png…

UPDATE
no more missing modules
but another error
Screenshot 2024-10-21 163714

@AJaySi
Copy link
Owner

AJaySi commented Oct 21, 2024

Hmmm, the issue is with external module called yfinance. This behavior is not present at my end or reported otherwise.
ranaroussi/yfinance#1942

Try: pip install yfinance with -U option, which will update it use latest version of it.

@AJaySi
Copy link
Owner

AJaySi commented Oct 21, 2024

ranaroussi/yfinance#2093

@Chainedtheno1
Copy link
Author

aight thanks bro. i managed to fix it by reverting to an older version of yfinance(0.2.18)

@AJaySi
Copy link
Owner

AJaySi commented Oct 21, 2024

You are welcome. Please let us know your experience of using ALwrity and how to improve it.
We are busy working on a saas web app version and I will invite you to beta test it.

@Chainedtheno1 : Please close this issue. Thanks.

@tukangcode
Copy link

aight thanks bro. i managed to fix it by reverting to an older version of yfinance(0.2.18)

hi how you revert to older version what is commad

@AJaySi
Copy link
Owner

AJaySi commented Nov 4, 2024

Hello @tukangcode
You can do pip install -r requirements, once again. The issue is fixed in yfinance.
Else you can also do: pip install yfinance==0.2.44

@AJaySi
Copy link
Owner

AJaySi commented Nov 4, 2024

Closing this as yfinance has fixed the error in latest release.

@AJaySi AJaySi closed this as completed Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants