I am having trouble installing the qrcode module to use in anaconda spyder. I have installed qrcode using pip in the command prompt terminal but then I cannot import the module in spyder. I think it may be because I currently have the qrcode installed in my python 3.7 folder but my spyder is using python 3.6.5. I have attached images to show the errors. Any idea on how to fix this?
Asked
Active
Viewed 36 times
0
-
1Yeah, you need to use the pip (or conda) that is associated with your Spyder install. Or better yet, use Spyder within a virtual environment, and install QR Code module alongside it. See https://stackoverflow.com/questions/30170468/how-to-run-spyder-in-virtual-environment – Nick Sep 25 '21 at 12:52