DEV Community

Cover image for no pyvenv.cfg file or, Python Interpreter error
Shahriyar Al Mustakim Mitul
Shahriyar Al Mustakim Mitul

Posted on

20 2

no pyvenv.cfg file or, Python Interpreter error

[Solved this two Stack Over Flow issue:
1)
https://stackoverflow.com/questions/52404529/cannot-setup-a-python-sdk-in-pycharm-project-using-virtualenv-after-os-reinsta/70457029#70457029

2) https://stackoverflow.com/questions/61026458/no-pyvenv-cfg-file]

Delete venv (Virtual Environment) folder if it exists in the project
then go to File>Settings>Project>Python Interpreter . Click the Python Interpreter box and select Show all . Delete Invalid Interpreter by clicking (-)

1

2

3
Click + to create a new venv

4

5

You may see this then:

6
Now run a code and it will be solved
Code run

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read full post →

Top comments (0)

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more