[GH-ISSUE #153] ImportError: cannot import name 'DeepSeek' from 'deepseek' #450

Closed
opened 2026-03-13 20:27:36 +03:00 by kerem · 15 comments
Owner

Originally created by @dhan1111 on GitHub (Jan 28, 2025).
Original GitHub issue: https://github.com/AJaySi/ALwrity/issues/153

Originally assigned to: @AJaySi on GitHub.

Streamlit Browser window http://localhost:8501/ opens with:
ImportError: cannot import name 'DeepSeek' from 'deepseek' running 'streamlit run alwrity.py' in PowerShell window

PS install stops with:
....... e 3, in
from deepseek import DeepSeek
ImportError: cannot import name 'DeepSeek' from 'deepseek' (C:\Users\dhans\AppData\Local\Programs\Python\Python313\Lib\site-packages\deepseek_init_.py). Did you mean: 'DeepSeekAPI'?
Stopping...

========================================
Besides having to install a rust compiler to keep the install going, I did a package clean and then a "pip install --upgrade --force-reinstall -U -r .\requirements.txt" to try to get it to clean up and hit a wall with deepseek, which while was hoping to try, hit the end of my skillset.

Hope this feedback is helpful.

Originally created by @dhan1111 on GitHub (Jan 28, 2025). Original GitHub issue: https://github.com/AJaySi/ALwrity/issues/153 Originally assigned to: @AJaySi on GitHub. Streamlit Browser window http://localhost:8501/ opens with: ImportError: cannot import name 'DeepSeek' from 'deepseek' running 'streamlit run alwrity.py' in PowerShell window =================== PS install stops with: ....... e 3, in <module> from deepseek import DeepSeek ImportError: cannot import name 'DeepSeek' from 'deepseek' (C:\Users\dhans\AppData\Local\Programs\Python\Python313\Lib\site-packages\deepseek\__init__.py). Did you mean: 'DeepSeekAPI'? Stopping... ======================================== Besides having to install a rust compiler to keep the install going, I did a package clean and then a "pip install --upgrade --force-reinstall -U -r .\requirements.txt" to try to get it to clean up and hit a wall with deepseek, which while was hoping to try, hit the end of my skillset. ================== Hope this feedback is helpful.
kerem 2026-03-13 20:27:36 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@AJaySi commented on GitHub (Jan 28, 2025):

@dhan1111
Hello, How are you ?
I committed some changes yesterday and evidently didnt test it.
Give some time to fix this and get back to you today.

Thanks.

<!-- gh-comment-id:2617767990 --> @AJaySi commented on GitHub (Jan 28, 2025): @dhan1111 Hello, How are you ? I committed some changes yesterday and evidently didnt test it. Give some time to fix this and get back to you today. Thanks.
Author
Owner

@AJaySi commented on GitHub (Jan 28, 2025):

I have updated the patch, you can try again.

<!-- gh-comment-id:2618060647 --> @AJaySi commented on GitHub (Jan 28, 2025): I have updated the patch, you can try again.
Author
Owner

@dhan1111 commented on GitHub (Jan 28, 2025):

Win 11 i7 8 core Intel w/32Gb ram using Python3.13 - (first install of python).............
On deleting AI-Writer folder and re-cloning from git/running python3.13:

WARNING: typer 0.15.1 does not provide the extra 'all'

WARNING: crewai 0.11.2 does not provide the extra 'tools'
. This could take a while.
WARNING: crewai 0.11.2 does not provide the extra 'tools'
Collecting crewai[tools] (from -r .\requirements.txt (line 7))
Using cached crewai-0.11.1-py3-none-any.whl.metadata (12 kB)
WARNING: crewai 0.11.1 does not provide the extra 'tools'
WARNING: crewai 0.11.1 does not provide the extra 'tools'
Using cached crewai-0.11.0-py3-none-any.whl.metadata (12 kB)
WARNING: crewai 0.11.0 does not provide the extra 'tools'
Collecting langchain-openai<0.0.3,>=0.0.2 (from crewai[tools]->-r .\requirements.txt (line 7))
Using cached langchain_openai-0.0.2.post1-py3-none-any.whl.metadata (2.4 kB)
WARNING: crewai 0.11.0 does not provide the extra 'tools'
Collecting crewai[tools] (from -r .\requirements.txt (line 7))
Using cached crewai-0.10.0-py3-none-any.whl.metadata (11 kB)
WARNING: crewai 0.10.0 does not provide the extra 'tools'

After running streamlit -- found this in the PowerShell terminal window:

from ..blog_metadata.get_blog_metadata import blog_metadata
File "C:\Users\dhans\Documents\Virtual Machines\AI-Writer\lib\blog_metadata\get_blog_metadata.py", line 16, in
from google.generativeai import caching
ImportError: cannot import name 'caching' from 'google.generativeai' (C:\Users\dhans\AppData\Local\Programs\Python\Python313\Lib\site-packages\google\generativeai_init_.py)

After running streamlit -- found this in the http://localhost:8501/ browser window:

ImportError: cannot import name 'caching' from 'google.generativeai' (C:\Users\dhans\AppData\Local\Programs\Python\Python313\Lib\site-packages\google\generativeai_init_.py)

=======================
Saw posts that said the google caching was happening with Py3.13 so uninstalled and put in Py3.11.8 and got the following:

ImportError: cannot import name 'setup_ui' from 'lib.utils.ui_setup' (C:\Users\dhans\Documents\Virtual Machines\AI-Writer\lib\utils\ui_setup.py)
Traceback:
File "C:\Users\dhans\Documents\Virtual Machines\AI-Writer\alwrity.py", line 8, in
from lib.utils.ui_setup import setup_ui

=========================

Not sure why I'm in a circular reference, however, changing the Python version changed the error. Sure feeling like a hamster on a wheel............

<!-- gh-comment-id:2620080623 --> @dhan1111 commented on GitHub (Jan 28, 2025): Win 11 i7 8 core Intel w/32Gb ram using Python3.13 - (first install of python)............. On deleting AI-Writer folder and re-cloning from git/running python3.13: WARNING: typer 0.15.1 does not provide the extra 'all' WARNING: crewai 0.11.2 does not provide the extra 'tools' . This could take a while. WARNING: crewai 0.11.2 does not provide the extra 'tools' Collecting crewai[tools] (from -r .\requirements.txt (line 7)) Using cached crewai-0.11.1-py3-none-any.whl.metadata (12 kB) WARNING: crewai 0.11.1 does not provide the extra 'tools' WARNING: crewai 0.11.1 does not provide the extra 'tools' Using cached crewai-0.11.0-py3-none-any.whl.metadata (12 kB) WARNING: crewai 0.11.0 does not provide the extra 'tools' Collecting langchain-openai<0.0.3,>=0.0.2 (from crewai[tools]->-r .\requirements.txt (line 7)) Using cached langchain_openai-0.0.2.post1-py3-none-any.whl.metadata (2.4 kB) WARNING: crewai 0.11.0 does not provide the extra 'tools' Collecting crewai[tools] (from -r .\requirements.txt (line 7)) Using cached crewai-0.10.0-py3-none-any.whl.metadata (11 kB) WARNING: crewai 0.10.0 does not provide the extra 'tools' After running streamlit -- found this in the PowerShell terminal window: from ..blog_metadata.get_blog_metadata import blog_metadata File "C:\Users\dhans\Documents\Virtual Machines\AI-Writer\lib\blog_metadata\get_blog_metadata.py", line 16, in <module> from google.generativeai import caching ImportError: cannot import name 'caching' from 'google.generativeai' (C:\Users\dhans\AppData\Local\Programs\Python\Python313\Lib\site-packages\google\generativeai\__init__.py) After running streamlit -- found this in the http://localhost:8501/ browser window: ImportError: cannot import name 'caching' from 'google.generativeai' (C:\Users\dhans\AppData\Local\Programs\Python\Python313\Lib\site-packages\google\generativeai\__init__.py) ======================= Saw posts that said the google caching was happening with Py3.13 so uninstalled and put in Py3.11.8 and got the following: ImportError: cannot import name 'setup_ui' from 'lib.utils.ui_setup' (C:\Users\dhans\Documents\Virtual Machines\AI-Writer\lib\utils\ui_setup.py) Traceback: File "C:\Users\dhans\Documents\Virtual Machines\AI-Writer\alwrity.py", line 8, in <module> from lib.utils.ui_setup import setup_ui ========================= Not sure why I'm in a circular reference, however, changing the Python version changed the error. Sure feeling like a hamster on a wheel............
Author
Owner

@AJaySi commented on GitHub (Jan 29, 2025):

Stupid Windows. I am a linux guy, so I will try to install on a windows machines.
I will update you today with the steps on windows.

<!-- gh-comment-id:2620506020 --> @AJaySi commented on GitHub (Jan 29, 2025): Stupid Windows. I am a linux guy, so I will try to install on a windows machines. I will update you today with the steps on windows.
Author
Owner

@dhan1111 commented on GitHub (Jan 29, 2025):

Hi Ajay:

Mmmmm... well, I used to be both a Linux and Windows IT guy and now it
looks like I can't do either.

Tried a fresh install on a Win 10 VM and still have an issue with an
error for cewai_tool not being able to import.

Hard to keep up when there are so many libraries will all have one
thing or another being depreciated.......

Will take another stab at it tomorrow.

Best regards,

Dexter

Quoting ي @.***>:

Stupid Windows. I am a linux guy, so I will try to install on a
windows machines.
I will update you today with the steps on windows.

--
Reply to this email directly or view it on GitHub:
https://github.com/AJaySi/AI-Writer/issues/153#issuecomment-2620506020
You are receiving this because you were mentioned.

Message ID: @.***>

<!-- gh-comment-id:2620725998 --> @dhan1111 commented on GitHub (Jan 29, 2025): Hi Ajay: Mmmmm... well, I used to be both a Linux and Windows IT guy and now it looks like I can't do either. Tried a fresh install on a Win 10 VM and still have an issue with an error for cewai_tool not being able to import. Hard to keep up when there are so many libraries will all have one thing or another being depreciated....... Will take another stab at it tomorrow. Best regards, Dexter Quoting ي ***@***.***>: > Stupid Windows. I am a linux guy, so I will try to install on a > windows machines. > I will update you today with the steps on windows. > > -- > Reply to this email directly or view it on GitHub: > https://github.com/AJaySi/AI-Writer/issues/153#issuecomment-2620506020 > You are receiving this because you were mentioned. > > Message ID: ***@***.***>
Author
Owner

@AJaySi commented on GitHub (Jan 29, 2025):

Hello Dexter,

I am sorry, the install process hasn't been a breeze for you. Being a linux, you do have perseverance of it.
I will try to install it today on windows and reproduce the problem.

Thank you for the error details, it seems I have messed up somewhere Or CrewAI.
Please dont give up yet, I will diagnose this till tomorrow.

PS: Let me know your views to improve the 'Getting Started' part of this project, it aint a breeze.

Regards,
Ajay.

<!-- gh-comment-id:2620880635 --> @AJaySi commented on GitHub (Jan 29, 2025): Hello Dexter, I am sorry, the install process hasn't been a breeze for you. Being a linux, you do have perseverance of it. I will try to install it today on windows and reproduce the problem. Thank you for the error details, it seems I have messed up somewhere Or CrewAI. Please dont give up yet, I will diagnose this till tomorrow. PS: Let me know your views to improve the 'Getting Started' part of this project, it aint a breeze. Regards, Ajay.
Author
Owner

@dhan1111 commented on GitHub (Jan 29, 2025):

Just tried again. Just noticed that the imports are going to the AI0Writer files, however, the one that crashed is trying to put it in my Py Lib folder. Is that were it is suppose to go? Would have assumed it would have went to the App files.

Hope this helps.

PS said:
You can now view your Streamlit app in your browser.

Local URL: http://localhost:8501
Network URL: http://192.168.1.125:8501

[2025-01-29 09:51:06,779-INFO-client-1038]- HTTP Request: GET https://raw.githubusercontent.com/BerriAI/litellm/main/model_prices_and_context_window.json "HTTP/1.1 200 OK"
2025-01-29 09:51:16.811 Uncaught app execution
Traceback (most recent call last):
File "C:\Users\dhans\AppData\Local\Programs\Python\Python311\Lib\site-packages\streamlit\runtime\scriptrunner\exec_code.py", line 88, in exec_func_with_error_handling
result = func()
^^^^^^
File "C:\Users\dhans\AppData\Local\Programs\Python\Python311\Lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 579, in code_to_exec
exec(code, module.dict)
File "C:\Users\dhans\Documents\Virtual Machines\AI-Writer\alwrity.py", line 8, in
from lib.utils.ui_setup import setup_ui
File "C:\Users\dhans\Documents\Virtual Machines\AI-Writer\lib\utils\ui_setup.py", line 4, in
from .content_generators import content_planning_tools, ai_writers
File "C:\Users\dhans\Documents\Virtual Machines\AI-Writer\lib\utils\content_generators.py", line 2, in
from lib.utils.alwrity_utils import (
File "C:\Users\dhans\Documents\Virtual Machines\AI-Writer\lib\utils\alwrity_utils.py", line 27, in
from lib.content_planning_calender.content_planning_agents_alwrity_crew import ai_agents_content_planner
File "C:\Users\dhans\Documents\Virtual Machines\AI-Writer\lib\content_planning_calender\content_planning_agents_alwrity_crew.py", line 7, in
from crewai_tools import ScrapeWebsiteTool, tool
ImportError: cannot import name 'tool' from 'crewai_tools' (C:\Users\dhans\AppData\Local\Programs\Python\Python311\Lib\site-packages\crewai_tools_init
.py)

Error code on browser was the same.

The file init.py is as follows:
from .tools import (
AIMindTool,
BraveSearchTool,
BrowserbaseLoadTool,
CodeDocsSearchTool,
CodeInterpreterTool,
ComposioTool,
CSVSearchTool,
DallETool,
DirectoryReadTool,
DirectorySearchTool,
DOCXSearchTool,
EXASearchTool,
FileReadTool,
FileWriterTool,
FirecrawlCrawlWebsiteTool,
FirecrawlScrapeWebsiteTool,
FirecrawlSearchTool,
GithubSearchTool,
HyperbrowserLoadTool,
JSONSearchTool,
LinkupSearchTool,
LlamaIndexTool,
MDXSearchTool,
MultiOnTool,
MySQLSearchTool,
NL2SQLTool,
PatronusEvalTool,
PatronusLocalEvaluatorTool,
PatronusPredefinedCriteriaEvalTool,
PDFSearchTool,
PGSearchTool,
RagTool,
ScrapeElementFromWebsiteTool,
ScrapegraphScrapeTool,
ScrapegraphScrapeToolSchema,
ScrapeWebsiteTool,
ScrapflyScrapeWebsiteTool,
SeleniumScrapingTool,
SerpApiGoogleSearchTool,
SerpApiGoogleShoppingTool,
SerperDevTool,
SerplyJobSearchTool,
SerplyNewsSearchTool,
SerplyScholarSearchTool,
SerplyWebpageToMarkdownTool,
SerplyWebSearchTool,
SnowflakeConfig,
SnowflakeSearchTool,
SpiderTool,
TXTSearchTool,
VisionTool,
WeaviateVectorSearchTool,
WebsiteSearchTool,
XMLSearchTool,
YoutubeChannelSearchTool,
YoutubeVideoSearchTool,
)

<!-- gh-comment-id:2622070864 --> @dhan1111 commented on GitHub (Jan 29, 2025): Just tried again. Just noticed that the imports are going to the AI0Writer files, however, the one that crashed is trying to put it in my Py Lib folder. Is that were it is suppose to go? Would have assumed it would have went to the App files. Hope this helps. PS said: You can now view your Streamlit app in your browser. Local URL: http://localhost:8501 Network URL: http://192.168.1.125:8501 [2025-01-29 09:51:06,779-INFO-_client-1038]- HTTP Request: GET https://raw.githubusercontent.com/BerriAI/litellm/main/model_prices_and_context_window.json "HTTP/1.1 200 OK" 2025-01-29 09:51:16.811 Uncaught app execution Traceback (most recent call last): File "C:\Users\dhans\AppData\Local\Programs\Python\Python311\Lib\site-packages\streamlit\runtime\scriptrunner\exec_code.py", line 88, in exec_func_with_error_handling result = func() ^^^^^^ File "C:\Users\dhans\AppData\Local\Programs\Python\Python311\Lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 579, in code_to_exec exec(code, module.__dict__) File "C:\Users\dhans\Documents\Virtual Machines\AI-Writer\alwrity.py", line 8, in <module> from lib.utils.ui_setup import setup_ui File "C:\Users\dhans\Documents\Virtual Machines\AI-Writer\lib\utils\ui_setup.py", line 4, in <module> from .content_generators import content_planning_tools, ai_writers File "C:\Users\dhans\Documents\Virtual Machines\AI-Writer\lib\utils\content_generators.py", line 2, in <module> from lib.utils.alwrity_utils import ( File "C:\Users\dhans\Documents\Virtual Machines\AI-Writer\lib\utils\alwrity_utils.py", line 27, in <module> from lib.content_planning_calender.content_planning_agents_alwrity_crew import ai_agents_content_planner File "C:\Users\dhans\Documents\Virtual Machines\AI-Writer\lib\content_planning_calender\content_planning_agents_alwrity_crew.py", line 7, in <module> from crewai_tools import ScrapeWebsiteTool, tool ImportError: cannot import name 'tool' from 'crewai_tools' (C:\Users\dhans\AppData\Local\Programs\Python\Python311\Lib\site-packages\crewai_tools\__init__.py) Error code on browser was the same. The file _init_.py is as follows: from .tools import ( AIMindTool, BraveSearchTool, BrowserbaseLoadTool, CodeDocsSearchTool, CodeInterpreterTool, ComposioTool, CSVSearchTool, DallETool, DirectoryReadTool, DirectorySearchTool, DOCXSearchTool, EXASearchTool, FileReadTool, FileWriterTool, FirecrawlCrawlWebsiteTool, FirecrawlScrapeWebsiteTool, FirecrawlSearchTool, GithubSearchTool, HyperbrowserLoadTool, JSONSearchTool, LinkupSearchTool, LlamaIndexTool, MDXSearchTool, MultiOnTool, MySQLSearchTool, NL2SQLTool, PatronusEvalTool, PatronusLocalEvaluatorTool, PatronusPredefinedCriteriaEvalTool, PDFSearchTool, PGSearchTool, RagTool, ScrapeElementFromWebsiteTool, ScrapegraphScrapeTool, ScrapegraphScrapeToolSchema, ScrapeWebsiteTool, ScrapflyScrapeWebsiteTool, SeleniumScrapingTool, SerpApiGoogleSearchTool, SerpApiGoogleShoppingTool, SerperDevTool, SerplyJobSearchTool, SerplyNewsSearchTool, SerplyScholarSearchTool, SerplyWebpageToMarkdownTool, SerplyWebSearchTool, SnowflakeConfig, SnowflakeSearchTool, SpiderTool, TXTSearchTool, VisionTool, WeaviateVectorSearchTool, WebsiteSearchTool, XMLSearchTool, YoutubeChannelSearchTool, YoutubeVideoSearchTool, )
Author
Owner

@AJaySi commented on GitHub (Jan 29, 2025):

@dhan1111

I just tried on a windows setup and was able to reproduce your problems.
Crewai has changed and I have also made some errors. My bad.

Please wait till I fix and confirm till tomorrow, after which you can install.

Thanks.

<!-- gh-comment-id:2622471833 --> @AJaySi commented on GitHub (Jan 29, 2025): @dhan1111 I just tried on a windows setup and was able to reproduce your problems. Crewai has changed and I have also made some errors. My bad. Please wait till I fix and confirm till tomorrow, after which you can install. Thanks. -
Author
Owner

@dhan1111 commented on GitHub (Jan 29, 2025):

Hi AJay:

You have to love developers depreciate their babies with impunity.....

Best regards,

Dexter

Quoting ي @.***>:

@dhan1111

I just tried on a windows setup and was able to reproduce your problems.
Crewai has changed and I have also made some errors. My bad.

Please wait till I fix and confirm till tomorrow, after which you
can install.

Thanks.

--
Reply to this email directly or view it on GitHub:
https://github.com/AJaySi/AI-Writer/issues/153#issuecomment-2622471833
You are receiving this because you were mentioned.

Message ID: @.***>

<!-- gh-comment-id:2622485910 --> @dhan1111 commented on GitHub (Jan 29, 2025): Hi AJay: You have to love developers depreciate their babies with impunity..... Best regards, Dexter Quoting ي ***@***.***>: > @dhan1111 > > I just tried on a windows setup and was able to reproduce your problems. > Crewai has changed and I have also made some errors. My bad. > > Please wait till I fix and confirm till tomorrow, after which you > can install. > > Thanks. > - > > -- > Reply to this email directly or view it on GitHub: > https://github.com/AJaySi/AI-Writer/issues/153#issuecomment-2622471833 > You are receiving this because you were mentioned. > > Message ID: ***@***.***>
Author
Owner

@AJaySi commented on GitHub (Jan 30, 2025):

Hi Dexter,

(Fingers crossed) I was able to install and see the UI. I had failed to update requirements.txt with textstat and readibility modules.
Give it a try please, I will be around. #feeling ashamed..

Lets not endow my failures to the tribe of developers.. I shouldnt trust AI for all my coding.

Hoping, we have a take-off,
Ajay.

<!-- gh-comment-id:2623420911 --> @AJaySi commented on GitHub (Jan 30, 2025): Hi Dexter, (Fingers crossed) I was able to install and see the UI. I had failed to update requirements.txt with textstat and readibility modules. Give it a try please, I will be around. #feeling ashamed.. Lets not endow my failures to the tribe of developers.. I shouldnt trust AI for all my coding. Hoping, we have a take-off, Ajay.
Author
Owner

@dhan1111 commented on GitHub (Jan 30, 2025):

Hi AJay:

Good news and not so good news. The opening screen showed and I got
an EXA key to try.

Unfortunatelyn I saved with only one key and had dropped the opening
page tab. It appears that doing a clean install won't take me back to
the initial API Key entry screen so I've only got the EXA and Gemini
keys.

I see a key are in the .env file, but not sure how to get back to
where I can enter and save the list of API keys. A note on you
installation page might be helpful, though, most will probably be like
me and do a "Ready, Fire. Aim", so the note would be better on the
opening screen near the "SAVE" button in big red letters. :>)

I also tried a Perplexia (in a Linus VM) so I have an API key for GROQ
which probably won't integrate into your App which shows I'm playing
with this AI stuff and don't know what I'm doing. Given these folks
want to sell access, more that a few tries looks like it could add up
costing some money so the education probably won't be "free", even
though a number of them are offering a "free to try" entry.

My guess is that once a key is given, it's put into the .env file, as
well as. an currently unknow to me location in the PY library folder.

Thank you for putting so much time into this. I'm sure your not
getting paid to work on this, however, the thing with open source is
that it allows you to get a skill set and keeps a lot of software
folks from having to only work for MicroSoft.

Again, thank you for all your effort.

Best regards,

Dexter

Quoting ي @.***>:

Hi Dexter,

(Fingers crossed) I was able to install and see the UI. I had failed
to update requirements.txt with textstat and readibility modules.
Give it a try please, I will be around. #feeling ashamed..

Lets not endow my failures to the tribe of developers.. I shouldnt
trust AI for all my coding.

Hoping, we have a take-off,
Ajay.

--
Reply to this email directly or view it on GitHub:
https://github.com/AJaySi/AI-Writer/issues/153#issuecomment-2623420911
You are receiving this because you were mentioned.

Message ID: @.***>

<!-- gh-comment-id:2624395888 --> @dhan1111 commented on GitHub (Jan 30, 2025): Hi AJay: Good news and not so good news. The opening screen showed and I got an EXA key to try. Unfortunatelyn I saved with only one key and had dropped the opening page tab. It appears that doing a clean install won't take me back to the initial API Key entry screen so I've only got the EXA and Gemini keys. I see a key are in the .env file, but not sure how to get back to where I can enter and save the list of API keys. A note on you installation page might be helpful, though, most will probably be like me and do a "Ready, Fire. Aim", so the note would be better on the opening screen near the "SAVE" button in big red letters. :>) I also tried a Perplexia (in a Linus VM) so I have an API key for GROQ which probably won't integrate into your App which shows I'm playing with this AI stuff and don't know what I'm doing. Given these folks want to sell access, more that a few tries looks like it could add up costing some money so the education probably won't be "free", even though a number of them are offering a "free to try" entry. My guess is that once a key is given, it's put into the .env file, as well as. an currently unknow to me location in the PY library folder. Thank you for putting so much time into this. I'm sure your not getting paid to work on this, however, the thing with open source is that it allows you to get a skill set and keeps a lot of software folks from having to only work for MicroSoft. Again, thank you for all your effort. Best regards, Dexter Quoting ي ***@***.***>: > Hi Dexter, > > (Fingers crossed) I was able to install and see the UI. I had failed > to update requirements.txt with textstat and readibility modules. > Give it a try please, I will be around. #feeling ashamed.. > > Lets not endow my failures to the tribe of developers.. I shouldnt > trust AI for all my coding. > > Hoping, we have a take-off, > Ajay. > > -- > Reply to this email directly or view it on GitHub: > https://github.com/AJaySi/AI-Writer/issues/153#issuecomment-2623420911 > You are receiving this because you were mentioned. > > Message ID: ***@***.***>
Author
Owner

@AJaySi commented on GitHub (Jan 30, 2025):

Hi Dexter,

Thank you for the comments, Its helping me a lot on user experience front.

1). "Unfortunatelyn I saved with only one key and had dropped the opening
page tab...."

You are almost there. Again, what was I smoking when I wrote that logic, hindsight is a 6/6 vision.
The whole logic depends on a hidden file called '.env' . its in the root dir of the project.
One can update the keys there, but then one needs to know environ names.

Solution: If you delete the .env file, you will be directed to setup page again. A bad hack, but should get you going.

Note: Its a bad setup implementation and needs to improved. Thanks for highlighting it.

2). " A note on you
installation page might be helpful, though, most will probably be like
me and do a "Ready, Fire. Aim","

My Bad. This is just plain bad coding on my part. I will improve it and make it more intuitive. I will work on this next.


3). "I also tried a Perplexia (in a Linus VM) so I have an API key for GROQ
which probably won't integrate into your app........"

Well, the idea is to support Open sources OR Free APIs. Try out DeepSeek APIs they are free(https://www.alwrity.com/post/integrating-deepseek-r1-in-python-apps). I can easily integrate any LLM but I am keeping this restrictions So ALwrity users dont pay for LLM API Keys.

A large part of this project is prompt engineering, the basic idea being get reasonably *good answers from any cheap LLM.
Also, prompts needs a lot of tweaking for each of different models to get *good content generated from AI.


4). Thank you so much for the kind words, that keeps my boat rocking...

I am presently working on a SaaS webapp and all this will go away. https://www.alwrity.com/post/whats-alwrity-upto
This python app has been neglected a lot lately. Thanks for pepping me up and that you find this project meaningful, I will soon release the web app.

Regards,
AJay.

<!-- gh-comment-id:2624532981 --> @AJaySi commented on GitHub (Jan 30, 2025): Hi Dexter, Thank you for the comments, Its helping me a lot on user experience front. 1). "Unfortunatelyn I saved with only one key and had dropped the opening page tab...." You are almost there. Again, what was I smoking when I wrote that logic, hindsight is a 6/6 vision. The whole logic depends on a hidden file called '.env' . its in the root dir of the project. One can update the keys there, but then one needs to know environ names. Solution: If you delete the .env file, you will be directed to setup page again. A bad hack, but should get you going. Note: Its a bad setup implementation and needs to improved. Thanks for highlighting it. --------------------------- 2). " A note on you installation page might be helpful, though, most will probably be like me and do a "Ready, Fire. Aim"," My Bad. This is just plain bad coding on my part. I will improve it and make it more intuitive. I will work on this next. ----------------------------- 3). "I also tried a Perplexia (in a Linus VM) so I have an API key for GROQ which probably won't integrate into your app........" Well, the idea is to support Open sources OR Free APIs. Try out DeepSeek APIs they are free(https://www.alwrity.com/post/integrating-deepseek-r1-in-python-apps). I can easily integrate any LLM but I am keeping this restrictions So ALwrity users dont pay for LLM API Keys. A large part of this project is prompt engineering, the basic idea being get reasonably *good answers from any cheap LLM. Also, prompts needs a lot of tweaking for each of different models to get *good content generated from AI. ------------------------------ 4). Thank you so much for the kind words, that keeps my boat rocking... I am presently working on a SaaS webapp and all this will go away. https://www.alwrity.com/post/whats-alwrity-upto This python app has been neglected a lot lately. Thanks for pepping me up and that you find this project meaningful, I will soon release the web app. Regards, AJay.
Author
Owner

@AJaySi commented on GitHub (Feb 5, 2025):

Hi Dexter,

I am closing this issue for now, you can open a new one if issue still persists.
Thanks.

<!-- gh-comment-id:2635621651 --> @AJaySi commented on GitHub (Feb 5, 2025): Hi Dexter, I am closing this issue for now, you can open a new one if issue still persists. Thanks.
Author
Owner

@dhan1111 commented on GitHub (Feb 5, 2025):

Hi AJay:Working for me.Thanks again. Best regards,DexterSent via the Samsung Galaxy A11, an AT&T 4G LTE smartphone
-------- Original message --------From: ي @.> Date: 2/4/25 9:28 PM (GMT-06:00) To: AJaySi/AI-Writer @.> Cc: dhan1111 @.>, Mention @.> Subject: Re: [AJaySi/AI-Writer] ImportError: cannot import name 'DeepSeek'
from 'deepseek' (Issue #153)
Hi Dexter,
I am closing this issue for now, you can open a new one if issue still persists.
Thanks.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

<!-- gh-comment-id:2635683569 --> @dhan1111 commented on GitHub (Feb 5, 2025): Hi AJay:Working for me.Thanks again. Best regards,DexterSent via the Samsung Galaxy A11, an AT&T 4G LTE smartphone -------- Original message --------From: ي ***@***.***> Date: 2/4/25 9:28 PM (GMT-06:00) To: AJaySi/AI-Writer ***@***.***> Cc: dhan1111 ***@***.***>, Mention ***@***.***> Subject: Re: [AJaySi/AI-Writer] ImportError: cannot import name 'DeepSeek' from 'deepseek' (Issue #153) Hi Dexter, I am closing this issue for now, you can open a new one if issue still persists. Thanks. —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
Author
Owner

@AJaySi commented on GitHub (Feb 5, 2025):

Thanks for the confirmation.

@dhan1111 : Please be in touch, your comments are valuable. It will help improve ALwrity for all.
https://github.com/AJaySi/AI-Writer/discussions/13

<!-- gh-comment-id:2635709894 --> @AJaySi commented on GitHub (Feb 5, 2025): Thanks for the confirmation. @dhan1111 : Please be in touch, your comments are valuable. It will help improve ALwrity for all. https://github.com/AJaySi/AI-Writer/discussions/13
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ALwrity#450
No description provided.