Giter Site home page Giter Site logo

Comments (4)

theahmadov avatar theahmadov commented on May 30, 2024

hmm may you delete some things on code ?
Otherwise try use python and install requirements by pip.
It can be like you use python2 and in python2 there is no """ idk actually . Please try run as python, (dont forget : sudo apt upgrade -y)

from slash.

fawaz7 avatar fawaz7 commented on May 30, 2024

Thank you for the answer, sir.
unfortunately, I did everything above with no success
here's the output
File "slash.py", line 35 {color.graybg}{color.red}{color.bold}${color.reset}{color.graybg} python slash.py [email protected]{color.reset}""") ^ SyntaxError: invalid syntax

All of the requirements are installed successfully and I did try to run it with python

from slash.

fawaz7 avatar fawaz7 commented on May 30, 2024

Edit:
Sorry for my previous response my problem was I had 2 versions on python installed on my system python2 and python3
and when typing python slash.py help it was pointing to python 2 instead of python 3 which as you said doesn't support """
error fixed by using python3 then installing 'typer' for python 3 using this command sudo python3.11 -m pip install typer
Thank you for your help @theahmadov :)

from slash.

theahmadov avatar theahmadov commented on May 30, 2024

Good job. np, good luck to you : )

from slash.

Related Issues (7)

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.