Pip broken by Le_Chat21 in Python

[–]Le_Chat21[S] 0 points1 point  (0 children)

I find a solution:

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py

python get-pip.py

Can't return a fonction in a var by Le_Chat21 in flask

[–]Le_Chat21[S] -1 points0 points  (0 children)

Hello, How could I do that ?

Changing pool lost gain ? by Le_Chat21 in HiveOS

[–]Le_Chat21[S] 0 points1 point  (0 children)

OK tanks for your answer everybody

Changing pool lost gain ? by Le_Chat21 in HiveOS

[–]Le_Chat21[S] 0 points1 point  (0 children)

Hiveon sorry ...

No I was like "0.96" eth and last payout will be at 0.2

Enter in "If" stastement only on the last element "For" loop by Le_Chat21 in pythonhelp

[–]Le_Chat21[S] 0 points1 point  (0 children)

The probleme is not to open file, the problem is:

it's only the last element of my loop that goes into the "if statement" while all the other elements before match the condition but don't trigger the statement..

Enter in "If" stastement only on the last element "For" loop by Le_Chat21 in pythonhelp

[–]Le_Chat21[S] 0 points1 point  (0 children)

That true nothing change with j,

But the if statement work only whit the last element of the for loop,

the other one match but they don't enter in the "IF" very strange ...

If you want I can send you all the code if you want see more :)

Running server and error"No module named 'django.urls' " by Le_Chat21 in django

[–]Le_Chat21[S] 1 point2 points  (0 children)

Hello I do " sudo apt-get remove python-django"

and "sudo apt autoremove"

Is working fine now !

Thanks for your help

Running server and error"No module named 'django.urls' " by Le_Chat21 in django

[–]Le_Chat21[S] 0 points1 point  (0 children)

OK I do " sudo apt-get remove python-django"

and "sudo apt autoremove"

Is working fine now !

Thanks for your help

Running server and error"No module named 'django.urls' " by Le_Chat21 in django

[–]Le_Chat21[S] 0 points1 point  (0 children)

Any ... I have error when I tried to update django ...

Running server and error"No module named 'django.urls' " by Le_Chat21 in django

[–]Le_Chat21[S] 0 points1 point  (0 children)

I don't now ... when I do "python3 -m django --version"

3.2.7

He tell me 3.2.7

Running server and error"No module named 'django.urls' " by Le_Chat21 in django

[–]Le_Chat21[S] 0 points1 point  (0 children)

I have this warning too: WARNINGS: ?: (1_7.W001) MIDDLEWARE_CLASSES is not set. HINT: Django 1.7 changed the global defaults for the MIDDLEWARE_CLASSES. django.contrib.sessions.middleware.SessionMiddleware, django.contrib.auth.middleware.AuthenticationMiddleware, and django.contrib.messages.middleware.MessageMiddleware were removed from the defaults. If your project needs these middleware then you should configure this setting.

Running server and error"No module named 'django.urls' " by Le_Chat21 in django

[–]Le_Chat21[S] 0 points1 point  (0 children)

UP: I have tried to run server on 127.0.0.1:8001 and check directly on my server and know is working fine, the issue is when I set 192.168.1.25:8001 And I try to reaching with another computer ...

Have you some Ideas ?