(Apr-01-2019, 09:08 AM)aster Wrote: as far i understood this is due to windows using python 2 to run my scriptAre you talking about running from Spyder now?
Check link i posted again about configure Python interpreter in Spyder.
(Apr-01-2019, 09:08 AM)aster Wrote: and then, funny stuff, is that if i run python i getThat's right if it start Miniconda3,and that is you manin Python version.
Check from cmd with,that it point to Miniconda3:
python -c "import sys; print(sys.executable)" # Check also that pip point to Miniconda3 Scripts folder pip -V
Quote:I tried adding C:\Users\vincenzo\Miniconda3\lib\site-packages and C:\Users\vincenzo\Miniconda3\lib to PATH, nothing changed.That is not right,to add Miniconda to Windows Path it should be like this.
C:\Users\vincenzo\Miniconda3 C:\Users\vincenzo\Miniconda3\ScriptsAlso Path shown over should be where arrow are in image,here pointing to 3.7.
Environment Variables Path
Restart Pc.
Why did you choose Miniconda3 over Anaconda3(make all easier if you new to this).
Anaconda3 will ask if you want in to main Python version and add to Windows Path when install it.