Jan-25-2022, 11:44 PM
[output]Hello to all,
Could you help me resolve the following issue: I'm having a project vscode where i created a folder containing a virtual environment and i added a python script that i'm trying to run, for reasons that i don't understand i can't run the script even after downloading the required packages in the project (after I activated the virtual environment). How should i structure the project to be able to run the script? Thank you for your help.
This how I structured the project (called trading):
1. virt (this the virtual environment folder)
2. __init__.py (an empty python file, which placed below the virt folder - not sure i should have put this file in there)
3. my_script.py (the script i'm trying to run, which placed below the __init__.py file, hence below the virt folder)
[attachment=1542]
Could you help me resolve the following issue: I'm having a project vscode where i created a folder containing a virtual environment and i added a python script that i'm trying to run, for reasons that i don't understand i can't run the script even after downloading the required packages in the project (after I activated the virtual environment). How should i structure the project to be able to run the script? Thank you for your help.
This how I structured the project (called trading):
1. virt (this the virtual environment folder)
2. __init__.py (an empty python file, which placed below the virt folder - not sure i should have put this file in there)
3. my_script.py (the script i'm trying to run, which placed below the __init__.py file, hence below the virt folder)
[attachment=1542]