Skip to main content

Posts

Showing posts from December, 2018

Installing virtualenv in Custom MSC Linux board

I am currently working on a Python project which runs on MSC board (with custom Linux OS). Even installing something as basic as virtualenv on this board needed some 'efforts'.  So, I decided to summarize the steps that helped me to get python virtual environment working on this Linux based board.  Hopefully, it might also help some other developers facing similar issues.   Install virtualenv package     I had to use ' --trusted-host ' flag for both pypi.org and      ' files. pythonhosted.org ' to avoid ssl certificate errors.      However, use of this flag should be avoided in general      because it overrides some essential security checks.          python3.6 -m pip install --trusted-host= pypi.org virtualenv      --trusted-host= files. pythonhosted.org Define symbolic library path     We need to define path of ' libpython' symbolic library      corresponding to the Python version installed in MSC Board.      Otherwise