Python Forum
X13ARIMA & statsmodels: X13NotFoundError: x12a and x13as not found on path
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
X13ARIMA & statsmodels: X13NotFoundError: x12a and x13as not found on path
#1
I am on Window OS. I downloaded the Windows version of X13 software from https://www.census.gov/data/software/x13...-635278563.

I would like to use it with my Python code as below.
But I get error:
X13NotFoundError: x12a and x13as not found on path. Give the path, put them on PATH, or set the X12PATH or X13PATH environmental variable.

import pandas as pd
from pandas import Timestamp

s = pd.Series(
    {Timestamp('2013-03-01 00:00:00'): 838.2,
 Timestamp('2013-04-01 00:00:00'): 865.17,
 Timestamp('2013-05-01 00:00:00'): 763.0})
     
     
import os
os.chdir(r'C:\Users\user-name\Downloads\x13as_ascii-v1-1-b59\x13as')

import statsmodels.api as sm
sm.tsa.x13_arima_analysis(s)
Reply
#2
OK, so what is your question? Is it about setting environment variables? If so, that's a Windows question, rather than a Python one. If you want to specify the path to the executable, then you'll need to consult the documentation for the library to see how it lets you do that.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Statsmodels, Dickey-Fuller test for stationarity Led_Zeppelin 1 971 Aug-17-2022, 06:36 PM
Last Post: Larz60+
  WebDriverException: Message: 'PATH TO CHROME DRIVER' executable needs to be in PATH Led_Zeppelin 1 2,233 Sep-09-2021, 01:25 PM
Last Post: Yoriz
  How can I found how many numbers are there in a Collatz Sequence that I found? cananb 2 2,568 Nov-23-2020, 05:15 PM
Last Post: cananb
  retrieving pvalue from statsmodels results Staph 4 3,058 Jul-18-2019, 03:27 PM
Last Post: Gribouillis
  .pth file does not show up in sys.path when configuring path. arjunsingh2908 2 5,799 Jul-03-2018, 11:16 AM
Last Post: arjunsingh2908
  Statsmodels garikhgh0 0 2,211 May-30-2018, 01:21 PM
Last Post: garikhgh0

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020