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

Filed to install with python 3.7 #26

Closed
johngull opened this issue Oct 11, 2019 · 4 comments
Closed

Filed to install with python 3.7 #26

johngull opened this issue Oct 11, 2019 · 4 comments
Labels
duplicate This issue or pull request already exists

Comments

@johngull
Copy link

Describe the bug
Installing blenderpy on Ubuntu with the python 3.7.
It show next error:

    ERROR: Command errored out with exit status 1:
     command: /home/vitaly/miniconda3/envs/blenderpy-test/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-1i9rexzd/bpy/setup.py'"'"'; __file__='"'"'/tmp/pip-install-1i9rexzd/bpy/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base pip-egg-info
         cwd: /tmp/pip-install-1i9rexzd/bpy/
    Complete output (16 lines):
    Traceback (most recent call last):
      File "/home/vitaly/miniconda3/envs/blenderpy-test/lib/python3.7/tokenize.py", line 397, in find_cookie
        codec = lookup(encoding)
    LookupError: unknown encoding: future_fstrings
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/home/vitaly/miniconda3/envs/blenderpy-test/lib/python3.7/tokenize.py", line 449, in open
        encoding, lines = detect_encoding(buffer.readline)
      File "/home/vitaly/miniconda3/envs/blenderpy-test/lib/python3.7/tokenize.py", line 436, in detect_encoding
        encoding = find_cookie(second)
      File "/home/vitaly/miniconda3/envs/blenderpy-test/lib/python3.7/tokenize.py", line 405, in find_cookie
        raise SyntaxError(msg)
    SyntaxError: unknown encoding for '/tmp/pip-install-1i9rexzd/bpy/setup.py': future_fstrings
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

I tried with the python 3.5 and installation worked fine.

Desktop (please complete the following information):

  • Ubuntu
@johngull
Copy link
Author

I am trying to install with the py -m pip install bpy

@no-materials
Copy link

I have the exact same issue.

@TylerGubala
Copy link
Owner

TylerGubala commented Oct 11, 2019 via email

@TylerGubala TylerGubala added the duplicate This issue or pull request already exists label Oct 26, 2019
@TylerGubala
Copy link
Owner

Closed as same as #1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants