I tried to setup the CSV Extractor as shown in the training using PyCham but there was no .venv for the new project setup. Has someone encountered this experience? If yes, what was the workaround?
Best answer by Anonymous
View originalI tried to setup the CSV Extractor as shown in the training using PyCham but there was no .venv for the new project setup. Has someone encountered this experience? If yes, what was the workaround?
Best answer by Anonymous
View originalHi
Thank you for your question. Which course are you working on?
Best regards,
Madina
When the Poetry does the install of the of a poetry project, try to remove the directory created by cogex, could be that you can find the virtual environment poetry made inside the local AppData poetry Cache
So you can potentially find it in: (if you are running a pure windows dev environment)
C:\Users\%USERPROFILE%\AppData\Local\pypoetry\Cache\virtualenvs
But before any future install or initializations with poetry I suggest you run this command
poetry config virtualenvs.in-project true
This will that from any new python project you install or initialize with poetry that the .venv will be inside the project directory and not on your user. I would wish the default was to set the project directory myself and not a Cache directory under the users local AppData.
Note: If you delete a poetry project directory and remake it with the same name, without removing the virtual environment in it made in the users local AppData, then it won’t make a new .venv file in the project, so make sure you delete the virtual environment directories for the local AppData directory aswell.
Hello
I’m a learner working on “Extractor-utils Library for Cognite Python SDK” and in “ Python Utility Package”.
I need help on how to configure my PyCharm or VS Code for the Cognite training.
Hi
Did Stig’s answer help you?
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.