from flask_cors import CORS
app = Flask(__name__)
CORS(app)
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:726)’),)’: /simple/pylint/ >>>>>>>> Could not fetch URL https://pypi.python.org/simple/setuptools/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host=’pypi.python.org’, port=443): Max retries exceeded with url: /simple/setuptools/ (Caused by SSLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:726)’),)) – skipping
// add the following flag to the pip command:
--trusted-host files.pythonhosted.org --trusted-host pypi.org
// or wherever the error indicates a problem in
<error message>... HTTPSConnectionPool(host='pypi.python.org', port=443)
MSBUILD : error MSB3428: Could not load the Visual C++ component “VCBuild.exe”. To fix this, 1) install the .NET Framework 2.0 SDK, 2) install Microsoft Visual Studio 2005 or 3) add the location of the component to the system path if it is installed elsewhere.
npm install -g windows-build-tools
UNABLE_TO_GET_ISSUER_CERT_LOCALLY
npm config set registry http://registry.npmjs.org/