-
-
Notifications
You must be signed in to change notification settings - Fork 395
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
VizDoom and virtualenv #80
Comments
try Wojciech Jaśkowski, Ph.D. On 5 June 2016 at 22:02, glebreutov notifications@github.com wrote:
|
In my original issue I ran basic.py via PyCharm. When I trying to run through terminal (as you mentioned) - I'm getting another error (same with or without #!/usr/bin/python on top): (venv)$:~/Py/ViZDoom/examples/python$ python basic.py Seems, here we have some conflict of numpy versions. What version of numpy is used in VizDoom PS All mentioned is related to python inside virtualenv |
On 6 June 2016 at 20:16, glebreutov notifications@github.com wrote:
It should work at least in virtualenv because it does on my machine. I have |
Seems I found a solution: the problem was in brew installed python (similar issues #45 and #46 ). I managed to run using building instructions for OS X. Btw, here the script that I use to build VizDoom, maybe it can be helpful for somebody:
|
I trying to run basic.py with python inside of virtualenv, and getting this errors:
Traceback (most recent call last): File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 550, in <module> main() File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 532, in main known_paths = addusersitepackages(known_paths) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 266, in addusersitepackages user_site = getusersitepackages() File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 241, in getusersitepackages user_base = getuserbase() # this will also set USER_BASE File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 231, in getuserbase USER_BASE = get_config_var('userbase') File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/sysconfig.py", line 520, in get_config_var return get_config_vars().get(name) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/sysconfig.py", line 453, in get_config_vars import re File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/re.py", line 108, in <module> import _locale SystemError: dynamic module not initialized properly
I ran cmake and make under my virtualenv, before start. When I run it under default python - everything works well.
My OS is OS X, list of pip packages:
(venv) $ pip list dask (0.9.0) decorator (4.0.9) networkx (1.11) numpy (1.11.0) Pillow (3.2.0) pip (8.1.2) scikit-image (0.12.3) scipy (0.17.1) setuptools (22.0.5) six (1.10.0) toolz (0.8.0) wheel (0.29.0)
Any suggestions?
The text was updated successfully, but these errors were encountered: