I am using centos7
my python script works fine, when i execute as
python myscripy.py (python --version is pointing to python2.7.5)
i used following link to install pyodbc https://github.com/mkleehammer/pyodbc/wiki/Connecting-to-SQL-Server-from-RHEL-6-or-Centos-7
when i run my python script using
python3.6 myscript.py
ModuleNotFoundError: No module named 'pyodbc'
On trying to install devel using
sudo yum install python3-devel,i am getting follwing error
file /usr/lib/python3.6/site-packages/pip/vcs/pycache/subversion.cpython-36.pyc from install of python3-pip-9.0.3-7.el7_7.noarch conflicts with file from package python36u-pip-9.0.1-1.ius.centos7.noarch
I tried changing alias as well,but it did not work. Please help me to run my code with python3.6 as well