Initial setup for anaconda virtual environment.
Server version is anaconda 64bit / 2 + ; however, this version is anaconda 3+ / 64bit.
you need to download the anaconda 3 then you need to activate anaconda 3.
input ( source bin/activate )
output (root) sadikerisen@station-X200MA:~/anaconda3$
after that please check anaconda virtual envrinment is actvated or not and you have the correct version or not?
input ( python --version )
output (root) sadikerisen@station-X200MA:~/anaconda3$ python --version
Python 3.5.2 :: Anaconda custom (64-bit)
You should be able to see above output.
Please also check your conda (package manager is working), so you need to type ' conda '.
later you need to update your package manager ' conda update --all --yes' .
Afterwards, display all the packages that you install during the main installment. Please Type ' conda list ' .
Now, you should be able to see dependency package list, althouth Django isnt installed as prerequisite.
Therefore we need to install that inorder to start application or create virtual env.
first step, lets download that conda install -c anaconda django
Now we are able to create a new environment but we need to have atleast one dependency package.
Since we are creating Django app, and make ourselves more comfortable in the env; lets add pip
Second step, conda create --name test Django pip
Third step, source activate test
Now you are in the Grace project. You can always deactivate and activate your virtualenvs.
to list your vitualenvs; (root) virtualenv you need to type conda-env list
output (root)test /home/station/anaconda3/envs/test
root * /home/station/anaconda3
You can go ahead and initlize the git in to your envs folder.
1- ls.
2- cd envs.
3- ls.
4- cd test.
5-to make sure write the path on your screen ' pwd '.
6- you can type git init and then pull test folder.
Subscribe to:
Post Comments (Atom)
Data Structures : Tree Traversals
(Week 2) Tree traversals are one of the most important algorithm in computer science because sometimes we don't have lin...
-
(Week 2) Tree traversals are one of the most important algorithm in computer science because sometimes we don't have lin...
-
The purpose of this article is to briefly explaining and re-defining the objective of the blockchain technology. However, i also think that ...
-
1. Core Project : a. Main application : Our main application is a search engine that deals with structured, semi-struct...
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.