Giter Site home page Giter Site logo

Comments (4)

aellerton avatar aellerton commented on July 17, 2024

from demo-allauth-bootstrap.

LexxLuey avatar LexxLuey commented on July 17, 2024

Okay thank you.

  1. Cloned repo
  2. $ cd demo-allauth-bootstrap
    $ python virtualenv env # you can call it anything, not just "mypy"
    $ . env/bin/activate
    $ pip install -r requirements.txt
  3. $ python configure.py

It was at step 3 the error happened.

P.S: I am assuming it is because I did not run the last command like this:
$ python ./configure.py

from demo-allauth-bootstrap.

aellerton avatar aellerton commented on July 17, 2024

Hi there,

At first I was going to write that "configure.py" vs "./configure.py" shouldn't matter -- the "./" matters when running things because binaries will resolve from your PATH, but when finding a file, the shell will look in your current dir first.

Further, when I first tested it, I did it with a virtualenv in another directory, and it worked fine with "configure.py".

However, trying it with a virtualenv in the same directory, it didn't work. Very strange.

Side note: "env" is a program you can run; I don't trust there isn't a conflict when naming the virtualenv that, so probably don't use that name.

Can you try exactly the following:

cd demo-allauth-bootstrap
python3 -m venv mypy
. ./mypy/bin/activate
pip install -r requirements.txt
python ./configure.py

and send me the output?

In the meantime, I'll see if there's some reason that the "./" suddenly became a requirement.

from demo-allauth-bootstrap.

LexxLuey avatar LexxLuey commented on July 17, 2024

Yes I did the following and everything works fine. It only fails if I run the last line thus:

python configure.py

from demo-allauth-bootstrap.

Related Issues (17)

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.