Ask Your Question

Revision history [back]

Perhaps my comments can help someone.

To configure debugging in a virtual environment, in the project properties tab environment, specify the path to the activate file. In the phython path section, select Use Default or do not write (in the case of customs) the path to the folders of the virtual environment

Python 3.7.5 (tags/v3.7.5:5c02a39a0b, Oct 14 2019, 23:09:19) [MSC v.1916 32 bit (Intel)]
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.path
['',
 'c:\\Users\\ACER\\AppData\\Local\\Programs\\Python\\Python37-32\\python37.zip',
 'c:\\Users\\ACER\\AppData\\Local\\Programs\\Python\\Python37-32\\DLLs',
 'c:\\Users\\ACER\\AppData\\Local\\Programs\\Python\\Python37-32\\lib',
 'c:\\Users\\ACER\\AppData\\Local\\Programs\\Python\\Python37-32',
 'c:\\VENV37',
 'c:\\VENV37\\lib\\site-packages']

Perhaps my comments can help someone.

To configure debugging in a virtual environment, in the project properties tab environment, specify the path to the activate file. In the phython path section, select Use Default or do not write (in the case of customs) the path to the folders of the virtual environment

link text

Python 3.7.5 (tags/v3.7.5:5c02a39a0b, Oct 14 2019, 23:09:19) [MSC v.1916 32 bit (Intel)]
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.path
['',
 'c:\\Users\\ACER\\AppData\\Local\\Programs\\Python\\Python37-32\\python37.zip',
 'c:\\Users\\ACER\\AppData\\Local\\Programs\\Python\\Python37-32\\DLLs',
 'c:\\Users\\ACER\\AppData\\Local\\Programs\\Python\\Python37-32\\lib',
 'c:\\Users\\ACER\\AppData\\Local\\Programs\\Python\\Python37-32',
 'c:\\VENV37',
 'c:\\VENV37\\lib\\site-packages']

Perhaps my comments can help someone.

To configure debugging in a virtual environment, in the project properties tab environment, specify the path to the activate file. In the phython path section, select Use Default or do not write (in the case of customs) the path to the folders of the virtual environment

link text

Python 3.7.5 (tags/v3.7.5:5c02a39a0b, Oct 14 2019, 23:09:19) [MSC v.1916 32 bit (Intel)]
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.path
['',
 'c:\\Users\\ACER\\AppData\\Local\\Programs\\Python\\Python37-32\\python37.zip',
 'c:\\Users\\ACER\\AppData\\Local\\Programs\\Python\\Python37-32\\DLLs',
 'c:\\Users\\ACER\\AppData\\Local\\Programs\\Python\\Python37-32\\lib',
 'c:\\Users\\ACER\\AppData\\Local\\Programs\\Python\\Python37-32',
 'c:\\VENV37',
 'c:\\VENV37\\lib\\site-packages']