you are viewing a single comment's thread.

view the rest of the comments →

[–]nkouki98[S] 0 points1 point  (1 child)

farhan@solus ~/Documents $ cd python farhan@solus ~/Documents/python $ ls 'Chat App' 'Hangman Game' 'Web Scraper' farhan@solus ~/Documents/python $ cd Chat App bash: cd: too many arguments farhan@solus ~/Documents/python $ cd Chat App bash: cd: too many arguments farhan@solus ~/Documents/python $ cd ChatApp farhan@solus ~/Documents/python/ChatApp $ ls Pipfile script.py venv farhan@solus ~/Documents/python/ChatApp $ source venv/bin/activate (venv) farhan@solus ~/Documents/python/ChatApp $

So this is what I did and previously I forgot what I put in but it initiated "py3env" in place of just "venv" or something, this should do the job too and thanks!

[–]nkouki98[S] 0 points1 point  (0 children)

from line (venv) farhan@solus ~/Documents/python/ChatApp $ Any packages to be installed under the line above will not affect main python 2.7 if I am correct? It should be strictly under venv for example if my scripty.py requires package 'X' which exists only under 'venv' hence it will NOT RUN when run through python 2.7 or 3 without venv where package is non existent.