Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • ERROR: Could not find a version that satisfies the requirement sfi

    I want to use python via stata, so firstly, I need to install sfi to tranfer the data from stata to python.
    Howver, the coce below cannot work. It says "ERROR: Could not find a version that satisfies the requirement sfi"
    Why? My python version is 3.9.1
    Code:
    conda install sfi
    pip3 install sfi

  • #2
    Hi Fred,

    -sfi- is not a PyPI module. It ships with Stata 16 and up.

    For example, on my Widows 10 machine, it is located:

    C:\Program Files\Stata16\ado\base\py

    That is, it does not need -pip- or -conda- installation so long as you have access to Stata V16 or better.

    - joe
    Joseph Nicholas Luchman, Ph.D., PStatĀ® (American Statistical Association)
    ----
    Research Fellow
    Fors Marsh

    ----
    Version 18.0 MP

    Comment


    • #3
      Originally posted by Joseph Luchman View Post
      Hi Fred,

      -sfi- is not a PyPI module. It ships with Stata 16 and up.

      For example, on my Widows 10 machine, it is located:

      C:\Program Files\Stata16\ado\base\py

      That is, it does not need -pip- or -conda- installation so long as you have access to Stata V16 or better.

      - joe
      Great, that is correct, there is no need to install this for using. Thanks again!

      Comment

      Working...
      X