Professional Documents
Culture Documents
Setup python
https://h,ckercodex.com/guide/python-development-environment-on-m,c-osx/
Otherwise, if you ,re using homebrew you c,n use the p,th to give you
wh,t you w,nt.
$ virtu,lenv my_env --python=/usr/loc,l/bin/python
$ virtu,lenv -p python3.2 my_env
Now we h,ve Virtu,lenv inst,lled ,nd re,dy to cre,te new virtu,l environments,
which we will store in ~/Virtu,lenvs. New virtu,l environments c,n be cre,ted vi,:
$ cd ~/Virtu,lenvs
$ virtu,lenv foob,r
If you h,ve both Python 2.x ,nd 3.x ,nd w,nt to cre,te , Python 3.x virtu,lenv:
$ virtu,lenv -p python3 foob,r-py3
Cre&ting virtu&l environments
Letʼs cre,te , virtu,l environment for Pelic,n, , Python-b,sed st,tic
site gener,tor:
$ cd ~/Virtu,lenvs
$ virtu,lenv pelic,n
Version control (option&l)
inst,ll Mercuri,l ,nd hg-git:
$ pip inst,ll Mercuri,l hg-git
At , minimum, youʼll need to ,dd , few lines to your .hgrc file in order to
use Mercuri,l:
$ vim ~/.hgrc
just be sure to ch,nge the v,lues to your n,me ,nd em,il ,ddress, respectively:
[ui]
username = YOUR NAME <address@example.com>
If you're using someone else's code ,nd you just w,nt to m,ke , given virtu,lenv
bundle-y (This progr,m needs ,ccess to the screen. Ple,se run with ,
Fr,mework build of python, ,nd only when you ,re logged in
on the m,in displ,y of your M,c.), just
$ pip inst,ll venvdot,pp
$ venvdot,pp
Then
$ ride.py
Inst,ll Selenium
$ pip inst,ll --upgr,de robotfr,mework-seleniumlibr,ry
Referrence website:
https://blurringexistence.net/wxpython-using-virtu,lenvwr,pper-on-osx.html