Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error UnicodeDecodeError on Ubuntu #6

Open
maxouille opened this issue Oct 12, 2014 · 1 comment
Open

Error UnicodeDecodeError on Ubuntu #6

maxouille opened this issue Oct 12, 2014 · 1 comment

Comments

@maxouille
Copy link

Hi !

I intalled openHMD and Cython and other stuff. I try to compile and install python-rift with python2.7 and i have this error :

running build
running build_ext
cythoning pyrift.pyx to pyrift.cpp
Traceback (most recent call last):
File "./setup.py", line 17, in
cmdclass = {'build_ext': build_ext})
File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/lib/python2.7/distutils/command/build.py", line 128, in run
self.run_command(cmd_name)
File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/local/lib/python2.7/dist-packages/Cython/Distutils/build_ext.py", line 163, in run
_build_ext.build_ext.run(self)
File "/usr/lib/python2.7/distutils/command/build_ext.py", line 337, in run
self.build_extensions()
File "/usr/local/lib/python2.7/dist-packages/Cython/Distutils/build_ext.py", line 170, in build_extensions
ext.sources = self.cython_sources(ext.sources, ext)
File "/usr/local/lib/python2.7/dist-packages/Cython/Distutils/build_ext.py", line 319, in cython_sources
full_module_name=module_name)
File "/usr/local/lib/python2.7/dist-packages/Cython/Compiler/Main.py", line 622, in compile
return compile_single(source, options, full_module_name)
File "/usr/local/lib/python2.7/dist-packages/Cython/Compiler/Main.py", line 575, in compile_single
return run_pipeline(source, options, full_module_name)
File "/usr/local/lib/python2.7/dist-packages/Cython/Compiler/Main.py", line 439, in run_pipeline
err, enddata = Pipeline.run_pipeline(pipeline, source)
File "/usr/local/lib/python2.7/dist-packages/Cython/Compiler/Pipeline.py", line 328, in run_pipeline
data = phase(data)
File "/usr/local/lib/python2.7/dist-packages/Cython/Compiler/Pipeline.py", line 54, in generate_pyx_code_stage
module_node.process_implementation(options, result)
File "/usr/local/lib/python2.7/dist-packages/Cython/Compiler/ModuleNode.py", line 111, in process_implementation
self.generate_c_code(env, options, result)
File "/usr/local/lib/python2.7/dist-packages/Cython/Compiler/ModuleNode.py", line 341, in generate_c_code
self.generate_filename_table(globalstate['filename_table'])
File "/usr/local/lib/python2.7/dist-packages/Cython/Compiler/ModuleNode.py", line 698, in generate_filename_table
if file_abspath.startswith(module_rootpath):
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 17: ordinal not in range(128)

Can you help me plz, it 's very urgent :)
THX

@lubosz
Copy link
Owner

lubosz commented Oct 13, 2014

You need to run it in python 3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants