Apr-04-2023, 07:46 PM
Hi all,
Like it says in the subject i have a strange issue with tkcalendar.
I have this line of code on script 1.py:
i get an error message on the script 2.py when i do debug :
When i run script 2 by itself, it runs perfectly.
The strangest thing is that i ran the same scripts on my work computer and they work fine.
I'm working with pycharm
So... any help will be appreciated.
Like it says in the subject i have a strange issue with tkcalendar.
I have this line of code on script 1.py:
result = subprocess.run(['python', '2.py'], capture_output=True, text=True)which calls script 2.py
i get an error message on the script 2.py when i do debug :
Error:(<class 'ModuleNotFoundError'>, ModuleNotFoundError("No module named 'tkcalendar'"), <traceback object at 0x000001CD2AFA7500>)
even though i have installed tkcalendar and i have the code on the script:from tkcalendar import CalendarNow for the strange thing. When i run the first script that calls the second one nothing happens and script 2 doesn't run.
When i run script 2 by itself, it runs perfectly.
The strangest thing is that i ran the same scripts on my work computer and they work fine.
I'm working with pycharm
So... any help will be appreciated.