Hello,
I’m installing Python to a new PC and am having some problems.
My system:
- OS: MS Windows 2025 Datacenter v24H2 (OS Build 26100.6584)
- Our Python 3.14 is installed on our c: drive while our programs are on our E: drive.
- I made a Python 3.14 project using virtualenv and activated the environment.
- This Python program was working last week now I get a “Module not found” error for
pandaswhen I run it from a batch file even though the project environment is activated. The batch file will later be called from Task Scheduler but I have to get the batch file to work when run manually first. - Extra non-standard Python modules are installed locally to the project dir.
- When I do
pip listI seepandasis installed for this project along with the other modules I need. - My %PATH% has this as the first entry:
E:\MyJobs\Test\piecework\.venv\Scripts;The %PATH% also includes several directories to Python on the C: drive. I have confirmedpandasis installed inE:\MyJobs\Test\piecework\.venv\Lib\site-packages;but this dir is not in the path. - I checked .venv\scripts\activate.bat and it does not set up any path to
E:\MyJobs\Test\piecework\.venv\Lib\site-packages;
Should E:\MyJobs\Test\piecework\.venv\Lib\site-packages; be in my path when I activate the environment? Why is it not in my path?
How do I fix this project?
Thank you for your help.