Giter VIP home page Giter VIP logo

docal-tkinter's People

Contributors

k1dv5 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

docal-tkinter's Issues

help

Traceback (most recent call last): File "C:\Users\user\anaconda3\lib\runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "C:\Users\user\anaconda3\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "C:\Users\user\anaconda3\lib\site-packages\docal_tkinter\__main__.py", line 6, in <module> app = App() File "C:\Users\user\anaconda3\lib\site-packages\docal_tkinter\app.py", line 25, in __init__ self.worksheet = Worksheet(self) File "C:\Users\user\anaconda3\lib\site-packages\docal_tkinter\worksheet.py", line 63, in __init__ self.update_above(first) # to include the math functions File "C:\Users\user\anaconda3\lib\site-packages\docal_tkinter\worksheet.py", line 109, in update_above self.process('from math import *') # scientific math funcs File "C:\Users\user\anaconda3\lib\site-packages\docal\processing.py", line 92, in process for part in _get_parts(parts): File "C:\Users\user\anaconda3\lib\site-packages\docal\parsing.py", line 737, in _get_parts line = p.end_lineno + 1 AttributeError: 'ImportFrom' object has no attribute 'end_lineno'

Running docal-tkinter on Ubuntu

Hello,

Tried to run docal-tkinter on Ubuntu and faced an issue:

ImportError: cannot import name 'startfile' from 'os' (/usr/lib/python3.7/os.py)

Checked in source code and found, the startfile can be used in windows only:

if sys.platform == 'win32':
    def startfile(path: AnyPath, operation: Optional[str] = ...) -> None: ...

My traceback is below:

Traceback (most recent call last):
  File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/user/PycharmProjects/docal-try/venv/lib/python3.7/site-packages/docal_tkinter/__main__.py", line 2, in <module>
    from docal_tkinter.app import App
  File "/home/user/PycharmProjects/docal-try/venv/lib/python3.7/site-packages/docal_tkinter/app.py", line 3, in <module>
    from .sidebar import Sidebar
  File "/home/user/PycharmProjects/docal-try/venv/lib/python3.7/site-packages/docal_tkinter/sidebar.py", line 4, in <module>
    from os import startfile, path
ImportError: cannot import name 'startfile' from 'os' (/usr/lib/python3.7/os.py)

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.