Can't install package from pip using python 3.6 virtualenv

I created a virtual environment for python 3.6 and I tried to install the package crc16

. I got this error:

/usr/bin/ld: cannot find -lpython3.6m

      

I tried to fix this using

export PKG_CONFIG_PATH=/path/to/python3.6/binaries/usr/local/lib/pkgconfig

      

and i tested it with

$ pkg-config --libs python3
-L/usr/local/lib -lpython3.6m

      

but unfortunately it continues to work.

Python 3.6 is set in custom prefix with make install DESTDIR=/path/to/destdir

+3


source to share





All Articles