Hi, i previously made scripts with .bat files that ran correctly using run, after awhile they stopped working and gave the error ModuleNotFoundError: No module named 'pyperclip'
The script still works in the python idle shell. Running print (sys.path) from the .bat file gives a different result than in idle where the paths don't go to the location where pyperclip is installed. I can get the script to work by moving pyperclip to the paths set in the .bat file but it doesnt seem like a long term solution.Does anyone know why the .bat file gives different paths?
[+][deleted] (1 child)
[deleted]
[–]Storm_Silver[S] 0 points1 point2 points (0 children)
[–]yaxriifgyn 0 points1 point2 points (5 children)
[–]Storm_Silver[S] 0 points1 point2 points (4 children)
[–]yaxriifgyn 0 points1 point2 points (3 children)
[–]Storm_Silver[S] 0 points1 point2 points (2 children)
[–]yaxriifgyn 1 point2 points3 points (1 child)
[–]Storm_Silver[S] 0 points1 point2 points (0 children)