Open sidd3888 opened 1 year ago
Thanks for this @sidd3888, could you also review https://github.com/econ-ark/HARK/pull/1350? This PR already works on redoing the initial guide.
I commented on the PR in relation to the point about using pip or conda. I think the PR addresses the points relating to the installation guide, but we should also make the corresponding changes to the quick start guide.
P.S. I marked my reply there as resolved because I thought it was an error on my part, but perhaps due to dependencies, neither pip nor conda are able to install the latest version of HARK (this is in a newly created environment)
Fixed by PR #1436
Quick Start Guide
Installing HARK
Installing HARK with pip
virtualenv
does not apply to Windows, so it might be better simply referencing the section below where the procedure is explained for Mac/Linux and WindowsUsing HARK with Anaconda
pip install econ-ark
can be used within the Anaconda distribution, as it seems to be working faster than theconda
installation (and bypassing some issues I am facing with theconda
version)Making changes to HARK
(Optionally) Create a virtual environment
virtualenv
on Windows when using PowerShell (which is the case when using VSCode, for instance) will require accessing the.PS1
file instead of.bat
. Instead, using the agnosticecon-ark\Scripts\activate
may help.Install requirements
requirements.txt
in the HARK repo directory. Instead, there is a folder named requirements which has three files withinHARK installation guide
This page may benefit from a complete restructuring. Much of the content is a repeat from the quick start guide, and is even repeated twice (between the new and advanced users). I think we can replace this with a short page on just setting up a Python installation and IDE for new users, along with the sections on DemARK and REMARK. Nevertheless, if we choose not to, or for whatever content we may transplant to these new pages, I suggest the following edits.
Instructions for a new user
virtualenv
on Windowsconda install econ-ark
does not work as a means of installation, so perhaps this section is outdatedContent aside from the Toolkit
Demonstrations and Illustrations
Instructions for an advanced user
virtualenv
thing and the missingrequirements.txt
@MridulS you may have some better ideas on any of the technical suggestions here, primarily the installation using
conda-forge
, as I seemed to run into issue after issue with it