pycharm and requirements.txt

Hi

I have a folder containing 1 .py file and a requirements.txt file

When I open this folder as a pycharm project from windows explorer, pycharm prompts me to create venv using the requirements.txt file as expected.

However I have another folder containing copies of the same files that does not prompt me.

Why could the behavior be different

0
3 comments

Hi,

Perhaps you already have a project interpreter configured for that project?

0
Avatar
Permanently deleted user

Hi

The folder contains 2 files - TVApp.py and requirements.txt

Both are under VCS (Perforce)

So I perform a 'get' from Perforce and then open the folder as a PyCharm project - I do not get prompted

If I rename the folder - it works as expected

If I rename the containing folder - it works as expected

It is a though PyCharm in some way knows about the Perforce link

I am truly baffled!

0

What OS do you use?
Is there a .idea folder in that project before you open it in PyCharm for the first time?

0

Please sign in to leave a comment.