Code Monkey home page Code Monkey logo

Comments (6)

cuducos avatar cuducos commented on June 6, 2024

Worry not, my friend. We're using Python 3. In the CONTRIBUTING.md when we create the environment from Conda, we especify the version 3 ; )

from serenata-de-amor.

pheki avatar pheki commented on June 6, 2024

Oh, great! But shouldn't the shebang line specify python3 as the interpreter? (on line 1 of the setup file: #!/usr/bin/env python I believe it should be #!/usr/bin/env python3)
In my system, specifying only python ends up in python2.

from serenata-de-amor.

cuducos avatar cuducos commented on June 6, 2024

Hum… reopening the Issue!

@Irio is this a problem? We could change the way we call setup in the instructions (I guess that's the file you're talking about, @Bilkow, am I right), because shebangs really rely on a very unstable stack: how each of us set up our own computers. Maybe say that the recommended way is to run python setup.py with Python 3.

Or (re)write/(re)check setup in a way that is compatible with Python 2 and 3…

from serenata-de-amor.

cuducos avatar cuducos commented on June 6, 2024

Or… /usr/bin/env python within the project environment created (check CONTRIBUTING.md) will always be Python 3? Not sure… gonna check that later (but if anyone knows the answer, save me some minutes).

from serenata-de-amor.

flaviodrt avatar flaviodrt commented on June 6, 2024

@cuducos the project environment will always be Python 3
The python path will be like: /home/user/anaconda/envs/serenata_de_amor/python which is Python 3, but I don't know if the setup script will use Python from Anaconda env or #!/usr/bin/env python

from serenata-de-amor.

cuducos avatar cuducos commented on June 6, 2024

I don't know if the setup script will use Python from Anaconda env or #!/usr/bin/env python

That's my doubt too.

from serenata-de-amor.

Related Issues (20)

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.