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
python python-3.x pip pkg-config


source to share


No one has answered this question yet

Check out similar questions:

2453
How do I install pip on Windows?
1806
How do I upgrade all Python packages using pip?
1676
How do I install pip on macOS or OS X?
1329
How to logout / logout / disable Python virtualenv
1168
Installing specific versions of a package using pip
939
How to install packages using pip according to requirements.txt file from local directory?
758
pip install mysql-python doesn't work with EnvironmentError: mysql_config not found
596
Using Python 3 in virtualenv
581
Find which version of the package is installed using pip
460
How do I install pip with Python 3?



All Articles
Loading...
X
Show
Funny
Dev
Pics