Comments (8)
It looks like you didn't installed django
I think sudo pip install django==1.8.3
command will be helpful
Also, which OS do you use? Do you use virtualenv?
from torrentbox.
I'm using Linux Codeanywhere, I have created new connections with Linux, Django and Python,
the pip command shows is invalid, can not install.
from torrentbox.
I tried to install on the Codeanywhere a few minuted ago, but I failed because it offers too small storage (2 GB)
TorrentBOX uses libtorrent library to download torrent and it takes some space
If you have space more than 2GB, try below installation process with Django (Ubuntu 14.04) connection
Open the SSH Terminal and type below commands
# Create python3 virtualenv
virtualenv -p python3 ~/workspace/torrentboxenv
cd ~/workspace/torrentboxenv
source bin/activate
# Install libtorrent module
git clone https://github.com/arvidn/libtorrent.git -b RC_1_0
cd libtorrent
sudo apt-get update
sudo apt-get install autoconf libtool libboost-all-dev libssl-dev
./autotool.sh
./configure --enable-python-binding PYTHON=`which python` --prefix=$VIRTUAL_ENV --with-boost-python=py34
make
make install
echo 'export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$VIRTUAL_ENV/lib"' >> ~/workspace/torrentboxenv/bin/activate
source ~/workspace/torrentboxenv/bin/activate
cd ~/workspace/torrentboxenv
git clone https://github.com/L34p/TorrentBOX.git -b refactoring
cd TorrentBOX
pip install -r requirements.txt
sudo apt-get install rabbitmq-server
# Two terminals are needed
python manage.py runserver 0.0.0.0:8000
python manage.py celeryd -l info -c 5
from torrentbox.
Sorry about the delay, I managed to install everything, but in the end does not run, look at the screenshots:
I appreciate if you help me D:
from torrentbox.
Did you installed libtorrent? The first screenshot says that there is no libtorrent module
If you installed correctly, try below commands
cd ~/workspace/torrentboxenv
source bin/activate
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$VIRTUAL_ENV/lib"
python -c 'import libtorrent'
If there is no error, it is fine
Also, you have to activate the virtualenv before running django
First terminal
cd ~/workspace/torrentboxenv
source bin/activate
cd TorrentBOX
python manage.py runserver 0.0.0.0:8000
Second terminal
cd ~/workspace/torrentboxenv
source bin/activate
cd TorrentBOX
python manage.py celeryd -l info -c 5
from torrentbox.
Thanks for answering.
I tried to install libtorrent using the command: git clone libtorrent -b RC_1_0
Does not work, also I tried this: git clone git: //github.com/rakshasa/libtorrent.git
./autogen.sh the works, but gives error in the make and ./configure.
NOTE: Linux operating system, Ubuntu 14.04, Django / Python 3
from torrentbox.
If you don't have to use virtualenv, there is easy way.
# If you use virtualenv, then deactivate it first
deactivate
sudo apt-get install python3-libtorrent
sudo pip3 install -r requirements.txt
First terminal
# Do not activate virtualenv
python3 manage.py runserver 0.0.0.0:8000
Second terminal
# Do not activate virtualenv
python3 manage.py celeryd -l info -c 5
from torrentbox.
Sorry, git clone libtorrent -b RC_1_0
is typo
git clone https://github.com/arvidn/libtorrent.git -b RC_1_0
will work
from torrentbox.
Related Issues (9)
- Can't add .torrent on raspberry HOT 2
- heroku error
- 404 Not Found error when Debug set to False HOT 7
- Can't download large file via Nginx+uWSGI HOT 3
- UnicodeEncodeError: 'ascii' codec can't encode characters in position 44-49: ordinal not in range(128) HOT 1
- Help to instalation HOT 1
- how to deploy it to heroku
- Need help! HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from torrentbox.