Questions tagged as 'python'

0
answers

Install virtualenvwrapper from anaconda

Hi, I am trying to configure my python development environment with virtual env, based on this tutorial ; for this I try to run the command conda install virtualenvwrapper but I get the following error:    Solving environment: failed  ...
asked by 28.12.2018 / 21:08
1
answer

Python Iterar over JSON nested with variable values

Hi, my friends, please excuse me, you could help me iterate on this json that returns the request I made with requests but I already tried with items () and values () but nothing else sends me errors or at least tell me what I'm doing wrong was...
asked by 29.12.2018 / 06:17
0
answers

Error trying to runbot runbot in odoo container 10

After downloading the addon of runbot when placing it in the addons folder of odoo it stops working, it does not finish loading related to the front end. For its part in the log of the odoo gives me the following error. Traceback (most rece...
asked by 27.12.2018 / 15:11
0
answers

Authenticate Gmail delegated account with OAuth in python

I'm trying to get labels from a delegated Gmail account (a mailbox for the job). The problem is that I always get an error of the delegated account. To prove it I have created two accounts: [email protected] felipe.rodrigue...
asked by 26.12.2018 / 11:54
0
answers

Minesweeper problem with the calculation of the raised squares

When I have uncovered all the boxes that are not mines, I should have fulfilled the condition of self.cases raised == self.fil * self.col-self.minds, but I have checked it in the custom matrix but it does not work . from casilla import Cas...
asked by 24.12.2018 / 21:19
2
answers

Python - Django error when creating super user

I am creating a student management service. Once I finish designing the models I make the migrations (makemigrations and migrate) of my apps, without problems. But when trying to create a super user, this error occurs: Nombre de usuario: Admin...
asked by 24.12.2018 / 18:43
1
answer

Python menu problems

My menu has many errors and I would like to know what I'm doing wrong. One of the problems is that it does not let me leave the program if I press 4, another is that if I choose an option it shows me the figure I want but then I do not know how...
asked by 24.12.2018 / 12:43
1
answer

Openpyxl boxes with formulas

When I want to get the value of a box that contains a formula    box.value   I get the formula and not the number inside the box How can I refer to the number inside the box and not the formula inside it?     
asked by 24.12.2018 / 03:55
0
answers

AttributeError: '_SubParsersAction' object has no attribute 'add_mutually_exclusive_group'

I have a code that I am using argparse and I want to use add_mutually_exclusive_group in 2 subparsers because I want one of the 2 to be required, and I get this error: AttributeError: '_SubParsersAction' object has no attribute 'add_mut...
asked by 22.12.2018 / 21:50
1
answer

Cycle with variable dependent on another variable Python

I put them in context, I have the following code: opcion = int(input("ingrese mesa: ")) if opcion == 1: opcion2 = int(input("ingrese plato (0 para terminar): ")) while opcion2 != 0: carta() x = opcion2 - 1...
asked by 22.12.2018 / 22:27