Python error "raise CommandFailedError(args) bench.utils.CommandFailedError: (’–site’, ‘all’, ‘migrate’)"

0 votes

I’m trying to update using bench update command and I get the following error. How can I fix this?

raise CommandFailedError(args)
bench.utils.CommandFailedError: (’–site’, ‘all’, ‘migrate’)

Following this: https://github.com/frappe/frappe

Aug 5, 2019 in Python by Ashish
236 views

1 answer to this question.

0 votes

Install pyopenssl to your python

pip install pyopenssl ndg-httpsclient pyasn1

Make sure that you put the previous line in frappe virtual environment.
like /home/frappe/frappe-bench/env/bin/pip

/home/frappe/frappe-bench/env/bin/pip install pyopenssl ndg-httpsclient pyasn1
answered Aug 5, 2019 by Kalgi
• 51,970 points

Related Questions In Python

0 votes
0 answers

Python error "copyleaks.commandfailederror.CommandFailedError: Invalid login credentials."

I have the following code: ''' The MIT ...READ MORE

Aug 5, 2019 in Python by Aleesha
134 views
0 votes
0 answers

Python error "ERROR: Can not perform a '--user' install. User site-packages are not visible in this virtualenv."

I tried upgrading pip using the following ...READ MORE

Oct 3, 2019 in Python by Hannah
• 18,410 points
2,380 views
+1 vote
2 answers

how can i count the items in a list?

Syntax :            list. count(value) Code: colors = ['red', 'green', ...READ MORE

answered Jul 6, 2019 in Python by Neha
• 330 points

edited Jul 8, 2019 by Kalgi 1,445 views
0 votes
0 answers
+4 votes
6 answers

Lowercase in Python

You can simply the built-in function in ...READ MORE

answered Apr 11, 2018 in Python by hemant
• 5,800 points
1,076 views
+7 votes
8 answers

Difference for string comparison in Python: 'is' vs. ==

If we use "==" means both variables ...READ MORE

answered Sep 3, 2018 in Python by Parul Raheja
620 views
0 votes
1 answer

Can I build a plagiarism checker using python?

Hey @Alessha, you can use an SDK ...READ MORE

answered Aug 5, 2019 in Python by Kalgi
• 51,970 points
1,741 views