Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
-1 votes
1 answer
854 views

How can I install pip on FreeBSD?

I was trying to install python and pip on my FreeBSD 15.0 server. It seems like I've successfully installed python. Now I have both Python3.9 and Python 3.11. However, I can't find and package called &...
Gordon Zhang's user avatar
2 votes
1 answer
1k views

Python script as rc service on FreeBSD operating system

I have a Python script that I would like to run in a FreeNAS jail. It works without the service daemon, but I would like to start it as a service. I have created the following service script /etc/rc.d/...
Ukhu's user avatar
  • 21
0 votes
1 answer
771 views

Freebsd 12 error when use pip install

No experience with Freebsd, but I need to write and run a script. Can't install python-ldap or another lib. An error: /usr/local/bin/python3.7 -m pip install python-ldap ld-elf.so.1: /lib/libc.so.7: ...
Олег Баталов's user avatar
2 votes
2 answers
4k views

Python 3.9 and pip-3.9 on FreeBSD 12.2

I'm facing a confusing situation. The official latest fully-supported version of Python is 3.9, and while it's available in FreeBSD pkg, pip-3.9 isn't, and I'll be needing it in the future when Python ...
DannyNiu's user avatar
  • 702
3 votes
1 answer
528 views

FreeBSD Python missing header files

I am using FreeBSD 11, Python 3.7, and clang 8.0.0, and I am trying to install Python packages using pip. But when I try to install a package, for example pycurl, I get an error saying it can't find ...
Fred's user avatar
  • 345
0 votes
1 answer
1k views

Failure in running Python script using a cron

I am using the FreeBSD variant as seen below: [2.2.4-RELEASE][[email protected]]/home/Script_to_monitor_power: uname -a FreeBSD ROUTER.local 10.1-RELEASE-p15 FreeBSD 10.1-RELEASE-p15 #0 c5ab052(...
fsociety's user avatar
  • 149
3 votes
1 answer
4k views

How to change the default (binary) python version in a FreeBSD jail?

In a jail, I have installed python3.6 along python3.4. Both were installed using pkg install, no ports. I want to keep the 3.4 version for some time, but set the 3.6 as default. Answers found in ...
zezollo's user avatar
  • 141
1 vote
1 answer
102 views

What is ${PYTHON_REL} FreeBSD

I have an error whilst making a port, so I checked the makefile, and found the problematic line. The issue is that I don't know how to fix it, as I don't know how to change the Python_Rel variable. ...
Brandon Bradley's user avatar
1 vote
1 answer
2k views

FreeBSD Selenium PhantomJS - Can not connect to the Service

i am stuck to run PhantomJS with selenium. So i have prepared a FreeBSD Jail and installed phantomjs via ports. whereis phantomjs > phantomjs: /usr/local/bin/phantomjs /usr/ports/lang/phantomjs /...
raxer's user avatar
  • 41
4 votes
2 answers
4k views

FreeBSD: using python3 in uwsgi instead of python2

I have a server with FreeBSD 10.1 installed. I want to deploy a Django site on it using uwsgi+nginx+python3 and got some problems. The site was written for python3, I installed python3.4 then python3 ...
DiA's user avatar
  • 143
2 votes
3 answers
6k views

Run a Python script in the background on boot

I recently installed the Google App Engine Development server on my FreeBSD home server to be able to test my GAE app remotely. What I can't figure out is how to run the Python development server as a ...
Rebel Designer's user avatar
2 votes
1 answer
6k views

How to build openssl with clang(rather than gcc) on a FreeBSD machine?

I have a 64 bit FreeBSD build machine. I need to add https support in my python3 application code. For that it is advised to build/compile python with openssl support. I do not need any gcc dependency ...
tarun_2709's user avatar
3 votes
2 answers
4k views

What should I do about Python 2.7.9 not looking for SSL certificates in the right place on FreeBSD?

I have a FreeBSD 10.0 system, and a couple of days ago, I upgraded my python27 port from Python 2.7.8 to Python 2.7.9, which enabled SSL verification by default. Unsurprisingly, it broke my existing ...
jamesdlin's user avatar
  • 868
1 vote
1 answer
2k views

FreeBSD Ports Broken -- Python Issue? Portmaster -a

Upgraded FreeBSD from 8.2 >> 8.4 >> 10.0-RELEASE today. In the process, I believe I have mangled my ports tree quite badly and am having issues upgrading/reinstalling ports (as the upgrade asks me to ...
scraft3613's user avatar
5 votes
0 answers
4k views

FreeBSD: How to start a python script as daemon?

I'm facing an issue with a python file that I'd like to start as a service. I named my service ocrserver and the script I want to start is in /home/administrator/ocr/ocrserver/init.py with some ...
onizukaek's user avatar
  • 151

15 30 50 per page