Dec-19-2023, 07:22 PM
(Dec-19-2023, 05:31 PM)snippsat Wrote:(Dec-19-2023, 05:00 PM)David763 Wrote: How do I make a new environment ?Creating an environment with commands
Example for this task install new Python3.11 version with pip,can also add Spyder if need a editor.
Conda-forge for repeatable way on Windows, Linux and OSX.
conda create --name my_env -c conda-forge flask spyder python=3.11.5Then activate environment and can installpip install flask-mysqldb
.
See that when environment is activated and testpip
it will point to the Python in Anaconda folder and not the OS Python version path.
G:\div_code (tom_env) λ pip -V pip 21.3.1 from G:\miniconda3\envs\tom_env\lib\site-packages\pip (python 3.10)
Still getting the same error…