You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To check if your installation is correct, type python --version and conda -V. If you see the following, you're ready to set up a virtual environment:
Otherwise, modify ~/.bashrc by typing vim ~/.bashrc, press i to toggle to INSERT mode, add the following lines (replace the username), press ESC and enter :wq to write and quit the editor. Restart the terminal and try step 6 again and make sure it matches the image. [Disclaimer]: You could try just adding the export PATH=.... line and ignoring the . /home/... and it would still work, but the next time you launch your terminal, it'd throw an error asking you to remove it
Create a new python virtual environment by entering conda create -n cs3243 python=2.7 and proceed with the installation. You can choose not to install VS Code. To check your list of environments, type conda info --envs. It should have base and cs3243 now. To activate the new environment, enter conda activate cs3243. To deactivate it, enter conda deactivate.
Once you activated the environment, run pip install PyPokerEngine. To test if everything works, navigate to your project file and run python testing.py.
The text was updated successfully, but these errors were encountered:
This setup is written on Windows 10 v.1803 (run
winver
to check)Turn windows feature on or off
and enableWindows Subsystem for Linux
Ubuntu
and install it. Once installation is done, you must initialize it for the first time. Refer to https://docs.microsoft.com/en-us/windows/wsl/initialize-distro on how to initialize your distro.Anaconda
using Ubuntu terminal. SearchUbuntu
and run it -- a terminal will open.Anaconda2-2018.12-Linux-x86_64.sh
python --version
andconda -V
. If you see the following, you're ready to set up a virtual environment:~/.bashrc
by typingvim ~/.bashrc
, pressi
to toggle toINSERT
mode, add the following lines (replace the username), pressESC
and enter:wq
to write and quit the editor. Restart the terminal and try step 6 again and make sure it matches the image. [Disclaimer]: You could try just adding theexport PATH=....
line and ignoring the. /home/...
and it would still work, but the next time you launch your terminal, it'd throw an error asking you to remove itconda create -n cs3243 python=2.7
and proceed with the installation. You can choose not to install VS Code. To check your list of environments, typeconda info --envs
. It should havebase
andcs3243
now. To activate the new environment, enterconda activate cs3243
. To deactivate it, enterconda deactivate
.pip install PyPokerEngine
. To test if everything works, navigate to your project file and runpython testing.py
.The text was updated successfully, but these errors were encountered: