diff --git a/changelog.d/fix-path-troubleshooting.fixed.md b/changelog.d/fix-path-troubleshooting.fixed.md new file mode 100644 index 0000000..bd09ab4 --- /dev/null +++ b/changelog.d/fix-path-troubleshooting.fixed.md @@ -0,0 +1 @@ +Add macOS troubleshooting note for PATH issues when using policyengine-taxsim from Stata, SAS, or other programs. diff --git a/dashboard/public/config-data.json b/dashboard/public/config-data.json index bab72ba..41a8b76 100644 --- a/dashboard/public/config-data.json +++ b/dashboard/public/config-data.json @@ -280,5 +280,5 @@ } ] }, - "lastUpdated": "2026-03-03T23:51:17.900Z" + "lastUpdated": "2026-03-06T19:56:21.560Z" } \ No newline at end of file diff --git a/dashboard/src/components/DocumentationContent.jsx b/dashboard/src/components/DocumentationContent.jsx index 49b6162..77647f5 100644 --- a/dashboard/src/components/DocumentationContent.jsx +++ b/dashboard/src/components/DocumentationContent.jsx @@ -80,6 +80,7 @@ const DocumentationContent = () => { }; const [activeUsageLang, setActiveUsageLang] = useState('cli'); + const [installOs, setInstallOs] = useState('mac'); const usageExamples = { cli: { @@ -469,15 +470,64 @@ policyengine_versions()
+ If the command is not found, open Terminal and run uv tool dir --bin, then replace policyengine-taxsim with the full path shown (e.g. /Users/you/.local/bin/policyengine-taxsim).
+
+ To upgrade to the latest version: +
+ {renderCodeBlock({ + id: 'upgrade', + label: 'Terminal', + code: 'uv tool upgrade policyengine-taxsim', + })} ++ For reproducible results, pin to a specific version: +
+ {renderCodeBlock({ + id: 'version-pin', + label: 'Terminal', + code: '# Install a specific version of policyengine-taxsim\nuv tool install policyengine-taxsim==2.13.0\n\n# Pin the underlying tax model for reproducible results\nuv tool install policyengine-taxsim --with policyengine-us==1.555.0', + })} +
+ If the command is not found, open Terminal and run uv tool dir --bin, then replace policyengine-taxsim with the full path shown (e.g. /Users/you/.local/bin/policyengine-taxsim).
+
+ If the command is not found, open Terminal and run uv tool dir --bin, then replace policyengine-taxsim with the full path shown (e.g. /Users/you/.local/bin/policyengine-taxsim).
+