Now we need to find out where the Python.h header file is which will be used as the values for PYTHON3_INCLUDE_DIR later: $ ll /Users/avkashchauhan/anaconda3/envs/python35/include/python3.5m/Python.h Users/avkashchauhan/anaconda3/bin/python Now we will look to confirm the Python path: $ which python Now, we will install the latest version of Tensorflow which will install lots of the required dependencies that I really needed: $ conda install -c conda-forge tensorflow Python Runtime Environment and Folder $ conda activate python35 Verify the Conda Environment With Python 3.5 $ python Let's get going! Create the Conda Environment With Python 3.5 $ conda create -n python35 python=35 As the title suggests, this article will explore how to compile OpenCV3 with Python (version 3.5) in the Conda Environment using the OSX Sierra operating system.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |