Questions tagged [django]
43 questions
7
votes
1 answer
CentOS 7 | python3: error while loading shared libraries: libpython3.5m.so.1.0
I am deploying a django server.
I've already installed python 3.5 without errors, but for some problems when I tried to compile mod_wsgi (so I could share the django app in an intranet environment with apache):
./configure…
Rafael Ortega
- 173
- 1
- 1
- 5
6
votes
1 answer
How to resolve (40: Too many levels of symbolic links) on Ubuntu 10.04 AWS EC2 Instance
In my EC2 Ubuntu 18.04 instance, I have created an django.conf file at /etc/nginx/sites-available
The .conf file looks like so :
server {
listen 80;
server_name *[url_name]*;
location / {
include…
KyleStranger
- 163
- 1
- 1
- 4
6
votes
1 answer
What are the differences between runit and supervisord?
I'm looking into changing our Django deployments and was reading the deploy page for gunicorn and it talks about both supervisord which I was aware of and planning on using and runit that I don't recall hearing about before. Why would I pick one…
Kit Sunde
- 4,394
- 10
- 30
- 34
3
votes
1 answer
No default output device -9996: playing sound through Django
I'm facing a problem with my Raspberry Pi while playing a sound through a web page. The page is built in with Django and is quite simple: you push on a button and a sound is played (a Python script is executed). I tested it on a Debian 7 in a…
cabreracanal
- 133
- 5
3
votes
1 answer
Python "SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/docutils/"
PROBLEM
Whatever I try to install from terminal with pip (macOS 10.12) I get this error message
I may have installed and fully deleted homebrew before but I am not sure how to solve this
Installs I try to run (all cases same error message)
pip…
sogu
- 141
- 2
- 2
- 9
3
votes
1 answer
Ubuntu: Process vfs-worker taking all CPU resources
My Cloud9 (Ubuntu-based cloud IDE) began to be unresponsive after I tried to save some files (they didn't save to my cloud workspace). It shows 100% CPU utilization and a process that takes all CPU power.
Here is the error from which the 100% CPU…
Peter Gerhat
- 1,202
- 5
- 17
- 30
3
votes
0 answers
Best practice for django app deploy location?
I would like to hear from other developers where they deploy their django (python web-app) app code on the filesystem (own server)- not django itself, but the project custom app code.
I'm on Ubuntu and have deployed django app code in user accounts…
powderflask
- 166
- 5
3
votes
1 answer
How Do I Package a Django Website for Debian (Not a Python Package or Egg)?
I have been searching for the last two weeks and chased myself into multiple dead ends trying to figure out the path that takes me where I want to go. However I finally have to admit that my answer isn't clearly posted anywhere, and here we…
Routhinator
- 126
- 13
2
votes
1 answer
Where are Python dist-packages stored in FreeBSD?
I am trying to find this path on FreeBSD but it is not working: /usr/local/lib/python2.7/dist-packages
This same path is working on Ubuntu.
Can please some tell me where I can find Python dist-packages? Actually, I am trying to find the Django…
VaIbHaV-JaIn
- 165
- 2
- 7
2
votes
2 answers
What is symlinking and how can learn I how to to do this?
From the Django-Documentation:
The django-admin.py script should be on your system path if you installed Django via its setup.py utility. If it’s not on your path, you can find it in site-packages/django/bin within your Python installation.…
lightning
- 123
- 1
- 1
- 6
2
votes
0 answers
No such file or directory when trying to COPY file in docker container
This question was asked before. However I can't seem to fix this. I am trying to COPY a file to my docker container, but it keeps telling me that the directory doesn't exist, even though it does. I can copy other folders, but not this specific one.…
Micromegas
- 121
- 1
- 5
2
votes
2 answers
Debian: What is Best Practice when a question from a dpkg install must be asked on every install/upgrade?
I have a .deb installer for a Django system and there are questions I need to ask the person installing the software. I can see a few ways to do this, and I want to know what constitutes best practice for a Debian package.
Now normally, debconf…
nick_at_MHT
- 23
- 3
2
votes
1 answer
Resizing Xterm window kills Django running in it
I have a Django instance running in a terminal window. Any time I resize the window, the Django process dies ungracefully, leaving no record of it in the error_log file.
I tested it within ratpoison, xmonad and mwm. Both xterm and rxvt-unicode are…
dmvianna
- 397
- 3
- 14
2
votes
2 answers
FreeBSD: How to install Django with mod_wsgi?
Using FreeBSD 8.2-RELEASE. I want to mess around with Django and I want a working setup on my freebsd system. My understanding is I need to install python, apache, mod_wsgi, and django. The handbook section on Django talks about mod_python not…
User
- 2,197
- 2
- 20
- 22
1
vote
1 answer
gcc not found when installing mysqldb for django 1.4
I am trying to install the python module mysqldb which is the python interface for mysql. I need this module because I am creating a Django development server (Django 1.4, OpenSUSE) and the database package I wish to use is mysql. This is the…
smilebomb
- 165
- 1
- 1
- 8