pip - pyodbc install does not support python 3.5.1 -


i trying install pyodbc specific project, unfortunately when try install, no matter command end following error:

command "/usr/local/bin/python3.5 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-vw5rz5_t/pyodbc/setup.py'; exec(compile(getattr(tokenize, 'open', open)(__file__).read() .replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-p5vfq2hq-record/install-record.txt --single-version- externally-managed --compile" failed error code 1 in  /tmp/pip-build-vw5rz5_t/pyodbc/ 

obviously, error has been reported here, , aware python version dependency error. have attempted many different approaches deal issue, including attempts in stack overflow question, , following:

  • original attempt:

    sudo pip3 install pyodbc 
  • installing in virtualenv (see here, , here)

could point me correct way install python package has dependency on python version default python package? have project runs on python3.5 prefer if install in virtualenv.

thanks help!

this should work.

clone, build , install!

$ git clone https://github.com/mkleehammer/pyodbc.git $ python3 setup.py build # python3 setup.py install 

you might need unixodbc since it's pyodbc dependency.

have fun!


Comments

Popular posts from this blog

ios - Memory not freeing up after popping viewcontroller using ARC -

Django REST Framework perform_create: You cannot call `.save()` after accessing `serializer.data` -

Why does Go error when trying to marshal this JSON? -