(Spyder maintainer here) You need to rename or remove this file
C:\Users\mahkam\datetime.py
That’s because that file is using the same name of Python internal module and that confuses other modules that depend on it.
More Related Contents:
- How do I get interactive plots again in Spyder/IPython/matplotlib?
- What is the difference between pip and conda?
- How to run an IPython magic from a script (or timing a Python script)
- How do I get the current IPython / Jupyter Notebook name
- Builtin function not working with Spyder
- How to dynamically update a plot in a loop in IPython notebook (within one cell)
- What is the right way to debug in iPython notebook?
- How to read a .xlsx file using the pandas Library in iPython?
- How to iterate over consecutive chunks of Pandas dataframe efficiently
- Installing a pip package from within a Jupyter Notebook not working
- Passing IPython variables as arguments to bash commands
- PIP: “Cannot uninstall ‘ipython’. It is a distutils installed project and thus we cannot accurately determine…” [duplicate]
- Override global variable inside function not working with Spyder 4
- double click to open an ipython notebook
- Why do I get the syntax error “SyntaxError: invalid syntax” in a line with perfectly valid syntax?
- Python Pandas – Missing required dependencies [‘numpy’] 1
- how to “reimport” module to python then code be changed after import
- How to disable password request for a Jupyter notebook session?
- Python Multiprocessing error: AttributeError: module ‘__main__’ has no attribute ‘__spec__’
- How to embed a Python interpreter in a PyQT widget
- Display an image with Python
- Is there an equivalent to CTRL+C in IPython Notebook in Firefox to break cells that are running?
- Launch IPython notebook with selected browser
- downloading error using nltk.download()
- How to install Python packages for Spyder
- Cannot open anaconda suddenly
- Auto-Loading a module on IPython startup
- Code to clear console and variables in Spyder
- How to run IPython magic from a script
- How to format IPython html display of Pandas dataframe?