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

pythonvars.sh+csh missing from install of python 3.5

Jordan_G_
Beginner
755 Views

Hi,

I just did a default Linux installation of both Intel 2017 Python 2.7 and 3.5. In the 3.5 installation the pythonvars.sh and pythonvars.csh environment files are never included.

[root@head bin]# ls /opt/intel/intelpython27/bin/pythonvar*
/opt/intel/intelpython27/bin/pythonvars.csh  /opt/intel/intelpython27/bin/pythonvars.sh

[root@head bin]# ls /opt/intel/intelpython35/bin/pythonvar*
ls: cannot access /opt/intel/intelpython35/bin/pythonvar*: No such file or directory

[root@head bin]# rpm -qa | grep intel | grep python
intel-python-pset35-2017.0p-028.noarch
intel-python-pset27-2017.0p-028.noarch
intel-gdb-python-source-2017.0-098.noarch
intel-python35-2017.0p-028.noarch
intel-python27-2017.0p-028.noarch

[root@head bin]# cat /etc/redhat-release 
CentOS Linux release 7.2.1511 (Core) 

I've adapted the file from the 2.7 install, but wanted to make sure it is known.

0 Kudos
2 Replies
Todd_T_Intel
Employee
755 Views

Jordan, thank you for using the Intel Distribution for Python!

The pythonvars scripts were removed in our final release because they duplicated the functionality of conda's "activate" script. We recommend using that instead. To "activate" the primary (root) python environment, use the following:

Linux/Mac:

> source activate root

Windows:

> Scripts\activate

 

0 Kudos
Jordan_G_
Beginner
755 Views

Thank you for the quick reply. I'm playing with the results of their activate script and attempting a conversion of it over to environment modules.

Have a good day.

0 Kudos
Reply