A
A
Andrew2017-08-01 13:36:49
Python
Andrew, 2017-08-01 13:36:49

Connecting libraries in PyCharm?

What should be added to PyCharm to fix the error???
Error in PyCharm -

C:\ProgramData\Anaconda3\python.exe "C:/Users///..///file_name.py"
Traceback (most recent call last):
File "C:/Users///..///file_name.py", line 4, in 
from transitions import Machine
ModuleNotFoundError: No module named 'transitions'

Process finished with exit code 1

The problem is in this snippet -
from transitions import Machine

Answer the question

In order to leave comments, you need to log in

3 answer(s)
L
longclaps, 2017-08-01
@Andrew_Crest

If we are talking about this library , it must be installed.

D
Daniil Kolesnichenko, 2017-08-01
@KolesnichenkoDS

PyCharm has nothing to do with the libraries used. Use pip to install Python packages.

N
Nebesnoetelo13, 2019-02-20
@Nebesnoetelo13

I was also lucky to encounter such a reaction, only the arcade library was. Restarting PyCharm helped me.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question