• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Solved No pip with Python 3.4 port

Donbot

New Member


Messages: 1

#1
First off, please excuse the possible noobery. I've installed Python 3.4 from ports (lang/python34). I'd like to have pip as well, it's allegedly bundled with 3.4 onwards but I definitely don't have it.

$ freebsd-version
Code:
10.1-RELEASE
$ python -V
Code:
Python 3.4.1
$ python -m pip install django
Code:
/usr/bin/python: No module named pip
Looks like devel/py-pip is for Python 2.7 only, and every resource online says 3.4 should have pip bundled already. How can I get pip going with my 3.4 port?

Thanks
 
Last edited by a moderator:

tomster

New Member


Messages: 4

#3
I get the following error when running the above command:

Code:
/usr/local/lib/libpython3.5m.so.1.0: Undefined symbol "utimensat"
I'm running FreeBSD 10.2 with python3.5 installed via pkg and am utterly unable to get pip for python 3 to work.

any pointers?
 

tomster

New Member


Messages: 4

#4
Actually, I just tried the same command successfully inside a jail on the same host and it worked just fine - perhaps something in my host system is wonky (I'm actually running PC-BSD)...
 

akram65

Member

Thanks: 2
Messages: 42

#6
Its a little bit late, but if anyone can help.

Code:
python3 -m ensurepip
says requirement already satisfied but it doesn't work when I try pip3 or pip3.6 to install something.
It says pip3 / pip3.6 command not identified.
 

SirDice

Administrator
Staff member
Administrator
Moderator

Thanks: 5,508
Messages: 25,688

#8
As this is an old post it has an old solution, since then devel/py3-pip was added to the ports tree (it was added a full year after the original question was asked). I suggest you use that.