Giter VIP home page Giter VIP logo

stata-dta-in-python's People

Contributors

jrfiedler avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

stata-dta-in-python's Issues

Invalid syntax line 590 - Kali linux rolling

[~/stata-dta-in-python]
└─$ sudo python setup.py install 1 ⨯
running install
running build
running build_py
running install_lib
copying build/lib.linux-x86_64-2.7/stata_dta/init.py -> /usr/local/lib/python2.7/dist-packages/stata_dta
copying build/lib.linux-x86_64-2.7/stata_dta/stata_missing/init.py -> /usr/local/lib/python2.7/dist-packages/stata_dta/stata_missing
copying build/lib.linux-x86_64-2.7/stata_dta/stata_missing/stata_missing.py -> /usr/local/lib/python2.7/dist-packages/stata_dta/stata_missing
copying build/lib.linux-x86_64-2.7/stata_dta/stata_dta.py -> /usr/local/lib/python2.7/dist-packages/stata_dta
copying build/lib.linux-x86_64-2.7/stata_dta/stata_variable.py -> /usr/local/lib/python2.7/dist-packages/stata_dta
byte-compiling /usr/local/lib/python2.7/dist-packages/stata_dta/init.py to init.pyc
byte-compiling /usr/local/lib/python2.7/dist-packages/stata_dta/stata_missing/init.py to init.pyc
byte-compiling /usr/local/lib/python2.7/dist-packages/stata_dta/stata_missing/stata_missing.py to stata_missing.pyc
byte-compiling /usr/local/lib/python2.7/dist-packages/stata_dta/stata_dta.py to stata_dta.pyc
File "/usr/local/lib/python2.7/dist-packages/stata_dta/stata_dta.py", line 590
print(txt, end="")
^
SyntaxError: invalid syntax

byte-compiling /usr/local/lib/python2.7/dist-packages/stata_dta/stata_variable.py to stata_variable.pyc
running install_egg_info
Removing /usr/local/lib/python2.7/dist-packages/stata_dta-0.2.0.egg-info
Writing /usr/local/lib/python2.7/dist-packages/stata_dta-0.2.0.egg-info

Then when running module I get this:

from stata_dta import open_dta, display_diff
Traceback (most recent call last):
File "", line 1, in
File "stata_dta/init.py", line 1, in
from .stata_dta import *
File "stata_dta/stata_dta.py", line 590
print(txt, end="")
^
SyntaxError: invalid syntax
stata_dta("/home/joshua/Videos/VIDEO/recup_dir.1/f47999340.dta")
Traceback (most recent call last):
File "", line 1, in
NameError: name 'stata_dta' is not defined

I could be doing this completely wrong, so forgive me my first time trying to use python. Not to mention no prior training. Ive only been doing this for almost two years in my spare time wth no guidence. Thanks for any help provided and Sorry probably shouldn't even post this issue here. Noob so do I get a pass?? thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.