Forum in maintenance, we will back soon π
I tried to pip install PIL. but it gave me the below error. This pip worked perfectly before suddenly this started to happen. cannot do any pip.
@dassa did you activate the virtual environment?
Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack
@dassa you want to ```pip install pillow``` instead. Then you can ```import PIL```.
Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack
same story
@dassa what does ```pip --version``` give you? If that works try with the ```pillow``` instead of ```Pillow```.
Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack
it seems there are problems in the python files or so.
try upgrading pip:
python -m pip install --upgrade pip
try installing this way:
python -m pip install PIL
do you have multiple python installations?
finally, I uninstall everything and re-install. now looks ok.
@dassa often, if you have a virtual environment and you update the python the virtual environment becomes corrupted. The solution is to make sure you have a requirements.txt file so you can remove the virtual environment directory and recreate it.
Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack
i cant download python -m venv venv but i downloaded ./venv/scripts/activate i asked in chatgpt i fix everything like activating in powershell as a administrator but except this i installed simplerllm also it was sucessfully installed. what is the problem?
@google-habibitopg Try just writing in the terminal the following:
venv/Scripts/activate
@google-habibitopg the error is created because you already have a venv directory. Do as @dassa has stated to continue.
Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack
@husein i activated that but when i run python -m venv venv it is stating that
Β again it says like this
@google-habibitopg You dont need to run python -m venv venv because you already created your virtual environment. You just need to activate it by running the following command:
venv/Scripts/activate
@husein okay thank you, i fixed it
now i cant download requirement.txt file why?
@google-habibitopg the photo doesn't show you've activated the virtual environment. When properly activated the prompt changes to put the virtual environment directory in front like ```(venv) C:\Users\ME\src```.Β
What does a directory listing show in your current directory? Is the requirements.txt file there?
Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack
@google-habibitopg It looks like the virtual environment was activated. Plus, the requirements.txt file isn't in the same directory as in the terminal.Β
Can you please tell us the hierarchy of your main KEYWORD-RESEARCH-GRAPH-MAIN
@husein i dont know i think it is in another directory so i asked chatGPT it said that to change directory with cd KEYWORD-RESEARCH-GRAPH-MAIN , then i did that then it includes like this
after that if i run it came