Closed sag3002 closed 1 week ago
Can you share the error? Note that the current installation steps are kinda outdated. I will update it soon with the next release
(venv) PS E:\CLIPPyX> CLIPPyX
Traceback (most recent call last):
File "E:\CLIPPyX\create_index.py", line 1, in
Complete PowerShell input and output here: https://[pastebin.com/raw/rmkninfL](https://pastebin.com/raw/rmkninfL)
There's a problem with your python environment. Can you show me the output of pip list
? Or try to create a clean installation in clean env (preferably conda)
There's a problem with your python environment. Can you show me the output of
pip list
? Or try to create a clean installation in clean env (preferably conda)
I think I got it. You have many Python versions installed. In main.py
, it runs these commands:
subprocess.run(["python", "create_index.py"])
subprocess.run(["python", "server.py"])
which run in the default Python you have rather than this venv.
Please verify if this is the scenario so I can fix it.
I think I got it. You have many Python versions installed. In
main.py
, it runs these commands:subprocess.run(["python", "create_index.py"]) subprocess.run(["python", "server.py"])
which run in the default Python you have rather than this venv.
Please verify if this is the scenario so I can fix it.
Yes! This was the issue it seems.
I replace them with:
subprocess.run([python_executable, "create_index.py"]) subprocess.run([python_executable, "server.py"])
and now it works
Thanks for pointing to this issue, I will try to modify the main to avoid this problem! I will keep the issue open until I fix it
Fixed in 2124eddc541dee15cb694a9afcd162a3eb62ab6f
I tried using Python 3.12 and 3.10 using virtual environment but was unable to run the app. It says unable to import Flask even though all dependencies are installed.