Intel® Distribution for Python*
Engage in discussions with community peers related to Python* applications and core computational packages.

Using Intel Distribution for Python in Spyder 3.6

Sandaire__Johnny
Beginner
3,065 Views

Greetings,

I am excited to launch a new career in Data Science and have been studying online courses at Udemy, and Elite Data Science.  I have also been studying Python and R simultaneously, which is very exciting as well.  I coded in C++ for a few year and created several Desktop applications for Windows during my career with Hewlett Packard, so I have some background in OOP.  I also coded in C#, utilizing the .NET Core framework in Visual Studio 2019.  

I am at the phase of my journey where I need to find a stable coding environment for my Data Science development process. I downloaded Anaconda 3 and have been using R Studio and Spider for my R and Python, respectively.  I recently found the Intel Algorithms and installed the Distribution for Python, however, I am having a challenge getting Visual Studio 2019 working with Python as it does with Spyder.  So, my question is the following:  

1.  Is it possible to work in Spyder with Intel Distribution for Python?

I tried to set the Intel Distribution for Python as my Python interpreter in the Spyder Tools/Preferences/Python interpreter, but that is not working because the kernel is failing or not responding.

Any guidance or recommendations that I can get to get a stable development for Python Data Science, utilizing the intel algorithms would be greatly appreciated.

0 Kudos
11 Replies
ChithraJ_Intel
Moderator
3,065 Views

Hi,

Thanks for reaching out to us.
In order to solve your issue regarding spyder, could you please try out the below steps

Step 1: Create a virtual environment in Anaconda with required Intel Distribution for python. 
            For that, You need at least conda 4.1.11, so first update your conda using :  

 conda update conda

   To get Intel packages over default packages, add the Intel channel as follows :        

 conda config --add channels intel

   To install the latest full Intel python distribution :

 conda create -n idp intelpython3_full python=3

        
Step 2: Activate your virtual environment with  

 activate idp

      
Step 3: Now, you have the virtual environment with intelpython installed.  Now you have to install spyder additionally for the new environment with this command (after the activation of the environment with the command above):

 conda install spyder

    
Step 4: After successful installation of spyder, launch the spyder from the current environment, just type:

 spyder

Step 5: If you get any dependency issue while launching spyder like this

      Traceback (most recent call last):
      File "C:\Users\cjanardx\AppData\Local\Continuum\anaconda3\envs\IDP\lib\site-packages\qtpy\__init__.py", line 204, in <module>
        from PySide import __version__ as PYSIDE_VERSION  # analysis:ignore
    ModuleNotFoundError: No module named 'PySide'

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "C:\Users\cjanardx\AppData\Local\Continuum\anaconda3\envs\IDP\Scripts\spyder-script.py", line 10, in <module>
        sys.exit(main())
      File "C:\Users\cjanardx\AppData\Local\Continuum\anaconda3\envs\IDP\lib\site-packages\spyder\app\start.py", line 186, in main
        from spyder.app import mainwindow
      File "C:\Users\cjanardx\AppData\Local\Continuum\anaconda3\envs\IDP\lib\site-packages\spyder\app\mainwindow.py", line 48, in <module>
        requirements.check_qt()
      File "C:\Users\cjanardx\AppData\Local\Continuum\anaconda3\envs\IDP\lib\site-packages\spyder\requirements.py", line 41, in check_qt
        import qtpy
      File "C:\Users\cjanardx\AppData\Local\Continuum\anaconda3\envs\IDP\lib\site-packages\qtpy\__init__.py", line 210, in <module>
        raise PythonQtError('No Qt bindings could be found')
    qtpy.PythonQtError: No Qt bindings could be found
     
    Solve it using: 

   pip install msgpack
   conda install qt=5.6 pyqt=5.6 sip=4.18
 


Step 6: After launching the spyder IDE, run the below command in the IPython console of spyder

 import sys
 print(sys.executable)


        check whether it takes the python interpreter from the virtual environment that you have created.


Recommendation :

    1)Intel® AI DevCloud is the best development environment where you can do your machine learning and deep learning workloads on latest Intel hardware. You can develop and test your projects with latest Intel® optimized frameworks, tools, and libraries.
    You can apply for Devcloud access in the below link :
    
   https://software.intel.com/en-us/devcloud/datacenter
    
    If you are having any difficulties getting started or connecting to the Intel® DevCloud, you can ask your questions in the Intel Devcloud forum.
    
   https://software.intel.com/en-us/forums/intel-devcloud
    
    2)Intel® AI Analytics Toolkit(Beta) which comes along with Intel oneAPI toolkit is another alternative to start your career with Datascience.It will accelerate your DL applications during training and inference with the Intel®-optimized DL frameworks like TensorFlow* and PyTorch*.
    
    You can use the below link to download the toolkit and start your works using getting started instructions
  https://software.intel.com/en-us/oneapi/ai-kit

0 Kudos
Sandaire__Johnny
Beginner
3,065 Views

Hello,

 

thank you so much for the detailed instructions.  I followed them to the best of my ability, starting with:

1.  Installed Anaconda from its Web download link (64 Bit).

2.  Tested launching Spyder with the new installation successfully.

3.  Open-up the Anaconda command Line as the logged-on user, which is a member of the Administrator group on windows 10 (latest updated version).

4.  From that (base) c:\users\Johnny.DATA>, I started the process posted above to the point where I called Spyder.  I did not receive any errors, but Spyder did not launch.  Is there any other troubleshooting that I can do to figure out why Python is not launching in this new environment?

BTW, I ran another test where I installed a new, clean environment and then Launched Spyder successfully; Following this successful launched, I then installed the intel tools like this: conda install intelpython3_full   -->  Python would not run after that install.

Posted below is what my Command Window looks like from the Spyder installation:

 

---------------------------------  Command windows Starts Here ---------------------------------------------


(base) C:\Users\Johnny.DATA>conda activate idp

Intel(R) MPI Library 2019 Update 5 for Windows* Target Build Environment for Intel(R) 64 applications
Copyright 2007-2019 Intel Corporation.


(idp) C:\Users\Johnny.DATA>conda install spyder
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: done

## Package Plan ##

  environment location: C:\Users\Johnny.DATA\AppData\Local\Continuum\anaconda3\envs\idp

  added / updated specs:
    - spyder


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    alabaster-0.7.12           |           py36_0          18 KB
    backcall-0.1.0             |           py36_2          18 KB  intel
    backports-1.0              |           py36_9           4 KB  intel
    bleach-2.1.3               |           py36_2          31 KB  intel
    decorator-4.3.0            |           py36_3          33 KB  intel
    docutils-0.15.2            |           py36_0         686 KB
    entrypoints-0.2.3          |           py36_2           9 KB  intel
    get_terminal_size-1.0.0    |           py36_7           7 KB  intel
    html5lib-1.0.1             |           py36_4         250 KB  intel
    imagesize-1.1.0            |           py36_0          11 KB
    ipykernel-5.1.3            |   py36h39e3cac_0         168 KB
    ipython-6.3.1              |           py36_3         1.0 MB  intel
    ipython_genutils-0.2.0     |           py36_2          37 KB  intel
    jedi-0.12.0                |           py36_2         213 KB  intel
    jinja2-2.9.6               |           py36_2         384 KB  intel
    jsonschema-2.6.0           |           py36_2          86 KB  intel
    jupyter_client-5.3.3       |           py36_1         162 KB
    jupyter_core-4.4.0         |           py36_6         100 KB  intel
    keyring-19.2.0             |           py36_0          74 KB
    markupsafe-1.0             |           py36_3          26 KB  intel
    mistune-0.8.3              |           py36_2         178 KB  intel
    nbconvert-5.2.1            |           py36_2         407 KB  intel
    nbformat-4.4.0             |           py36_2         157 KB  intel
    pandocfilters-1.4.1        |           py36_2          12 KB  intel
    parso-0.2.0                |           py36_2         113 KB  intel
    path.py-11.0.1             |           py36_2          52 KB  intel
    pickleshare-0.7.4          |           py36_3          11 KB  intel
    prompt_toolkit-1.0.15      |           py36_2         333 KB  intel
    psutil-5.4.7               |   py36hfa6e2cd_0         312 KB
    pycodestyle-2.5.0          |           py36_0          77 KB
    pyflakes-2.1.1             |           py36_0         123 KB
    pygments-2.2.0             |           py36_5         2.4 MB  intel
    pyqt-5.9.2                 |   py36h6538335_2         3.3 MB
    pywin32-223                |   py36hfa6e2cd_1         5.4 MB
    pywin32-ctypes-0.2.0       |           py36_0          41 KB
    pyzmq-17.1.2               |   py36hfa6e2cd_0         366 KB
    qt-5.9.6                   |   vc14h62aca36_0        71.3 MB
    qtconsole-4.6.0            |             py_0          95 KB
    simplegeneric-0.8.1        |           py36_7           9 KB  intel
    sip-4.19.8                 |   py36h6538335_0         262 KB
    sphinx-2.2.2               |             py_0         1.4 MB
    spyder-3.3.6               |           py36_0         2.3 MB
    spyder-kernels-0.5.2       |           py36_0          70 KB
    testpath-0.3.1             |           py36_2          14 KB  intel
    tornado-4.5.2              |           py36_5         621 KB  intel
    traitlets-4.3.2            |           py36_3         128 KB  intel
    wcwidth-0.1.7              |           py36_6          24 KB  intel
    webencodings-0.5.1         |           py36_0          19 KB  intel
    win_unicode_console-0.5    |           py36_2          30 KB  intel
    zeromq-4.2.5               |       he025d50_1         4.5 MB
    ------------------------------------------------------------
                                           Total:        97.2 MB

The following NEW packages will be INSTALLED:

  alabaster          pkgs/main/win-64::alabaster-0.7.12-py36_0
  astroid            pkgs/main/win-64::astroid-2.3.3-py36_0
  babel              pkgs/main/noarch::babel-2.7.0-py_0
  backcall           intel/win-64::backcall-0.1.0-py36_2
  backports          intel/win-64::backports-1.0-py36_9
  bleach             intel/win-64::bleach-2.1.3-py36_2
  cloudpickle        pkgs/main/noarch::cloudpickle-1.2.2-py_0
  colorama           intel/win-64::colorama-0.3.9-py36_2
  decorator          intel/win-64::decorator-4.3.0-py36_3
  docutils           pkgs/main/win-64::docutils-0.15.2-py36_0
  entrypoints        intel/win-64::entrypoints-0.2.3-py36_2
  get_terminal_size  intel/win-64::get_terminal_size-1.0.0-py36_7
  html5lib           intel/win-64::html5lib-1.0.1-py36_4
  icu                pkgs/main/win-64::icu-58.2-ha66f8fd_1
  imagesize          pkgs/main/win-64::imagesize-1.1.0-py36_0
  ipykernel          pkgs/main/win-64::ipykernel-5.1.3-py36h39e3cac_0
  ipython            intel/win-64::ipython-6.3.1-py36_3
  ipython_genutils   intel/win-64::ipython_genutils-0.2.0-py36_2
  isort              pkgs/main/win-64::isort-4.3.21-py36_0
  jedi               intel/win-64::jedi-0.12.0-py36_2
  jinja2             intel/win-64::jinja2-2.9.6-py36_2
  jpeg               pkgs/main/win-64::jpeg-9b-hb83a4c4_2
  jsonschema         intel/win-64::jsonschema-2.6.0-py36_2
  jupyter_client     pkgs/main/win-64::jupyter_client-5.3.3-py36_1
  jupyter_core       intel/win-64::jupyter_core-4.4.0-py36_6
  keyring            pkgs/main/win-64::keyring-19.2.0-py36_0
  lazy-object-proxy  pkgs/main/win-64::lazy-object-proxy-1.3.1-py36hfa6e2cd_2
  libsodium          pkgs/main/win-64::libsodium-1.0.16-h9d3ae62_0
  markupsafe         intel/win-64::markupsafe-1.0-py36_3
  mccabe             pkgs/main/win-64::mccabe-0.6.1-py36_1
  mistune            intel/win-64::mistune-0.8.3-py36_2
  nbconvert          intel/win-64::nbconvert-5.2.1-py36_2
  nbformat           intel/win-64::nbformat-4.4.0-py36_2
  numpydoc           pkgs/main/noarch::numpydoc-0.9.1-py_0
  packaging          pkgs/main/noarch::packaging-19.2-py_0
  pandocfilters      intel/win-64::pandocfilters-1.4.1-py36_2
  parso              intel/win-64::parso-0.2.0-py36_2
  path.py            intel/win-64::path.py-11.0.1-py36_2
  pickleshare        intel/win-64::pickleshare-0.7.4-py36_3
  prompt_toolkit     intel/win-64::prompt_toolkit-1.0.15-py36_2
  psutil             pkgs/main/win-64::psutil-5.4.7-py36hfa6e2cd_0
  pycodestyle        pkgs/main/win-64::pycodestyle-2.5.0-py36_0
  pyflakes           pkgs/main/win-64::pyflakes-2.1.1-py36_0
  pygments           intel/win-64::pygments-2.2.0-py36_5
  pylint             pkgs/main/win-64::pylint-2.4.4-py36_0
  pyqt               pkgs/main/win-64::pyqt-5.9.2-py36h6538335_2
  pywin32            pkgs/main/win-64::pywin32-223-py36hfa6e2cd_1
  pywin32-ctypes     pkgs/main/win-64::pywin32-ctypes-0.2.0-py36_0
  pyzmq              pkgs/main/win-64::pyzmq-17.1.2-py36hfa6e2cd_0
  qt                 pkgs/main/win-64::qt-5.9.6-vc14h62aca36_0
  qtawesome          pkgs/main/noarch::qtawesome-0.6.0-py_0
  qtconsole          pkgs/main/noarch::qtconsole-4.6.0-py_0
  qtpy               pkgs/main/noarch::qtpy-1.9.0-py_0
  rope               pkgs/main/noarch::rope-0.14.0-py_0
  simplegeneric      intel/win-64::simplegeneric-0.8.1-py36_7
  sip                pkgs/main/win-64::sip-4.19.8-py36h6538335_0
  snowballstemmer    pkgs/main/noarch::snowballstemmer-2.0.0-py_0
  sphinx             pkgs/main/noarch::sphinx-2.2.2-py_0
  sphinxcontrib-app~ pkgs/main/noarch::sphinxcontrib-applehelp-1.0.1-py_0
  sphinxcontrib-dev~ pkgs/main/noarch::sphinxcontrib-devhelp-1.0.1-py_0
  sphinxcontrib-htm~ pkgs/main/noarch::sphinxcontrib-htmlhelp-1.0.2-py_0
  sphinxcontrib-jsm~ pkgs/main/noarch::sphinxcontrib-jsmath-1.0.1-py_0
  sphinxcontrib-qth~ pkgs/main/noarch::sphinxcontrib-qthelp-1.0.2-py_0
  sphinxcontrib-ser~ pkgs/main/noarch::sphinxcontrib-serializinghtml-1.1.3-py_0
  spyder             pkgs/main/win-64::spyder-3.3.6-py36_0
  spyder-kernels     pkgs/main/win-64::spyder-kernels-0.5.2-py36_0
  testpath           intel/win-64::testpath-0.3.1-py36_2
  tornado            intel/win-64::tornado-4.5.2-py36_5
  traitlets          intel/win-64::traitlets-4.3.2-py36_3
  typed-ast          pkgs/main/win-64::typed-ast-1.1.0-py36hfa6e2cd_0
  wcwidth            intel/win-64::wcwidth-0.1.7-py36_6
  webencodings       intel/win-64::webencodings-0.5.1-py36_0
  win_unicode_conso~ intel/win-64::win_unicode_console-0.5-py36_2
  wrapt              pkgs/main/win-64::wrapt-1.10.11-py36hfa6e2cd_2
  zeromq             pkgs/main/win-64::zeromq-4.2.5-he025d50_1


Proceed (/n)? y


Downloading and Extracting Packages
keyring-19.2.0       | 74 KB     | ############################################## | 100%
spyder-3.3.6         | 2.3 MB    | ############################################## | 100%
pyzmq-17.1.2         | 366 KB    | ############################################## | 100%
pandocfilters-1.4.1  | 12 KB     | ############################################## | 100%
pyqt-5.9.2           | 3.3 MB    | ############################################## | 100%
pickleshare-0.7.4    | 11 KB     | ############################################## | 100%
backcall-0.1.0       | 18 KB     | ############################################## | 100%
entrypoints-0.2.3    | 9 KB      | ############################################## | 100%
spyder-kernels-0.5.2 | 70 KB     | ############################################## | 100%
alabaster-0.7.12     | 18 KB     | ############################################## | 100%
pycodestyle-2.5.0    | 77 KB     | ############################################## | 100%
win_unicode_console- | 30 KB     | ############################################## | 100%
imagesize-1.1.0      | 11 KB     | ############################################## | 100%
nbformat-4.4.0       | 157 KB    | ############################################## | 100%
pywin32-223          | 5.4 MB    | ############################################## | 100%
pywin32-ctypes-0.2.0 | 41 KB     | ############################################## | 100%
path.py-11.0.1       | 52 KB     | ############################################## | 100%
traitlets-4.3.2      | 128 KB    | ############################################## | 100%
parso-0.2.0          | 113 KB    | ############################################## | 100%
markupsafe-1.0       | 26 KB     | ############################################## | 100%
qt-5.9.6             | 71.3 MB   | ############################################## | 100%
qtconsole-4.6.0      | 95 KB     | ############################################## | 100%
testpath-0.3.1       | 14 KB     | ############################################## | 100%
nbconvert-5.2.1      | 407 KB    | ############################################## | 100%
docutils-0.15.2      | 686 KB    | ############################################## | 100%
zeromq-4.2.5         | 4.5 MB    | ############################################## | 100%
tornado-4.5.2        | 621 KB    | ############################################## | 100%
pygments-2.2.0       | 2.4 MB    | ############################################## | 100%
get_terminal_size-1. | 7 KB      | ############################################## | 100%
ipython_genutils-0.2 | 37 KB     | ############################################## | 100%
sip-4.19.8           | 262 KB    | ############################################## | 100%
sphinx-2.2.2         | 1.4 MB    | ############################################## | 100%
jinja2-2.9.6         | 384 KB    | ############################################## | 100%
backports-1.0        | 4 KB      | ############################################## | 100%
prompt_toolkit-1.0.1 | 333 KB    | ############################################## | 100%
decorator-4.3.0      | 33 KB     | ############################################## | 100%
html5lib-1.0.1       | 250 KB    | ############################################## | 100%
ipykernel-5.1.3      | 168 KB    | ############################################## | 100%
psutil-5.4.7         | 312 KB    | ############################################## | 100%
jedi-0.12.0          | 213 KB    | ############################################## | 100%
ipython-6.3.1        | 1.0 MB    | ############################################## | 100%
jsonschema-2.6.0     | 86 KB     | ############################################## | 100%
mistune-0.8.3        | 178 KB    | ############################################## | 100%
jupyter_core-4.4.0   | 100 KB    | ############################################## | 100%
pyflakes-2.1.1       | 123 KB    | ############################################## | 100%
wcwidth-0.1.7        | 24 KB     | ############################################## | 100%
bleach-2.1.3         | 31 KB     | ############################################## | 100%
simplegeneric-0.8.1  | 9 KB      | ############################################## | 100%
jupyter_client-5.3.3 | 162 KB    | ############################################## | 100%
webencodings-0.5.1   | 19 KB     | ############################################## | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: | DEBUG menuinst_win32:__init__(199): Menu: name: 'Anaconda${PY_VER} ${PLATFORM}', prefix: 'C:\Users\Johnny.DATA\AppData\Local\Continuum\anaconda3\envs\idp', env_name: 'idp', mode: 'user', used_mode: 'user'
DEBUG menuinst_win32:create(323): Shortcut cmd is C:\Users\Johnny.DATA\AppData\Local\Continuum\anaconda3\python.exe, args are ['C:\\Users\\Johnny.DATA\\AppData\\Local\\Continuum\\anaconda3\\cwp.py', 'C:\\Users\\Johnny.DATA\\AppData\\Local\\Continuum\\anaconda3\\envs\\idp', 'C:\\Users\\Johnny.DATA\\AppData\\Local\\Continuum\\anaconda3\\envs\\idp\\python.exe', 'C:\\Users\\Johnny.DATA\\AppData\\Local\\Continuum\\anaconda3\\envs\\idp\\Scripts\\ipython-script.py']
DEBUG menuinst_win32:__init__(199): Menu: name: 'Anaconda${PY_VER} ${PLATFORM}', prefix: 'C:\Users\Johnny.DATA\AppData\Local\Continuum\anaconda3\envs\idp', env_name: 'idp', mode: 'user', used_mode: 'user'
/ DEBUG menuinst_win32:create(323): Shortcut cmd is C:\Users\Johnny.DATA\AppData\Local\Continuum\anaconda3\pythonw.exe, args are ['C:\\Users\\Johnny.DATA\\AppData\\Local\\Continuum\\anaconda3\\cwp.py', 'C:\\Users\\Johnny.DATA\\AppData\\Local\\Continuum\\anaconda3\\envs\\idp', 'C:\\Users\\Johnny.DATA\\AppData\\Local\\Continuum\\anaconda3\\envs\\idp\\pythonw.exe', 'C:\\Users\\Johnny.DATA\\AppData\\Local\\Continuum\\anaconda3\\envs\\idp\\Scripts\\spyder-script.py']
DEBUG menuinst_win32:create(323): Shortcut cmd is C:\Users\Johnny.DATA\AppData\Local\Continuum\anaconda3\python.exe, args are ['C:\\Users\\Johnny.DATA\\AppData\\Local\\Continuum\\anaconda3\\cwp.py', 'C:\\Users\\Johnny.DATA\\AppData\\Local\\Continuum\\anaconda3\\envs\\idp', 'C:\\Users\\Johnny.DATA\\AppData\\Local\\Continuum\\anaconda3\\envs\\idp\\python.exe', 'C:\\Users\\Johnny.DATA\\AppData\\Local\\Continuum\\anaconda3\\envs\\idp\\Scripts\\spyder-script.py', '--reset']
done

Intel(R) MPI Library 2019 Update 5 for Windows* Target Build Environment for Intel(R) 64 applications
Copyright 2007-2019 Intel Corporation.


(idp) C:\Users\Johnny.DATA>spyder

(idp) C:\Users\Johnny.DATA>
 

0 Kudos
ChithraJ_Intel
Moderator
3,065 Views

Hi,

Thanks for responding. We need some more information to debug the issue.

  1. Could you please clarify whether the following steps worked without errors before calling "spyder" command.
    conda create -n idp intelpython3_full python=3
    activate idp
    conda install spyder
    
  2. Please note that if you are installing "intelpython3_full" separately and not within the conda create command you should perform that step before launching spyder.

    activate idp
    conda install intelpython3_full
    conda install spyder
    spyder
    
  3. After successful launch of spyder you can check the environment as in the attached screenshot.

Please provide the output of "conda list " command after activating environment if you are still facing any issues.

Hope this helps. 

Thanks.

 

0 Kudos
Sandaire__Johnny
Beginner
3,065 Views

Hi,

Thank you for responding; I am having trouble getting the integration to work on my local area; for some odd reasons, I am unable to reach a succesfull development environment with the Intel distribution for Python.  I am sure it is probably a small gap that I can't figure out, but I am willing to keep at it until I am able to get it working.   When I reached the End of the installation, I typed spyder and it spins for a few seconds, and then nothing happened...

 

 I have been at it for two days so far.  Here is what I am doing for your verification:

-----------------------------------------------------  installation starts here --------------------------------


(base) C:\Users\Johnny>conda create -n idp2 intelpython3_full python=3
Collecting package metadata (current_repodata.json): done
Solving environment: done

## Package Plan ##

  environment location: C:\Users\Johnny\.conda\envs\idp2

  added / updated specs:
    - intelpython3_full
    - python=3


The following NEW packages will be INSTALLED:

  asn1crypto         intel/win-64::asn1crypto-0.24.0-py36_3
  bzip2              intel/win-64::bzip2-1.0.6-vc14_18
  certifi            intel/win-64::certifi-2018.1.18-py36_2
  cffi               intel/win-64::cffi-1.11.5-py36_3
  chardet            intel/win-64::chardet-3.0.4-py36_3
  cryptography       intel/win-64::cryptography-2.3-py36_2
  cycler             intel/win-64::cycler-0.10.0-py36_7
  cython             intel/win-64::cython-0.29.13-py36ha68da19_0
  daal               intel/win-64::daal-2019.5-intel_281
  daal4py            intel/win-64::daal4py-2019.5-py36ha68da19_2
  freetype           intel/win-64::freetype-2.9-vc14_4
  funcsigs           intel/win-64::funcsigs-1.0.2-py36_7
  icc_rt             intel/win-64::icc_rt-2019.5-intel_281
  idna               intel/win-64::idna-2.6-py36_3
  impi_rt            intel/win-64::impi_rt-2019.5-intel_281
  intel-openmp       intel/win-64::intel-openmp-2019.5-intel_281
  intelpython        intel/win-64::intelpython-2019.5-0
  intelpython3_core  intel/win-64::intelpython3_core-2019.5-0
  intelpython3_full  intel/win-64::intelpython3_full-2019.5-0
  joblib             intel/win-64::joblib-0.13.2-py36_1
  kiwisolver         intel/win-64::kiwisolver-1.0.1-py36_2
  libpng             intel/win-64::libpng-1.6.36-vc14_2
  llvmlite           intel/win-64::llvmlite-0.27.1-py36_0
  matplotlib         intel/win-64::matplotlib-3.1.1-py36_2
  menuinst           intel/win-64::menuinst-1.4.1-py36_6
  mkl                intel/win-64::mkl-2019.5-intel_281
  mkl-service        intel/win-64::mkl-service-2.3.0-py36_0
  mkl_fft            intel/win-64::mkl_fft-1.0.14-py36ha68da19_1
  mkl_random         intel/win-64::mkl_random-1.0.4-py36ha68da19_2
  mpi4py             intel/win-64::mpi4py-3.0.0-py36_6
  numba              intel/win-64::numba-0.42.1-np117py36_2
  numexpr            intel/win-64::numexpr-2.6.9-py36_0
  numpy              intel/win-64::numpy-1.17.0-py36ha68da19_13
  numpy-base         intel/win-64::numpy-base-1.17.0-py36_13
  openssl            intel/win-64::openssl-1.0.2s-vc14_0
  pandas             intel/win-64::pandas-0.25.0-py36_5
  pip                intel/win-64::pip-19.1.1-py36_0
  pycosat            intel/win-64::pycosat-0.6.3-py36_3
  pycparser          intel/win-64::pycparser-2.18-py36_2
  pyopenssl          intel/win-64::pyopenssl-17.5.0-py36_2
  pyparsing          intel/win-64::pyparsing-2.2.0-py36_2
  pysocks            intel/win-64::pysocks-1.6.7-py36_1
  python             intel/win-64::python-3.6.9-5
  python-dateutil    intel/win-64::python-dateutil-2.8.0-py36_0
  pytz               intel/win-64::pytz-2019.1-py36_0
  pyyaml             intel/win-64::pyyaml-5.1.1-py36_0
  requests           intel/win-64::requests-2.20.1-py36_1
  ruamel_yaml        intel/win-64::ruamel_yaml-0.11.14-py36_4
  scikit-learn       intel/win-64::scikit-learn-0.21.3-py36ha68da19_4
  scipy              intel/win-64::scipy-1.3.1-py36ha68da19_2
  setuptools         intel/win-64::setuptools-41.0.1-py36_0
  six                intel/win-64::six-1.12.0-py36_0
  sqlite             intel/win-64::sqlite-3.28.0-vc14_0
  tbb                intel/win-64::tbb-2019.8-vc14_intel_281
  tbb4py             intel/win-64::tbb4py-2019.8-py36_intel_0
  tcl                intel/win-64::tcl-8.6.4-vc14_24
  tk                 intel/win-64::tk-8.6.4-vc14_29
  urllib3            intel/win-64::urllib3-1.24.1-py36_2
  vc                 intel/win-64::vc-14.0-2
  vs2008_runtime     intel/win-64::vs2008_runtime-9.00.30729.6161-intel_2
  vs2015_runtime     intel/win-64::vs2015_runtime-14.0.25420-intel_2
  wheel              intel/win-64::wheel-0.31.0-py36_3
  win_inet_pton      intel/win-64::win_inet_pton-1.0.1-py36_4
  wincertstore       intel/win-64::wincertstore-0.2-py36_3
  xz                 intel/win-64::xz-5.2.4-vc14_5
  zlib               intel/win-64::zlib-1.2.11-vc14h21ff451_5


Proceed (/n)? y

Preparing transaction: done
Verifying transaction: done
Executing transaction: done
#
# To activate this environment, use
#
#     $ conda activate idp2
#
# To deactivate an active environment, use
#
#     $ conda deactivate

(base) C:\Users\Johnny>activate idp2

Intel(R) MPI Library 2019 Update 5 for Windows* Target Build Environment for Intel(R) 64 applications
Copyright 2007-2019 Intel Corporation.

(idp2) C:\Users\Johnny>conda install spyder
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: done

## Package Plan ##

  environment location: C:\Users\Johnny\.conda\envs\idp2

  added / updated specs:
    - spyder


The following NEW packages will be INSTALLED:

  alabaster          pkgs/main/win-64::alabaster-0.7.12-py36_0
  astroid            pkgs/main/win-64::astroid-2.3.3-py36_0
  babel              pkgs/main/noarch::babel-2.7.0-py_0
  backcall           intel/win-64::backcall-0.1.0-py36_2
  backports          intel/win-64::backports-1.0-py36_9
  bleach             intel/win-64::bleach-2.1.3-py36_2
  cloudpickle        pkgs/main/noarch::cloudpickle-1.2.2-py_0
  colorama           intel/win-64::colorama-0.3.9-py36_2
  decorator          intel/win-64::decorator-4.3.0-py36_3
  docutils           pkgs/main/win-64::docutils-0.15.2-py36_0
  entrypoints        intel/win-64::entrypoints-0.2.3-py36_2
  get_terminal_size  intel/win-64::get_terminal_size-1.0.0-py36_7
  html5lib           intel/win-64::html5lib-1.0.1-py36_4
  icu                pkgs/main/win-64::icu-58.2-ha66f8fd_1
  imagesize          pkgs/main/win-64::imagesize-1.1.0-py36_0
  ipykernel          pkgs/main/win-64::ipykernel-5.1.3-py36h39e3cac_0
  ipython            intel/win-64::ipython-6.3.1-py36_3
  ipython_genutils   intel/win-64::ipython_genutils-0.2.0-py36_2
  isort              pkgs/main/win-64::isort-4.3.21-py36_0
  jedi               intel/win-64::jedi-0.12.0-py36_2
  jinja2             intel/win-64::jinja2-2.9.6-py36_2
  jpeg               pkgs/main/win-64::jpeg-9b-hb83a4c4_2
  jsonschema         intel/win-64::jsonschema-2.6.0-py36_2
  jupyter_client     pkgs/main/win-64::jupyter_client-5.3.3-py36_1
  jupyter_core       intel/win-64::jupyter_core-4.4.0-py36_6
  keyring            pkgs/main/win-64::keyring-19.2.0-py36_0
  lazy-object-proxy  pkgs/main/win-64::lazy-object-proxy-1.3.1-py36hfa6e2cd_2
  libsodium          pkgs/main/win-64::libsodium-1.0.16-h9d3ae62_0
  markupsafe         intel/win-64::markupsafe-1.0-py36_3
  mccabe             pkgs/main/win-64::mccabe-0.6.1-py36_1
  mistune            intel/win-64::mistune-0.8.3-py36_2
  nbconvert          intel/win-64::nbconvert-5.2.1-py36_2
  nbformat           intel/win-64::nbformat-4.4.0-py36_2
  numpydoc           pkgs/main/noarch::numpydoc-0.9.1-py_0
  packaging          pkgs/main/noarch::packaging-19.2-py_0
  pandocfilters      intel/win-64::pandocfilters-1.4.1-py36_2
  parso              intel/win-64::parso-0.2.0-py36_2
  path.py            intel/win-64::path.py-11.0.1-py36_2
  pickleshare        intel/win-64::pickleshare-0.7.4-py36_3
  prompt_toolkit     intel/win-64::prompt_toolkit-1.0.15-py36_2
  psutil             pkgs/main/win-64::psutil-5.4.7-py36hfa6e2cd_0
  pycodestyle        pkgs/main/win-64::pycodestyle-2.5.0-py36_0
  pyflakes           pkgs/main/win-64::pyflakes-2.1.1-py36_0
  pygments           intel/win-64::pygments-2.2.0-py36_5
  pylint             pkgs/main/win-64::pylint-2.4.4-py36_0
  pyqt               pkgs/main/win-64::pyqt-5.9.2-py36h6538335_2
  pywin32            pkgs/main/win-64::pywin32-223-py36hfa6e2cd_1
  pywin32-ctypes     pkgs/main/win-64::pywin32-ctypes-0.2.0-py36_0
  pyzmq              pkgs/main/win-64::pyzmq-17.1.2-py36hfa6e2cd_0
  qt                 pkgs/main/win-64::qt-5.9.6-vc14h62aca36_0
  qtawesome          pkgs/main/noarch::qtawesome-0.6.0-py_0
  qtconsole          pkgs/main/noarch::qtconsole-4.6.0-py_0
  qtpy               pkgs/main/noarch::qtpy-1.9.0-py_0
  rope               pkgs/main/noarch::rope-0.14.0-py_0
  simplegeneric      intel/win-64::simplegeneric-0.8.1-py36_7
  sip                pkgs/main/win-64::sip-4.19.8-py36h6538335_0
  snowballstemmer    pkgs/main/noarch::snowballstemmer-2.0.0-py_0
  sphinx             pkgs/main/noarch::sphinx-2.2.2-py_0
  sphinxcontrib-app~ pkgs/main/noarch::sphinxcontrib-applehelp-1.0.1-py_0
  sphinxcontrib-dev~ pkgs/main/noarch::sphinxcontrib-devhelp-1.0.1-py_0
  sphinxcontrib-htm~ pkgs/main/noarch::sphinxcontrib-htmlhelp-1.0.2-py_0
  sphinxcontrib-jsm~ pkgs/main/noarch::sphinxcontrib-jsmath-1.0.1-py_0
  sphinxcontrib-qth~ pkgs/main/noarch::sphinxcontrib-qthelp-1.0.2-py_0
  sphinxcontrib-ser~ pkgs/main/noarch::sphinxcontrib-serializinghtml-1.1.3-py_0
  spyder             pkgs/main/win-64::spyder-3.3.6-py36_0
  spyder-kernels     pkgs/main/win-64::spyder-kernels-0.5.2-py36_0
  testpath           intel/win-64::testpath-0.3.1-py36_2
  tornado            intel/win-64::tornado-4.5.2-py36_5
  traitlets          intel/win-64::traitlets-4.3.2-py36_3
  typed-ast          pkgs/main/win-64::typed-ast-1.1.0-py36hfa6e2cd_0
  wcwidth            intel/win-64::wcwidth-0.1.7-py36_6
  webencodings       intel/win-64::webencodings-0.5.1-py36_0
  win_unicode_conso~ intel/win-64::win_unicode_console-0.5-py36_2
  wrapt              pkgs/main/win-64::wrapt-1.10.11-py36hfa6e2cd_2
  zeromq             pkgs/main/win-64::zeromq-4.2.5-he025d50_1


Proceed (/n)? y

Preparing transaction: done
Verifying transaction: done
Executing transaction: done

Intel(R) MPI Library 2019 Update 5 for Windows* Target Build Environment for Intel(R) 64 applications
Copyright 2007-2019 Intel Corporation.

(idp2) C:\Users\Johnny>spyder

(idp2) C:\Users\Johnny>

0 Kudos
Sandaire__Johnny
Beginner
3,065 Views

Here is my Conda list:

 

(idp2) C:\Users\Johnny>conda list
# packages in environment at C:\Users\Johnny\.conda\envs\idp2:
#
# Name                    Version                   Build  Channel
alabaster                 0.7.12                   py36_0
asn1crypto                0.24.0                   py36_3    intel
astroid                   2.3.3                    py36_0
babel                     2.7.0                      py_0
backcall                  0.1.0                    py36_2    intel
backports                 1.0                      py36_9    intel
bleach                    2.1.3                    py36_2    intel
bzip2                     1.0.6                   vc14_18  [vc14]  intel
certifi                   2018.1.18                py36_2    intel
cffi                      1.11.5                   py36_3    intel
chardet                   3.0.4                    py36_3    intel
cloudpickle               1.2.2                      py_0
colorama                  0.3.9                    py36_2    intel
cryptography              2.3                      py36_2    intel
cycler                    0.10.0                   py36_7    intel
cython                    0.29.13          py36ha68da19_0    intel
daal                      2019.5                intel_281    intel
daal4py                   2019.5           py36ha68da19_2    intel
decorator                 4.3.0                    py36_3    intel
docutils                  0.15.2                   py36_0
entrypoints               0.2.3                    py36_2    intel
freetype                  2.9                      vc14_4  [vc14]  intel
funcsigs                  1.0.2                    py36_7    intel
get_terminal_size         1.0.0                    py36_7    intel
html5lib                  1.0.1                    py36_4    intel
icc_rt                    2019.5                intel_281    intel
icu                       58.2                 ha66f8fd_1
idna                      2.6                      py36_3    intel
imagesize                 1.1.0                    py36_0
impi_rt                   2019.5                intel_281    intel
intel-openmp              2019.5                intel_281    intel
intelpython               2019.5                        0    intel
intelpython3_core         2019.5                        0    intel
intelpython3_full         2019.5                        0    intel
ipykernel                 5.1.3            py36h39e3cac_0
ipython                   6.3.1                    py36_3    intel
ipython_genutils          0.2.0                    py36_2    intel
isort                     4.3.21                   py36_0
jedi                      0.12.0                   py36_2    intel
jinja2                    2.9.6                    py36_2    intel
joblib                    0.13.2                   py36_1    intel
jpeg                      9b                   hb83a4c4_2
jsonschema                2.6.0                    py36_2    intel
jupyter_client            5.3.3                    py36_1
jupyter_core              4.4.0                    py36_6    intel
keyring                   19.2.0                   py36_0
kiwisolver                1.0.1                    py36_2    intel
lazy-object-proxy         1.3.1            py36hfa6e2cd_2
libpng                    1.6.36                   vc14_2  [vc14]  intel
libsodium                 1.0.16               h9d3ae62_0
llvmlite                  0.27.1                   py36_0    intel
markupsafe                1.0                      py36_3    intel
matplotlib                3.1.1                    py36_2    intel
mccabe                    0.6.1                    py36_1
menuinst                  1.4.1                    py36_6    intel
mistune                   0.8.3                    py36_2    intel
mkl                       2019.5                intel_281    intel
mkl-service               2.3.0                    py36_0    intel
mkl_fft                   1.0.14           py36ha68da19_1    intel
mkl_random                1.0.4            py36ha68da19_2    intel
mpi4py                    3.0.0                    py36_6    intel
nbconvert                 5.2.1                    py36_2    intel
nbformat                  4.4.0                    py36_2    intel
numba                     0.42.1              np117py36_2    intel
numexpr                   2.6.9                    py36_0    intel
numpy                     1.17.0          py36ha68da19_13    intel
numpy-base                1.17.0                  py36_13    intel
numpydoc                  0.9.1                      py_0
openssl                   1.0.2s                   vc14_0  [vc14]  intel
packaging                 19.2                       py_0
pandas                    0.25.0                   py36_5    intel
pandocfilters             1.4.1                    py36_2    intel
parso                     0.2.0                    py36_2    intel
path.py                   11.0.1                   py36_2    intel
pickleshare               0.7.4                    py36_3    intel
pip                       19.1.1                   py36_0    intel
prompt_toolkit            1.0.15                   py36_2    intel
psutil                    5.4.7            py36hfa6e2cd_0
pycodestyle               2.5.0                    py36_0
pycosat                   0.6.3                    py36_3    intel
pycparser                 2.18                     py36_2    intel
pyflakes                  2.1.1                    py36_0
pygments                  2.2.0                    py36_5    intel
pylint                    2.4.4                    py36_0
pyopenssl                 17.5.0                   py36_2    intel
pyparsing                 2.2.0                    py36_2    intel
pyqt                      5.9.2            py36h6538335_2
pysocks                   1.6.7                    py36_1    intel
python                    3.6.9                         5    intel
python-dateutil           2.8.0                    py36_0    intel
pytz                      2019.1                   py36_0    intel
pywin32                   223              py36hfa6e2cd_1
pywin32-ctypes            0.2.0                    py36_0
pyyaml                    5.1.1                    py36_0    intel
pyzmq                     17.1.2           py36hfa6e2cd_0
qt                        5.9.6            vc14h62aca36_0
qtawesome                 0.6.0                      py_0
qtconsole                 4.6.0                      py_0
qtpy                      1.9.0                      py_0
requests                  2.20.1                   py36_1    intel
rope                      0.14.0                     py_0
ruamel_yaml               0.11.14                  py36_4    intel
scikit-learn              0.21.3           py36ha68da19_4    intel
scipy                     1.3.1            py36ha68da19_2    intel
setuptools                41.0.1                   py36_0    intel
simplegeneric             0.8.1                    py36_7    intel
sip                       4.19.8           py36h6538335_0
six                       1.12.0                   py36_0    intel
snowballstemmer           2.0.0                      py_0
sphinx                    2.2.2                      py_0
sphinxcontrib-applehelp   1.0.1                      py_0
sphinxcontrib-devhelp     1.0.1                      py_0
sphinxcontrib-htmlhelp    1.0.2                      py_0
sphinxcontrib-jsmath      1.0.1                      py_0
sphinxcontrib-qthelp      1.0.2                      py_0
sphinxcontrib-serializinghtml 1.1.3                      py_0
spyder                    3.3.6                    py36_0
spyder-kernels            0.5.2                    py36_0
sqlite                    3.28.0                   vc14_0  [vc14]  intel
tbb                       2019.8           vc14_intel_281  [vc14]  intel
tbb4py                    2019.8             py36_intel_0  [vc14]  intel
tcl                       8.6.4                   vc14_24  [vc14]  intel
testpath                  0.3.1                    py36_2    intel
tk                        8.6.4                   vc14_29  [vc14]  intel
tornado                   4.5.2                    py36_5    intel
traitlets                 4.3.2                    py36_3    intel
typed-ast                 1.1.0            py36hfa6e2cd_0
urllib3                   1.24.1                   py36_2    intel
vc                        14.0                          2    intel
vs2008_runtime            9.00.30729.6161         intel_2    intel
vs2015_runtime            14.0.25420              intel_2    intel
wcwidth                   0.1.7                    py36_6    intel
webencodings              0.5.1                    py36_0    intel
wheel                     0.31.0                   py36_3    intel
win_inet_pton             1.0.1                    py36_4    intel
win_unicode_console       0.5                      py36_2    intel
wincertstore              0.2                      py36_3    intel
wrapt                     1.10.11          py36hfa6e2cd_2
xz                        5.2.4                    vc14_5  [vc14]  intel
zeromq                    4.2.5                he025d50_1
zlib                      1.2.11           vc14h21ff451_5  [vc14]  intel

(idp2) C:\Users\Johnny>

0 Kudos
Athira_C_Intel
Employee
3,065 Views

Hi,

Thank you for your response.

From your conda list we found the versions of the packages as "pyqt = 5.9.2  , qt = 5.9.6 , sip =  4.19.8 ". Please uninstall these and try installing the following specified version of the packages.

pyqt = 5.6 , qt=5.6 , sip=4.18

Kindly use the below commands to install the required versions,

conda install pyqt=5.6

Through this command qt=5.6 and sip=4.18 will get installed by default.

 

0 Kudos
ChithraJ_Intel
Moderator
3,065 Views

Hi,

Could you please confirm whether the issue is solved or not?

0 Kudos
Sandaire__Johnny
Beginner
3,065 Views

Thank you for your research.  I was also doing some research on my side, while I waited for your reply.  I had a much newer PC in my Office, a Dell XPS with an Intel Core i7-8700 chip, enhanced with 32 Gig of RAM.  I installed Anaconda on it and when I looked at the Environment area, there was a CondaEnv that was already created.  I cloned it into an Intel Environment and installed the latest version of Spyder (4.0) and Daal4py.   Spyder started right up and I was able to run some code with the dall4py library.  Once I discovered this working environment, I copied the environment and its contents and dropped it into the Conda envs folder of my two Home Office PCs. that was having trouble with Spyder and Daal4py, etc...  At home, I only needed to reinstall the QT libraries and I was all set to go with Spyder 4 on all my computers.   Joyful - joyful...  This is a typical starter library set that I am able to use to test and train my data.  I have not done too much yet, since I am still learning, but, I am ready to start learning with daal4py for Python and Microsoft R Open and its libraries for R.  Thank you so much for your support and response.

# install.packages("numpy")
import numpy as np
import matplotlib
from matplotlib import pyplot as plt
import pandas as pd

import daal4py as d4p
from daal4py import kmeans_init
 

0 Kudos
ChithraJ_Intel
Moderator
3,065 Views

Hi,

Glad to hear that spyder is working for you after installing the specified libraries. 

Could you please confirm whether you are able run to the python code after launching spyder?

Please feel free to get back to us in case you face any issues. We will be glad to assist you.

 

Thanks.

0 Kudos
Sandaire__Johnny
Beginner
3,065 Views

Hello Chithra,

I have not had a chance to run some meaningful analysis yet; I was preparing my environment for doing just that.  So, since you asked; would yo mind sending me a link to a nice training article or data set with instructions that I can use to practice with daal4py?

All the articles that I have read so far takes for granted that I am already well versed in data science and know much more than lead on,. so I am mostly lost in translation and do not fully comprehend most of the jargon or instructions from the articles.For example, take a look at these two amazing pages from Intel about the new code upgrade that was sent out yesterday:

https://software.intel.com/en-us/mkl

https://software.intel.com/en-us/get-started-with-daal-for-windows

They are both GREAT and I would love to tackle them, but they flew right above my head right now.

Please feel free to point me to a more simpler direction that I can crawl into...

Warmest regards.

Johnny

 

Chithra_Intel (Intel) wrote:

Hi,

Glad to hear that spyder is working for you after installing the specified libraries. 

Could you please confirm whether you are able run to the python code after launching spyder?

Please feel free to get back to us in case you face any issues. We will be glad to assist you.

 

Thanks.

0 Kudos
ChithraJ_Intel
Moderator
3,065 Views

Hi,

Thanks for the confirmation that your spyder issue was resolved. We are closing this case.
Could you please raise a new thread for further queries, so that we can give more support to you.

0 Kudos
Reply