Can't install time module

前端 未结 8 1419
执念已碎
执念已碎 2021-01-04 02:31

I\'ve tried pip install time and sudo -H pip install time, but I keep getting the error:

Could not find a version that sati

8条回答
  •  无人及你
    2021-01-04 02:45

    I think this is a PyCharm bug. I am using the time module with PyCharm and it complains that 'time' is an unresolved reference, even when I use

    import time
    

    at the beginning of my file. However, there is no run-time error when I execute my program, even though PyCharm does not recognise time as a valid module.

提交回复
热议问题