I am installing Prodigy,
( a software for data annotation). I am using windows 10, Python 3.7. pip is updated I need to use wheel python:
https://github.com/MacPython/wiki/wiki/Spinning-wheels
when I write in my anaconda
:
'''
pip install prodigy-1.7.1-cp35.cp36.cp37-cp35m.cp36m.cp37m-win_amd64.whl
'''
(based on instruction in website)
https://prodi.gy/docs/
I faced with this error (zipfile.BadZipFile: File is not a zip file)
'''
ERROR: Exception: Traceback (most recent call last): File “c:\users\moha\anaconda3\lib\site-packages\pip_internal\cli\base_command.py”, line 178, in main status = self.run(options, args) File “c:\users\moha\anaconda3\lib\site-packages\pip_internal\commands\install.py”, line 352, in run resolver.resolve(requirement_set) File “c:\users\moha\anaconda3\lib\site-packages\pip_internal\resolve.py”, line 131, in resolve self._resolve_one(requirement_set, req) File “c:\users\moha\anaconda3\lib\site-packages\pip_internal\resolve.py”, line 294, in _resolve_one abstract_dist = self._get_abstract_dist_for(req_to_install) File “c:\users\moha\anaconda3\lib\site-packages\pip_internal\resolve.py”, line 242, in _get_abstract_dist_for self.require_hashes File “c:\users\moha\anaconda3\lib\site-packages\pip_internal\operations\prepare.py”, line 353, in prepare_linked_requirement progress_bar=self.progress_bar File “c:\users\moha\anaconda3\lib\site-packages\pip_internal\download.py”, line 873, in unpack_url unpack_file_url(link, location, download_dir, hashes=hashes) File “c:\users\moha\anaconda3\lib\site-packages\pip_internal\download.py”, line 807, in unpack_file_url unpack_file(from_path, location, content_type, link) File “c:\users\moha\anaconda3\lib\site-packages\pip_internal\utils\misc.py”, line 628, in unpack_file flatten=not filename.endswith(’.whl’) File “c:\users\moha\anaconda3\lib\site-packages\pip_internal\utils\misc.py”, line 505, in unzip_file zip = zipfile.ZipFile(zipfp, allowZip64=True) File “c:\users\moha\anaconda3\lib\zipfile.py”, line 1222, in init self._RealGetContents() File “c:\users\moha\anaconda3\lib\zipfile.py”, line 1289, in _RealGetContents raise BadZipFile(“File is not a zip file”) zipfile.BadZipFile: File is not a zip file
'''
can anyone let me know what should I do?
This exception means that there was a problem reading the package source file when installing. Although they are referred as wheels they are actually zip files.
There are many reasons why you might see this exception. The most common reason is that there was a problem with downloading/storing.
The most common solution is to try install again. This might need removing old download in some cache. Read logs to see where the cache is. You can also look for the the file by its name.
Related
Today my python stopped working. I type in cmd pip install watchdog and get the errors(I wanna install some modules):
ERROR: Exception:
Traceback (most recent call last):
File "c:\users\eduard\appdata\local\programs\python\python38\lib\site-packages\pip_vendor\urllib3\response.py", line 425, in _error_catcher
yield
File "c:\users\eduard\appdata\local\programs\python\python38\lib\site-packages\pip_vendor\urllib3\response.py", line 507, in read
data = self._fp.read(amt) if not fp_closed else b""
File "c:\users\eduard\appdata\local\programs\python\python38\lib\site-packages\pip_vendor\cachecontrol\filewrapper.py", line 62, in read
data = self.__fp.read(amt)
File "c:\users\eduard\appdata\local\programs\python\python38\lib\http\client.py", line 454, in read
n = self.readinto(b)
File "c:\users\eduard\appdata\local\programs\python\python38\lib\http\client.py", line 498, in readinto
n = self.fp.readinto(b)
File "c:\users\eduard\appdata\local\programs\python\python38\lib\socket.py", line 669, in readinto
return self._sock.recv_into(b)
File "c:\users\eduard\appdata\local\programs\python\python38\lib\ssl.py", line 1241, in recv_into
return self.read(nbytes, buffer)
File "c:\users\eduard\appdata\local\programs\python\python38\lib\ssl.py", line 1099, in read
return self._sslobj.read(len, buffer)
socket.timeout: The read operation timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\users\eduard\appdata\local\programs\python\python38\lib\site-packages\pip_internal\cli\base_command.py", line 188, in _main
status = self.ruptions, args)
File "c:\users\eduard\appdata\local\programs\python\python38\lib\site-packages\pip_internal\cli\req_command.py", line 185, in wrapper
return func(self, options, args)
File "c:\users\eduard\appdata\local\programs\python\python38\lib\site-packages\pip_internal\commands\install.py", line 332, in run
requirement_set = resolver.resolve(
File "c:\users\eduard\appdata\local\programs\python\python38\lib\site-packages\pip_internal\resolution\legacy\resolver.py", line 179, in resolve
discovered_reqs.extend(self._resolve_one(requirement_set, req))
File "c:\users\eduard\appdata\local\programs\python\python38\lib\site-packages\pip_internal\resolution\legacy\resolver.py", line 362, in _resolve_one
abstract_dist = self._get_abstract_dist_for(req_to_install)
File "c:\users\eduard\appdata\local\programs\python\python38\lib\site-packages\pip_internal\resolution\legacy\resolver.py", line 314, in _get_abstract_dist_for
abstract_dist = self.preparer.prepare_linked_requirement(req)
File "c:\users\eduard\appdata\local\programs\python\python38\lib\site-packages\pip_internal\operations\prepare.py", line 410, in prepare_linked_requirement
local_file = unpack_url(
File "c:\users\eduard\appdata\local\programs\python\python38\lib\site-packages\pip_internal\operations\prepare.py", line 194, in unpack_url
file = get_http_url(
File "c:\users\eduard\appdata\local\programs\python\python38\lib\site-packages\pip_internal\operations\prepare.py", line 123, in get_http_url
from_path, content_type = _download_http_url(
File "c:\users\eduard\appdata\local\programs\python\python38\lib\site-packages\pip_internal\operations\prepare.py", line 220, in _download_http_url
for chunk in download.chunks:
File "c:\users\eduard\appdata\local\programs\python\python38\lib\site-packages\pip_internal\cli\progress_bars.py", line 166, in iter
for x in it:
File "c:\users\eduard\appdata\local\programs\python\python38\lib\site-packages\pip_internal\network\utils.py", line 15, in response_chunks
for chunk in response.raw.stream(
File "c:\users\eduard\appdata\local\programs\python\python38\lib\site-packages\pip_vendor\urllib3\response.py", line 564, in stream
data = self.read(amt=amt, decode_content=decode_content)
File "c:\users\eduard\appdata\local\programs\python\python38\lib\site-packages\pip_vendor\urllib3\response.py", line 529, in read
raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
File "c:\users\eduard\appdata\local\programs\python\python38\lib\contextlib.py", line 131, in exit
self.gen.throw(type, value, traceback)
File "c:\users\eduard\appdata\local\programs\python\python38\lib\site-packages\pip_vendor\urllib3\response.py", line 430, in _error_catcher
raise ReadTimeoutError(self._pool, None, "Read timed out.")
pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.
I tried even easy_install watchdog and got The read operation timed out.
Some days earlier the pip was working, now it isn't. Other modules aren't installing too.
Please help me. What must I do??
IDK IF THIS WILL WORK BUT HERE GOES.....
There is a big problem with the new version of pip that you might be using. It's always better not to update pip to the new version.Use the version that gets installed with Python when you install it.
Uninstall pip and install it again.
pip uninstall pip
might work
Check this link to install pip
https://www.liquidweb.com/kb/install-pip-windows/
If this doesn't work , then reinstall Python and install pip through the installer and don't update it.And then try installing the required libraries....
I installed Qark successfully by following the guidance from github.com/linkedin/qark but when I run a scan it returns the error below. Another thing is when I run the scan for a java file everything works well. I'm really confused as to what is causing the error since I can't make sense from it.
For those who may not know, Qark is a tool for evaluating the security for mobile apps.
Below is the error log:
Decompiling...
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
-e/-o can only used with one file
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
Input file (Simple_v2.0.74_apkfab.com.apk) was not found or was not readable.
Traceback (most recent call last):
File "/home/kali/.local/bin/qark", line 10, in <module>
sys.exit(cli())
File "/home/kali/.local/lib/python2.7/site-packages/click/core.py", line 722, in __call__
return self.main(*args, **kwargs)
File "/home/kali/.local/lib/python2.7/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/home/kali/.local/lib/python2.7/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/kali/.local/lib/python2.7/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/home/kali/.local/lib/python2.7/site-packages/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "/home/kali/.local/lib/python2.7/site-packages/qark/qark.py", line 87, in cli
decompiler = Decompiler(path_to_source=source, build_directory=build_path)
File "/home/kali/.local/lib/python2.7/site-packages/qark/decompiler/decompiler.py", line 80, in __init__
self.manifest_path = self.run_apktool()
File "/home/kali/.local/lib/python2.7/site-packages/qark/decompiler/decompiler.py", line 163, in run_apktool
os.path.join(self.build_directory, "AndroidManifest.xml"))
File "/usr/lib/python2.7/shutil.py", line 325, in move
copy2(src, real_dst)
File "/usr/lib/python2.7/shutil.py", line 153, in copy2
copyfile(src, dst)
File "/usr/lib/python2.7/shutil.py", line 96, in copyfile
with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: '/home/kali/qark/build/qark/apktool/AndroidManifest.xml'
Are you running Python 2 by any chance? If so upgrade to Python 3 and you should be good to go. I had a similar issue and Python 2 was the source of the problem.
I was triying to install the large English module "en_core_web_lg" for spaCy (a library for Natural Language Processing)
For some reasons, the small and medium modules were successfully installed (with few errors at first),
but the large module always crashed installation.
I have used two different methods:
1)
$ python -m spacy download en_core_web_lg
2)
$ pip install https://github.com/explosion/spacy-models/releases/download/en_core_web_lg-2.0.0/en_core_web_lg-2.0.0.tar.gz
But in both cases I always got these two Exceptions:
(venv) omar#omar-device:~/virtualenvironment/my_new_app/bin/venv/bin$ pip3 install https://github.com/explosion/spacy-models/releases/download/en_core_web_lg-2.0.0/en_core_web_lg-2.0.0.tar.gz
Collecting https://github.com/explosion/spacy-models/releases/download/en_core_web_lg-2.0.0/en_core_web_lg-2.0.0.tar.gz
Downloading https://github.com/explosion/spacy-models/releases/download/en_core_web_lg-2.0.0/en_core_web_lg-2.0.0.tar.gz (852.3MB)
38% |████████████▎ | 325.7MB 114kB/s eta 1:16:26Exception:
Traceback (most recent call last):
File "/home/omar/virtualenvironment/my_new_app/bin/venv/lib/python3.5/site-packages/pip/_vendor/urllib3/response.py", line 331, in _error_catcher
yield
File "/home/omar/virtualenvironment/my_new_app/bin/venv/lib/python3.5/site-packages/pip/_vendor/urllib3/response.py", line 413, in read
data = self._fp.read(amt)
File "/home/omar/virtualenvironment/my_new_app/bin/venv/lib/python3.5/site-packages/pip/_vendor/cachecontrol/filewrapper.py", line 62, in read
data = self.__fp.read(amt)
File "/usr/lib/python3.5/http/client.py", line 448, in read
n = self.readinto(b)
File "/usr/lib/python3.5/http/client.py", line 488, in readinto
n = self.fp.readinto(b)
File "/usr/lib/python3.5/socket.py", line 575, in readinto
return self._sock.recv_into(b)
File "/usr/lib/python3.5/ssl.py", line 929, in recv_into
return self.read(nbytes, buffer)
File "/usr/lib/python3.5/ssl.py", line 791, in read
return self._sslobj.read(len, buffer)
File "/usr/lib/python3.5/ssl.py", line 575, in read
v = self._sslobj.read(len, buffer)
socket.timeout: The read operation timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/omar/virtualenvironment/my_new_app/bin/venv/lib/python3.5/site-packages/pip/_internal/basecommand.py", line 141, in main
status = self.run(options, args)
File "/home/omar/virtualenvironment/my_new_app/bin/venv/lib/python3.5/site-packages/pip/_internal/commands/install.py", line 299, in run
resolver.resolve(requirement_set)
File "/home/omar/virtualenvironment/my_new_app/bin/venv/lib/python3.5/site-packages/pip/_internal/resolve.py", line 102, in resolve
self._resolve_one(requirement_set, req)
File "/home/omar/virtualenvironment/my_new_app/bin/venv/lib/python3.5/site-packages/pip/_internal/resolve.py", line 256, in _resolve_one
abstract_dist = self._get_abstract_dist_for(req_to_install)
File "/home/omar/virtualenvironment/my_new_app/bin/venv/lib/python3.5/site-packages/pip/_internal/resolve.py", line 209, in _get_abstract_dist_for
self.require_hashes
File "/home/omar/virtualenvironment/my_new_app/bin/venv/lib/python3.5/site-packages/pip/_internal/operations/prepare.py", line 283, in prepare_linked_requirement
progress_bar=self.progress_bar
File "/home/omar/virtualenvironment/my_new_app/bin/venv/lib/python3.5/site-packages/pip/_internal/download.py", line 836, in unpack_url
progress_bar=progress_bar
File "/home/omar/virtualenvironment/my_new_app/bin/venv/lib/python3.5/site-packages/pip/_internal/download.py", line 673, in unpack_http_url
progress_bar)
File "/home/omar/virtualenvironment/my_new_app/bin/venv/lib/python3.5/site-packages/pip/_internal/download.py", line 897, in _download_http_url
_download_url(resp, link, content_file, hashes, progress_bar)
File "/home/omar/virtualenvironment/my_new_app/bin/venv/lib/python3.5/site-packages/pip/_internal/download.py", line 619, in _download_url
consume(downloaded_chunks)
File "/home/omar/virtualenvironment/my_new_app/bin/venv/lib/python3.5/site-packages/pip/_internal/utils/misc.py", line 844, in consume
deque(iterator, maxlen=0)
File "/home/omar/virtualenvironment/my_new_app/bin/venv/lib/python3.5/site-packages/pip/_internal/download.py", line 585, in written_chunks
for chunk in chunks:
File "/home/omar/virtualenvironment/my_new_app/bin/venv/lib/python3.5/site-packages/pip/_internal/utils/ui.py", line 159, in iter
for x in it:
File "/home/omar/virtualenvironment/my_new_app/bin/venv/lib/python3.5/site-packages/pip/_internal/download.py", line 574, in resp_read
decode_content=False):
File "/home/omar/virtualenvironment/my_new_app/bin/venv/lib/python3.5/site-packages/pip/_vendor/urllib3/response.py", line 465, in stream
data = self.read(amt=amt, decode_content=decode_content)
File "/home/omar/virtualenvironment/my_new_app/bin/venv/lib/python3.5/site-packages/pip/_vendor/urllib3/response.py", line 430, in read
raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
File "/usr/lib/python3.5/contextlib.py", line 77, in __exit__
self.gen.throw(type, value, traceback)
File "/home/omar/virtualenvironment/my_new_app/bin/venv/lib/python3.5/site-packages/pip/_vendor/urllib3/response.py", line 336, in _error_catcher
raise ReadTimeoutError(self._pool, None, 'Read timed out.')
pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='github-production-release-asset-2e65be.s3.amazonaws.com', port=443): Read timed out.
I tried to reinstall Python3 at first, but crashed my desktop and terminal and had to fix that using the console :D (using this answer https://askubuntu.com/questions/384033/removed-python-3-and-now-ubuntu-software-center-terminal-and-other-applications).
try increasing pip timeout: pip install --default-timeout=900 [pkg_name]
I tried many times in both system environment and virtual environment, and reached 100% of downloading once (~850MB), then it gave me that error again ! So, the problem obviously was not in the downloading step, but in the direct installation after it.
So I thought about splitting the two steps:
first download the module using:
$ wget "https://github.com/explosion/spacy-models/releases/download/en_core_web_lg-2.0.0/en_core_web_lg-2.0.0.tar.gz"
then install it using
$ pip install en_core_web_lg-2.0.0.tar.gz
and it worked smoothly.
It is true that I got around the original problem, but I still don't know what caused it to happen in the first place (if you knew, kindly write an answer for it).
I have python 3.5.2 installed. I also have pip 9.0.1 installed. The version number shows up when I type in the command python or pip --version. But when I try to install django using the command pip install Django, after a certain percentage, it stops downloading and the following error comes up on the command prompt. I have tried to set up the path but still the error shows up.
Exception:
Traceback (most recent call last):
File "c:\users\dell\appdata\local\programs\python\python35-32\lib\site-packages\pip\_vendor\requests\packages\urllib3\response.py", line 232, in_error_catcher
yield
File "c:\users\dell\appdata\local\programs\python\python35-32\lib\site-packages\pip\_vendor\requests\packages\urllib3\response.py", line 314, in read
data = self._fp.read(amt)
File "c:\users\dell\appdata\local\programs\python\python35-32\lib\site-packages\pip\_vendor\cachecontrol\filewrapper.py", line 60, in read
data = self.__fp.read(amt)
File "c:\users\dell\appdata\local\programs\python\python35-32\lib\http\client.py", line 448, in read
n = self.readinto(b)
File "c:\users\dell\appdata\local\programs\python\python35-32\lib\http\client.py", line 488, in readinto
n = self.fp.readinto(b)
File "c:\users\dell\appdata\local\programs\python\python35-32\lib\socket.py",line 575, in readinto
return self._sock.recv_into(b)
File "c:\users\dell\appdata\local\programs\python\python35-32\lib\ssl.py", line 929, in recv_into
return self.read(nbytes, buffer)
File "c:\users\dell\appdata\local\programs\python\python35-32\lib\ssl.py", line 791, in read
return self._sslobj.read(len, buffer)
File "c:\users\dell\appdata\local\programs\python\python35-32\lib\ssl.py", line 575, in read
v = self._sslobj.read(len, buffer)
socket.timeout: The read operation timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\users\dell\appdata\local\programs\python\python35-32\lib\site-packages\pip\basecommand.py", line 215, in main
status = self.run(options, args)
File "c:\users\dell\appdata\local\programs\python\python35-32\lib\site-packages\pip\commands\install.py", line 324, in run
requirement_set.prepare_files(finder)
File "c:\users\dell\appdata\local\programs\python\python35-32\lib\site-packages\pip\req\req_set.py", line 380, in prepare_files
ignore_dependencies=self.ignore_dependencies))
File "c:\users\dell\appdata\local\programs\python\python35-32\lib\site-packages\pip\req\req_set.py", line 620, in _prepare_file
session=self.session, hashes=hashes)
File "c:\users\dell\appdata\local\programs\python\python35-32\lib\site-packages\pip\download.py", line 821, in unpack_url
hashes=hashes
File "c:\users\dell\appdata\local\programs\python\python35-32\lib\site-packages\pip\download.py", line 659, in unpack_http_url
hashes)
File "c:\users\dell\appdata\local\programs\python\python35-32\lib\site-packages\pip\download.py", line 882, in _download_http_url
_download_url(resp, link, content_file, hashes)
File "c:\users\dell\appdata\local\programs\python\python35-32\lib\site-packages\pip\download.py", line 603, in _download_url
hashes.check_against_chunks(downloaded_chunks)
File "c:\users\dell\appdata\local\programs\python\python35-32\lib\site-packages\pip\utils\hashes.py", line 46, in check_against_chunks
for chunk in chunks:
File "c:\users\dell\appdata\local\programs\python\python35-32\lib\site-packages\pip\download.py", line 571, in written_chunks
for chunk in chunks:
File "c:\users\dell\appdata\local\programs\python\python35-32\lib\site-packages\pip\utils\ui.py", line 139, in iter
for x in it:
File "c:\users\dell\appdata\local\programs\python\python35-32\lib\site-packages\pip\download.py", line 560, in resp_read
decode_content=False):
File "c:\users\dell\appdata\local\programs\python\python35-32\lib\site-packages\pip\_vendor\requests\packages\urllib3\response.py", line 357, in stream
data = self.read(amt=amt, decode_content=decode_content)
File "c:\users\dell\appdata\local\programs\python\python35-32\lib\site-packages\pip\_vendor\requests\packages\urllib3\response.py", line 324, in read
flush_decoder = True
File "c:\users\dell\appdata\local\programs\python\python35-32\lib\contextlib.py", line 77, in __exit__
self.gen.throw(type, value, traceback)
File "c:\users\dell\appdata\local\programs\python\python35-32\lib\site-packages\pip\_vendor\requests\packages\urllib3\response.py", line 237, in_error_catcher
raise ReadTimeoutError(self._pool, None, 'Read timed out.')
pip._vendor.requests.packages.urllib3.exceptions.ReadTimeoutError:HTTPSConnectionPool(host='pypi.python.org', port=443): Read timed out.
What the traceback tells you is that the maximum time allocated to one read operation was spent and, thus, the operation was aborted. This may be due to a low connection speed, in which case a quick fix may be to increase the timeout time for installing a package. Try this:
pip --default-timeout=500 install django
where 500 is the amount of time in seconds. Feel free to increase / decrease it as you wish. Hope it helps.
You should use a virtualenv
to create a virtual environment. Then installing django: pip install django, not Django
!SOF: How to leave/exit/deactivate a python virtualenv? Link
I keep getting the below error every time I do a deploy after updating GAE to a new version (1.8.3 in this case).
I have read other questions about this and the going recommendation is to delete /Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/cacerts/*cacerts.txt
Does anyone know of a better fix than deleting these files after every update?
Note: I have the Python SSL module installed
*** Running appcfg.py with the following flags:
--no_cookies --email=joshainglis#gmail.com --passin update
10:52 AM Host: appengine.google.com
10:52 AM Application: josha-search-py-demo; version: 1
Traceback (most recent call last):
File "google_appengine/appcfg.py", line 171, in <module>
run_file(__file__, globals())
File "google_appengine/appcfg.py", line 167, in run_file
execfile(script_path, globals_)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/appcfg.py", line 4282, in <module>
main(sys.argv)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/appcfg.py", line 4273, in main
result = AppCfgApp(argv).Run()
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/appcfg.py", line 2409, in Run
self.action(self)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/appcfg.py", line 4003, in __call__
return method()
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/appcfg.py", line 2987, in Update
updatecheck.CheckForUpdates()
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/sdk_update_checker.py", line 259, in CheckForUpdates
runtime=runtime))
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/appengine_rpc.py", line 393, in Send
f = self.opener.open(req)
File "/Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/urllib2.py", line 400, in open
response = self._open(req, data)
File "/Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/urllib2.py", line 418, in _open
'_open', req)
File "/Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/urllib2.py", line 378, in _call_chain
result = func(*args)
File "/Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/urllib2.py", line 1215, in https_open
return self.do_open(httplib.HTTPSConnection, req)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/fancy_urllib/fancy_urllib/__init__.py", line 383, in do_open
url_error.reason.args[1])
fancy_urllib.InvalidCertificateException: Host appengine.google.com returned an invalid certificate (_ssl.c:504: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed):
To learn more, see http://code.google.com/appengine/kb/general.html#rpcssl
If deploy fails you might need to 'rollback' manually.
The "Make Symlinks..." menu option can help with command-line work.
*** appcfg.py has finished with exit code 1 ***
There is a copy of fancy_urllib inside fancy_urllib where the __init__.py is with InvalidCertificateException class definition.
Just copy .../fancy_urllib/fancy_urllib/__init__.py to .../fancy_urllib/__init__.py