Forum in maintenance, we will back soon 🙂
Error while using Generate content Idea python code
Please find attached screen shot of error . i am facing while running Generate content idea python code.
This is a result of your system policies. You'll need to research on what to change to allow you to use your system to do this.
Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack
HI friend, this is the same thread on Discord: https://discord.com/channels/1141633014342893608/1141634844909129739/1197639233385549864
is it you?
i have different error while i run the code, is this tool available on your website here or not? if not please upload it there so we can use it. thanks hasan sir
@naveedbaig1 what tool are you talking about?
Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack
@ssadvisor AI-CONTENT IDEA GENERATOR TOOL , THE ONE ADMIN SHOWED ON HIS YOUTUBE CHANNEL
I AM GETTING THIS ERROR WHEN I RUN IT
Traceback (most recent call last):
line 4, in <module>
from pydantic import BaseModel # Pydantic for data validation and settings management
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'pydantic'
pip install pydantic
Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack
one error left to solve, getting this error now.
ImportError: cannot import name 'search_google_web_automation' from 'serp' (C:\Users\naveed\AppData\Local\Programs\Python\Python313\Lib\site-packages\serp\__init__.py)
@naveedbaig1 please supply the output of
pip freeze
so we can see what you've installed. The code supplied by @Hasan has a serp.py file which will get in the way of any global package named serp.
Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack
@ssadvisor what is the solution to that. what should i do. uninstall serp (global)? thanks
httpx==0.26.0
idna==3.6
itsdangerous==2.1.2
Jinja2==3.1.3
lib==4.0.0
linker==0.1.0
MarkupSafe==2.1.4
pydantic==2.6.0
pydantic_core==2.16.1
pymongo==4.6.1
requests==2.31.0
serp==0.1.5
sniffio==1.3.0
soupsieve==2.5
typing_extensions==4.9.0
urllib3==2.2.0
websockets==10.4
Werkzeug==3.0.1
winapi==0.0.0
windows==0.1.1
@naveedbaig1 so you do have a package named serp installed. Do you know why it is there?
You have two options, one is to simply uninstall the serp package if you don't need it, the other is to use a virtual environment and install only the modules you need for a particular project.
Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack
@naveedbaig1 Try using a virtual environment as @ssadvisor mentioned.
Anyways, please send a screenshot of your code and the error.
one error left to solve, getting this error now.
ImportError: cannot import name 'search_google_web_automation' from 'serp' (C:\Users\naveed\AppData\Local\Programs\Python\Python313\Lib\site-packages\serp\__init__.py)
also im facing trouble building some wheel
this error is than the one mentioned above
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for cffi
Failed to build cffi
ERROR: Could not build wheels for cffi, which is required to install pyproject.toml-based projects
Posted by: @naveedbaig1ImportError: cannot import name 'search_google_web_automation' from 'serp' (C:\Users\naveed\AppData\Local\Programs\Python\Python313\Lib\site-packages\serp\__init__.py)
You need to
pip uninstall serp
The problem is that the package serp is being imported instead of the serp.py file provided by @Hasan.
Posted by: @naveedbaig1ERROR: Failed building wheel for cffi
Failed to build cffi
ERROR: Could not build wheels for cffi, which is required to install pyproject.toml-based projects
You might need to install some development tools and/or libraries. However you might be able to resolve this by doing
pip install -U pip
but your luck with this might not be good.
HTH
Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack
@ssadvisor tried after uninstalling serp, but error is still there, in the beginning there were 6 errors now im left with one error
@naveedbaig1 try renaming the serp.py file from Hasan to something else like hasan_serp.py. You'll need to adjust the code to import from hasan_serp instead of serp.
Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack