K
K
Kirill Bazhenov2017-10-05 10:58:47
PHP
Kirill Bazhenov, 2017-10-05 10:58:47

The math module does not work, Python 3.6.3 on 3.6.2 also did not work with the PyCharm IDE, what should I do?

The math module does not work, Python 3.6.3 on 3.6.2 also did not work with the PyCharm IDE, what should I do?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stanislav Menshov, 2017-10-05
@SWEBB

1 ) Check in CLI
$ python3
Python 3.5.4 (default, Aug 12 2017, 14:08:14)
[GCC 7.1.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import math; math.ceil(5.6);
Should display 6
So everything is OK
2) If OK. In PyCharm, you look for the path to the interpreter in External Libraries (in your case, to Python 3.6.xx)
3) If not, add it to File -> Settings -> Project -> Project Interpreter
and try again

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question