Open shanwenainimen opened 8 years ago
How familiar are you with using Python and Python libraries?
I took a Python course during undergraduate and have the basic knowledge for Python and its libraries
Okay, great. The only way to use SynthPop is by writing Python. :smile:
Step one is to install Python and all the dependencies. I recommend Anaconda. The required dependencies are:
Everything except cenus and us are included with Anaconda.
Step 2 is to download the source code from here on GitHub. Install SynthPop by running python setup.py install
in the synthpop directory.
Then you should be able to start Python and import synthpop. For usage help I recommend looking at the demos.
Thanks a lot, I have installed Anaconda and I will follow your guidance. Thanks again!
If you need help with the logic behind it or possibly some assistance in applying it, you might try reaching out to Karthik Konduri who wrote the precursor to this version, called PopGen.
Thanks @jiffyclub and @waddell, I have successfully installed Census and US, but how can I install/run the synthpop via Jupyter Notebook. I try to run set up.py but it shows error below:
Thank you so much for your kind input.
You'll need to install synthpop from the command line after downloading the source.
I really appreciate your help @jiffyclub and It works. when I run the census_api.py in deom, it shows error below:
I got the API key and should I just replace the os.environ("census") with key as shown below:
Thanks
Yes that works. It seems like you've already done that - is it working?
Yes, it works. Many thanks
Hi all,
I have successfully run examples in Demo file thanks to your generous help. I have another question. How to test input_data in Demo file (I assume this is an example used in Popgen)? Because I have to finally set up Synthpop and UrbanSim for our MPO, should I make the format of our data exactly same as data in input_data file? Many thanks.
Hi all,
Could anyone please provide some guidance about how to install or run Synthpop? I have been recently assigned a task related with Synthpop and had a hard time doing this job. I would really appreciate it.