PyHamilton Updates: Auto-installation, project quickstart, and logging

PyHamilton now comes with automated tools that vastly simplify installation and running your first script. Thank you for your patience to all our early users who worked through the manual installation.

You should now be able to run the following code in your terminal to go from installation to running a working pyhamilton script:

pip install pyhamilton
pyhamilton-configure
mkdir new-project
cd new-project
pyhamilton-new-project
py robot_method.py
1 Like

Hey Stefan, great idea to put this onto pip. Would it be possible to make it a conda package too? When I tried to install it on my work machine (which does not have admin etc), the pip package cannot install due to permissions, but conda normally works in these situations.

Yeah sure! I havent heard of conda being used for that before but I’ll see what I can do.

Actually, depending on the error you may be able to solve this in a different way. Have you tried git cloning and then doing a pip local install eg “pip install -e .” in the repo directory?

Thanks Stefan, I’ll have a try.

2 posts were split to a new topic: ModuleNotFoundError: No module named ‘pyhamilton’