Hello, je fais un generateur de nuages de mots avec la lib wordcloud
, tt fonctionne mais quand je veux lancer mon .exe, j'ai cette erreur:
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "PyInstaller\loader\pyimod03_importers.py", line 495, in exec_module
File "wordcloud\__init__.py", line 1, in <module>
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "PyInstaller\loader\pyimod03_importers.py", line 495, in exec_module
File "wordcloud\wordcloud.py", line 35, in <module>
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\[USER]\\PycharmProjects\\nuages-de-mots\\dist\\main\\wordcloud\\stopwords'
En image:
Ce que je ne comprend pas, c'est ca:FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\[USER]\\PycharmProjects\\nuages-de-mots\\dist\\main\\wordcloud\\stopwords'
car quand je lance main.py
depuis mon IDE, tout fonctionne...