I have been having some issues executing a command (launching IPython) over SSH. In troubleshooting it, I've come across something I can't understand. IPython either launches or doesn't dependent on whether I supply the full path or not - what's going wrong here?
/home/ubuntu/anaconda/bin/ipython notebook —-profile=server
...gives me the errors below, while:
~/anaconda/bin/ipython notebook --profile=server
...loads IPython flawlessly.
It's worth confirming that when I go to my home directory by typing cd, I do indeed get /home/ubuntu
Full stack trace:
ubuntu#ip-10-204-37-226:~$ /home/ubuntu/anaconda/bin/ipython notebook
—-profile=server Traceback (most recent call last): File
"/home/ubuntu/anaconda/bin/ipython", line 6, in
sys.exit(start_ipython()) File "/home/ubuntu/anaconda/lib/python2.7/site-packages/IPython/init.py",
line 118, in start_ipython
return launch_new_instance(argv=argv, **kwargs) File "/home/ubuntu/anaconda/lib/python2.7/site-packages/IPython/config/application.py",
line 544, in launch_instance
app.initialize(argv) File "", line 2, in initialize File
"/home/ubuntu/anaconda/lib/python2.7/site-packages/IPython/config/application.py",
line 89, in catch_config_error
return method(app, *args, **kwargs) File "/home/ubuntu/anaconda/lib/python2.7/site-packages/IPython/terminal/ipapp.py",
line 312, in initialize
super(TerminalIPythonApp, self).initialize(argv) File "", line 2, in initialize File
"/home/ubuntu/anaconda/lib/python2.7/site-packages/IPython/config/application.py",
line 89, in catch_config_error
return method(app, *args, **kwargs) File "/home/ubuntu/anaconda/lib/python2.7/site-packages/IPython/core/application.py",
line 362, in initialize
self.parse_command_line(argv) File "/home/ubuntu/anaconda/lib/python2.7/site-packages/IPython/terminal/ipapp.py",
line 307, in parse_command_line
return super(TerminalIPythonApp, self).parse_command_line(argv) File "", line 2, in parse_command_line File
"/home/ubuntu/anaconda/lib/python2.7/site-packages/IPython/config/application.py",
line 89, in catch_config_error
return method(app, *args, **kwargs) File "/home/ubuntu/anaconda/lib/python2.7/site-packages/IPython/config/application.py",
line 463, in parse_command_line
self.argv = list(argv) File "/home/ubuntu/anaconda/lib/python2.7/site-packages/IPython/utils/traitlets.py",
line 315, in set
new_value = self._validate(obj, value) File "/home/ubuntu/anaconda/lib/python2.7/site-packages/IPython/utils/traitlets.py",
line 323, in _validate
return self.validate(obj, value) File "/home/ubuntu/anaconda/lib/python2.7/site-packages/IPython/utils/traitlets.py",
line 1215, in validate
value = self.validate_elements(obj, value) File "/home/ubuntu/anaconda/lib/python2.7/site-packages/IPython/utils/traitlets.py",
line 1291, in validate_elements
return super(List, self).validate_elements(obj, value) File "/home/ubuntu/anaconda/lib/python2.7/site-packages/IPython/utils/traitlets.py",
line 1225, in validate_elements
v = self._trait.validate(obj, v) File "/home/ubuntu/anaconda/lib/python2.7/site-packages/IPython/utils/traitlets.py",
line 1028, in validate
return unicode(value) UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 0: ordinal not in range(128)
Related
I'm using the AWS CDK to run lambda functions locally. I have followed a couple of tutorials on setting this up but I appear to be getting issues when invoking the function with SAM. The typical error I encounter is below:
Invoking handler.handle (python3.9)
PypassLambdaLayer0643FC6D is a local Layer in the template
Image was not found.
Building image...Traceback (most recent call last):
File "runpy.py", line 194, in _run_module_as_main
File "runpy.py", line 87, in _run_code
File "C:\Program Files\Amazon\AWSSAMCLI\runtime\lib\site-packages\samcli\__main__.py", line 12, in <module>
cli(prog_name="sam")
File "C:\Program Files\Amazon\AWSSAMCLI\runtime\lib\site-packages\click\core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "C:\Program Files\Amazon\AWSSAMCLI\runtime\lib\site-packages\click\core.py", line 782, in main
rv = self.invoke(ctx)
File "C:\Program Files\Amazon\AWSSAMCLI\runtime\lib\site-packages\click\core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "C:\Program Files\Amazon\AWSSAMCLI\runtime\lib\site-packages\click\core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "C:\Program Files\Amazon\AWSSAMCLI\runtime\lib\site-packages\click\core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "C:\Program Files\Amazon\AWSSAMCLI\runtime\lib\site-packages\click\core.py", line 610, in invoke
return callback(*args, **kwargs)
File "C:\Program Files\Amazon\AWSSAMCLI\runtime\lib\site-packages\click\decorators.py", line 73, in new_func
return ctx.invoke(f, obj, *args, **kwargs)
File "C:\Program Files\Amazon\AWSSAMCLI\runtime\lib\site-packages\click\core.py", line 610, in invoke
return callback(*args, **kwargs)
File "C:\Program Files\Amazon\AWSSAMCLI\runtime\lib\site-packages\samcli\lib\telemetry\metric.py", line 166, in wrapped
raise exception # pylint: disable=raising-bad-type
File "C:\Program Files\Amazon\AWSSAMCLI\runtime\lib\site-packages\samcli\lib\telemetry\metric.py", line 124, in wrapped
return_value = func(*args, **kwargs)
File "C:\Program Files\Amazon\AWSSAMCLI\runtime\lib\site-packages\samcli\lib\utils\version_checker.py", line 41, in wrapped
actual_result = func(*args, **kwargs)
File "C:\Program Files\Amazon\AWSSAMCLI\runtime\lib\site-packages\samcli\cli\main.py", line 87, in wrapper
return func(*args, **kwargs)
File "C:\Program Files\Amazon\AWSSAMCLI\runtime\lib\site-packages\samcli\commands\local\invoke\cli.py", line 85, in cli
do_cli(
File "C:\Program Files\Amazon\AWSSAMCLI\runtime\lib\site-packages\samcli\commands\local\invoke\cli.py", line 182, in do_cli
context.local_lambda_runner.invoke(
File "C:\Program Files\Amazon\AWSSAMCLI\runtime\lib\site-packages\samcli\commands\local\lib\local_lambda.py", line 137, in invoke
self.local_runtime.invoke(
File "C:\Program Files\Amazon\AWSSAMCLI\runtime\lib\site-packages\samcli\lib\telemetry\metric.py", line 230, in wrapped_func
return_value = func(*args, **kwargs)
File "C:\Program Files\Amazon\AWSSAMCLI\runtime\lib\site-packages\samcli\local\lambdafn\runtime.py", line 177, in invoke
container = self.create(function_config, debug_context, container_host, container_host_interface)
File "C:\Program Files\Amazon\AWSSAMCLI\runtime\lib\site-packages\samcli\local\lambdafn\runtime.py", line 73, in create
container = LambdaContainer(
File "C:\Program Files\Amazon\AWSSAMCLI\runtime\lib\site-packages\samcli\local\docker\lambda_container.py", line 93, in __init__
image = LambdaContainer._get_image(
File "C:\Program Files\Amazon\AWSSAMCLI\runtime\lib\site-packages\samcli\local\docker\lambda_container.py", line 236, in _get_image
return lambda_image.build(runtime, packagetype, image, layers, architecture, function_name=function_name)
File "C:\Program Files\Amazon\AWSSAMCLI\runtime\lib\site-packages\samcli\local\docker\lambda_image.py", line 163, in build
self._build_image(
File "C:\Program Files\Amazon\AWSSAMCLI\runtime\lib\site-packages\samcli\local\docker\lambda_image.py", line 261, in _build_image
with create_tarball(tar_paths, tar_filter=tar_filter) as tarballfile:
File "contextlib.py", line 113, in __enter__
File "C:\Program Files\Amazon\AWSSAMCLI\runtime\lib\site-packages\samcli\lib\utils\tar.py", line 29, in create_tarball archive.add(path_on_system, arcname=path_in_tarball, filter=tar_filter)
File "tarfile.py", line 1977, in add
File "tarfile.py", line 1977, in add
File "tarfile.py", line 1977, in add
[Previous line repeated 1 more time]
File "tarfile.py", line 1955, in add
File "tarfile.py", line 1834, in gettarinfo
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\Users\\LeeBarrett\\OneDrive - LumiraDx Group Ltd\\Documents\\pypass_dev\\2022\\pypass_connect_lambda\\cdk.out\\asset.60e64357ce064cf62274b8d1a8976ceb2903f31abd576090b450010d30b4ac7a\\python\\numpy\\.libs\\libopenblas.FB5AE2TYXYH2IJRDKGDGQ3XBKLKTF43H.gfortran-win_amd64.dll'
I've had multiple errors similar to that above but sometimes the file that is (apparently) missing is different. It looks like an issue with building the image rather than the stack code itself but I'm unsure and couldn't find any other similar issues.
The code I am using in the Stack class object is below:
pypass_lambda_layer = _lambda.LayerVersion(self, "PypassLambdaLayer", code=_lambda.Code.from_asset("lambda/layers"), compatible_runtimes=[_lambda.Runtime.PYTHON_3_9])
my_lambda = _lambda.Function(self, "Pypasshandler", runtime=_lambda.Runtime.PYTHON_3_9, code=_lambda.Code.from_asset("lambda/code"), handler="handler.handle", layers=[pypass_lambda_layer])
Tutorials I tried to follow:
https://dev.to/upupkenchoong/how-to-provision-lambda-and-lambda-layer-with-cdk-2ff4
https://medium.com/geekculture/deploying-aws-lambda-layers-with-python-8b15e24bdad2
The layers folder referenced in the LayerVersion function contains another folder called python which has pandas installed in it.
\lambda
\layers
\python
\code
handler.py
I'm on a windows machine and I have the cdk packages installed in conda virtual environment.
Any help would be greatly appreciated.
Thanks
I only open a logging file:
logging.basicConfig(level=logging.DEBUG,
filename='app.log',
filemode='w', encoding='utf-8')
and a html file (Flask):
site = Template(render_template('base.html', list_of_active_tasks=active_tasks,
list_of_completed_tasks=completed_tasks, checker=checker,
type_of_list=type_of_list))
Every single file have utf-8 encoding, but that is what i get when launching a testing file:
Traceback (most recent call last):
File "C:\Program Files\JetBrains\PyCharm Community Edition 2021.3.2\plugins\python-ce\helpers\pycharm\_jb_pytest_runner.py", line 51, in <module>
sys.exit(pytest.main(args, plugins_to_load + [Plugin]))
File "C:\Users\Admin\AppData\Local\Programs\Python\Python39\lib\site-packages\_pytest\config\__init__.py", line 146, in main
config = _prepareconfig(args, plugins)
File "C:\Users\Admin\AppData\Local\Programs\Python\Python39\lib\site-packages\_pytest\config\__init__.py", line 325, in _prepareconfig
config = pluginmanager.hook.pytest_cmdline_parse(
File "C:\Users\Admin\AppData\Local\Programs\Python\Python39\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
File "C:\Users\Admin\AppData\Local\Programs\Python\Python39\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "C:\Users\Admin\AppData\Local\Programs\Python\Python39\lib\site-packages\pluggy\_callers.py", line 55, in _multicall
gen.send(outcome)
File "C:\Users\Admin\AppData\Local\Programs\Python\Python39\lib\site-packages\_pytest\helpconfig.py", line 102, in pytest_cmdline_parse
config: Config = outcome.get_result()
File "C:\Users\Admin\AppData\Local\Programs\Python\Python39\lib\site-packages\pluggy\_result.py", line 60, in get_result
raise ex[1].with_traceback(ex[2])
File "C:\Users\Admin\AppData\Local\Programs\Python\Python39\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
res = hook_impl.function(*args)
File "C:\Users\Admin\AppData\Local\Programs\Python\Python39\lib\site-packages\_pytest\config\__init__.py", line 1013, in pytest_cmdline_parse
self.parse(args)
File "C:\Users\Admin\AppData\Local\Programs\Python\Python39\lib\site-packages\_pytest\config\__init__.py", line 1301, in parse
self._preparse(args, addopts=addopts)
File "C:\Users\Admin\AppData\Local\Programs\Python\Python39\lib\site-packages\_pytest\config\__init__.py", line 1169, in _preparse
self._initini(args)
File "C:\Users\Admin\AppData\Local\Programs\Python\Python39\lib\site-packages\_pytest\config\__init__.py", line 1088, in _initini
rootpath, inipath, inicfg = determine_setup(
File "C:\Users\Admin\AppData\Local\Programs\Python\Python39\lib\site-packages\_pytest\config\findpaths.py", line 186, in determine_setup
rootdir, inipath, inicfg = locate_config([ancestor])
File "C:\Users\Admin\AppData\Local\Programs\Python\Python39\lib\site-packages\_pytest\config\findpaths.py", line 108, in locate_config
ini_config = load_config_dict_from_file(p)
File "C:\Users\Admin\AppData\Local\Programs\Python\Python39\lib\site-packages\_pytest\config\findpaths.py", line 56, in load_config_dict_from_file
iniconfig = _parse_ini_config(filepath)
File "C:\Users\Admin\AppData\Local\Programs\Python\Python39\lib\site-packages\_pytest\config\findpaths.py", line 30, in _parse_ini_config
return iniconfig.IniConfig(str(path))
File "C:\Users\Admin\AppData\Local\Programs\Python\Python39\lib\site-packages\iniconfig\__init__.py", line 54, in __init__
tokens = self._parse(iter(f))
File "C:\Users\Admin\AppData\Local\Programs\Python\Python39\lib\site-packages\iniconfig\__init__.py", line 82, in _parse
for lineno, line in enumerate(line_iter):
File "C:\Users\Admin\AppData\Local\Programs\Python\Python39\lib\encodings\cp1251.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x98 in position 234: character maps to <undefined>
Process finished with exit code 1
Empty suite
Empty suite
Moreover, my app is working without any issues, but test does not work. How can i fix it?
I am trying to run pyspark in the linux terminal. I have most of the installation done but I am getting the following error when I call pyspark in the linux terminal:
[TerminalIPythonApp] WARNING | Subcommand `ipython notebook` is deprecated and will be removed in future versions.
[TerminalIPythonApp] WARNING | You likely want to use `jupyter notebook` in the future
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python3/dist-packages/traitlets/config/application.py", line 657, in launch_instance
app.initialize(argv)
File "<decorator-gen-110>", line 2, in initialize
File "/usr/lib/python3/dist-packages/traitlets/config/application.py", line 87, in catch_config_error
return method(app, *args, **kwargs)
File "/usr/lib/python3/dist-packages/IPython/terminal/ipapp.py", line 307, in initialize
super(TerminalIPythonApp, self).initialize(argv)
File "<decorator-gen-7>", line 2, in initialize
File "/usr/lib/python3/dist-packages/traitlets/config/application.py", line 87, in catch_config_error
return method(app, *args, **kwargs)
File "/usr/lib/python3/dist-packages/IPython/core/application.py", line 455, in initialize
self.parse_command_line(argv)
File "/usr/lib/python3/dist-packages/IPython/terminal/ipapp.py", line 302, in parse_command_line
return super(TerminalIPythonApp, self).parse_command_line(argv)
File "<decorator-gen-4>", line 2, in parse_command_line
File "/usr/lib/python3/dist-packages/traitlets/config/application.py", line 87, in catch_config_error
return method(app, *args, **kwargs)
File "/usr/lib/python3/dist-packages/traitlets/config/application.py", line 514, in parse_command_line
return self.initialize_subcommand(subc, subargv)
File "/usr/lib/python3/dist-packages/IPython/core/application.py", line 244, in initialize_subcommand
return super(BaseIPythonApplication, self).initialize_subcommand(subc, argv)
File "<decorator-gen-3>", line 2, in initialize_subcommand
File "/usr/lib/python3/dist-packages/traitlets/config/application.py", line 87, in catch_config_error
return method(app, *args, **kwargs)
File "/usr/lib/python3/dist-packages/traitlets/config/application.py", line 445, in initialize_subcommand
subapp = import_item(subapp)
File "/usr/lib/python3/dist-packages/ipython_genutils/importstring.py", line 31, in import_item
module = __import__(package, fromlist=[obj])
ModuleNotFoundError: No module named 'notebook'
Most other forums say to install jupyter as follows:
pip install jupyter
but I already have this done.
Try this:
PYSPARK_DRIVER_PYTHON=ipython3 pyspark
I'm working on Odoo 10.0 CE (Ubuntu 18.04.1 LTS).
After editing views from Technical (Login Layout - web.login_layout) I set its Inherited View with Web layout - web.layout. I couldnt login to the database & its showing like this (traceback attached below). How to fix this?
I tried to update the database & module through command line as User, but it didnt work, still can't login to the database
Is there any way that i can edit/undo the Views (Web layout - web.layout) through command line (database)?
Thanks :)
500: Internal Server Error
Error
Error message:
load could not load template
Template: web.layout
Traceback
Traceback (most recent call last):
File "/opt/odoo/addons/website/models/ir_http.py", line 274, in _handle_exception
response = super(Http, cls)._handle_exception(exception)
File "/opt/odoo/odoo/addons/base/ir/ir_http.py", line 169, in _handle_exception
return request._handle_exception(exception)
File "/opt/odoo/odoo/http.py", line 775, in _handle_exception
return super(HttpRequest, self)._handle_exception(exception)
File "/opt/odoo/odoo/addons/base/ir/ir_http.py", line 195, in _dispatch
result = request.dispatch()
File "/opt/odoo/odoo/http.py", line 834, in dispatch
r = self._call_function(**self.params)
File "/opt/odoo/odoo/http.py", line 334, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/opt/odoo/odoo/service/model.py", line 101, in wrapper
return f(dbname, *args, **kwargs)
File "/opt/odoo/odoo/http.py", line 330, in checked_call
result.flatten()
File "/opt/odoo/odoo/http.py", line 1277, in flatten
self.response.append(self.render())
File "/opt/odoo/odoo/http.py", line 1270, in render
return env["ir.ui.view"].render_template(self.template, self.qcontext)
File "/opt/odoo/addons/app_odoo_customize/models/ir_ui_view.py", line 18, in render_template
return super(View, self).render_template(template, values=values, engine=engine)
File "/opt/odoo/odoo/addons/base/ir/ir_ui_view.py", line 1049, in render_template
return self.browse(self.get_view_id(template)).render(values, engine)
File "/opt/odoo/addons/website/models/ir_ui_view.py", line 115, in render
return super(View, self).render(values, engine=engine)
File "/opt/odoo/addons/web_editor/models/ir_ui_view.py", line 26, in render
return super(IrUiView, self).render(values=values, engine=engine)
File "/opt/odoo/odoo/addons/base/ir/ir_ui_view.py", line 1069, in render
return self.env[engine].render(self.id, qcontext)
File "/opt/odoo/odoo/addons/base/ir/ir_qweb/ir_qweb.py", line 53, in render
return super(IrQWeb, self).render(id_or_xml_id, values=values, **context)
File "/opt/odoo/odoo/addons/base/ir/ir_qweb/qweb.py", line 249, in render
self.compile(template, options)(self, body.append, values or {})
File "/opt/odoo/odoo/addons/base/ir/ir_qweb/qweb.py", line 318, in _compiled_fn
raise e
QWebException: None
Traceback (most recent call last):
File "/opt/odoo/odoo/addons/base/ir/ir_qweb/qweb.py", line 342, in get_template
document = options.get('load', self.load)(template, options)
File "/opt/odoo/odoo/addons/base/ir/ir_qweb/ir_qweb.py", line 81, in load
template = env['ir.ui.view'].read_template(name)
File "/opt/odoo/odoo/addons/base/ir/ir_ui_view.py", line 944, in read_template
return self._read_template(self.get_view_id(xml_id))
File "<decorator-gen-9>", line 2, in _read_template
File "/opt/odoo/odoo/tools/cache.py", line 87, in lookup
value = d[key] = self.method(*args, **kwargs)
File "/opt/odoo/odoo/addons/base/ir/ir_ui_view.py", line 935, in _read_template
arch = self.browse(view_id).read_combined(['arch'])['arch']
File "/opt/odoo/odoo/addons/base/ir/ir_ui_view.py", line 674, in read_combined
arch = self.apply_view_inheritance(arch_tree, root.id, self.model)
File "/opt/odoo/odoo/addons/base/ir/ir_ui_view.py", line 623, in apply_view_inheritance
source = self.apply_inheritance_specs(source, specs_tree, view_id)
File "/opt/odoo/odoo/addons/base/ir/ir_ui_view.py", line 601, in apply_inheritance_specs
self.raise_view_error(_("Element '%s' cannot be located in parent view") % tag, inherit_id)
File "/opt/odoo/odoo/addons/base/ir/ir_ui_view.py", line 474, in raise_view_error
raise ValueError(message)
ValueError: Element '<t name="Web layout" t-name="web.layout">' cannot be located in parent view
Error context:
View `Web layout`
[view_id: 165, xml_id: web.layout, model: n/a, parent_id: 166]
load could not load template
Template: web.layout
I am trying to run iPython on my Windows 8. I installed python 3.4.0 (32 bit version) and successfully installed iPython through the command
easy_install ipython[all]
The problem is when I try to run it
ipython notebook
I get the following error:
Traceback (most recent call last):
File "C:\Python34\Scripts\ipython-script.py", line 9, in <module>
load_entry_point('ipython==3.1.0', 'console_scripts', 'ipython')()
File "C:\Python34\lib\site-packages\IPython\__init__.py", line 120, in start_ipython return launch_new_instance(argv=argv, **kwargs)
File "C:\Python34\lib\site-packages\IPython\config\application.py", line 573, in launch_instance app.initialize(argv)
File "<string>", line 2, in initialize
File "C:\Python34\lib\site-packages\IPython\config\application.py", line 75, in catch_config_error return method(app, *args, **kwargs)
File "C:\Python34\lib\site-packages\IPython\terminal\ipapp.py", line 321, in initialize super(TerminalIPythonApp, self).initialize(argv)
File "<string>", line 2, in initialize
File "C:\Python34\lib\site-packages\IPython\config\application.py", line 75, in catch_config_error return method(app, *args, **kwargs)
File "C:\Python34\lib\site-packages\IPython\core\application.py", line 369, in initialize self.parse_command_line(argv)
File "C:\Python34\lib\site-packages\IPython\terminal\ipapp.py", line 316, in parse_command_line return super(TerminalIPythonApp, self).parse_command_line(argv)
File "<string>", line 2, in parse_command_line
File "C:\Python34\lib\site-packages\IPython\config\application.py", line 75, in catch_config_error return method(app, *args, **kwargs)
File "C:\Python34\lib\site-packages\IPython\config\application.py", line 471, in parse_command_line return self.initialize_subcommand(subc, subargv)
File "<string>", line 2, in initialize_subcommand
File "C:\Python34\lib\site-packages\IPython\config\application.py", line 75, in catch_config_error return method(app, *args, **kwargs)
File "C:\Python34\lib\site-packages\IPython\config\application.py", line 402, in initialize_subcommand subapp = import_item(subapp)
File "C:\Python34\lib\site-packages\IPython\utils\importstring.py", line 42, in import_item module = __import__(package, fromlist=[obj])
File "C:\Python34\lib\site-packages\IPython\html\notebookapp.py", line 30, in <module> check_for_zmq('13', 'IPython.html')
File "C:\Python34\lib\site-packages\IPython\utils\zmqrelated.py", line 10, in check_for_zmq import zmq
File "C:\Python34\lib\site-packages\zmq\__init__.py", line 25, in <module> _libsodium = ctypes.cdll.LoadLibrary(bundled_sodium[0])
File "C:\Python34\lib\ctypes\__init__.py", line 429, in LoadLibrary return self._dlltype(name)
File "C:\Python34\lib\ctypes\__init__.py", line 351, in __init__ self._handle = _dlopen(self._name, mode)
OSError: [WinError 193] %1 is not a valid Win32 application
Probably the 'name' of some application is wrongly specified. Can you help me to understand how to fix it?
Thank you!
Easy_Install is the devil (IMHO). You might want to use Continuum Anaconda. The Continuum solution is one that simply "just works" and helps to avoid the many hassles you will most likely have later with Easy_Install.