0

Until now I was using a conda environment with python 3.7 and spyder created with the command conda create -n myenv python=3.7. However, I wanted to use python 3.8, so I created another environment with the command conda create -n python38 python=3.8. I installed spyder and when I tried to run a script I got the following error:

Fatal Python error: init_sys_streams: can't initialize sys standard streams 
Traceback (most recent call last): 
File "C:\Users\kosmy\anaconda3\envs\python38\lib\io.py", line 54, in  ImportError: cannot import name 'open_code' from 'io' (unknown location)

Does anyone know what is going wrong?

merv
  • 53,208
  • 11
  • 148
  • 196
Kosmylo
  • 303
  • 2
  • 12

0 Answers0