Unable to install the temporary module

I tried pip install timeand sudo -H pip install time, but I keep getting the error:

Could not find a version that meets the time requirement (from version :) No suitable time distribution found

I work in PyCharm, but it really doesn't make sense that I can import time in the Python Console, but not in my actual code.

+6
source share
4 answers
+14

, PyCharm. PyCharm, , "" ,

import time

. , PyCharm time .

+1

time.sleep(secs), .

+1

, 'needs.txt' .

. , . "require.txt" , , .

0

Source: https://habr.com/ru/post/1671093/


All Articles