{"action":"closed","issue":{"url":"https://api.github.com/repos/lbl-srg/modelica-buildings/issues/482","repository_url":"https://api.github.com/repos/lbl-srg/modelica-buildings","labels_url":"https://api.github.com/repos/lbl-srg/modelica-buildings/issues/482/labels{/name}","comments_url":"https://api.github.com/repos/lbl-srg/modelica-buildings/issues/482/comments","events_url":"https://api.github.com/repos/lbl-srg/modelica-buildings/issues/482/events","html_url":"https://github.com/lbl-srg/modelica-buildings/issues/482","id":129002389,"number":482,"title":"Python27 example question","user":{"login":"world2005","id":6999724,"avatar_url":"https://avatars.githubusercontent.com/u/6999724?v=3","gravatar_id":"","url":"https://api.github.com/users/world2005","html_url":"https://github.com/world2005","followers_url":"https://api.github.com/users/world2005/followers","following_url":"https://api.github.com/users/world2005/following{/other_user}","gists_url":"https://api.github.com/users/world2005/gists{/gist_id}","starred_url":"https://api.github.com/users/world2005/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/world2005/subscriptions","organizations_url":"https://api.github.com/users/world2005/orgs","repos_url":"https://api.github.com/users/world2005/repos","events_url":"https://api.github.com/users/world2005/events{/privacy}","received_events_url":"https://api.github.com/users/world2005/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-27T01:55:19Z","updated_at":"2016-02-05T17:09:52Z","closed_at":"2016-02-05T17:09:52Z","body":"Hi,\r\n\r\nI can successfully run the example: ```Buildings.Utilities.IO.Python27.Functions.Examples.Exchange```.\r\n\r\nHowever, when I try to add the modules, ```import numpy```, ```import sklearn```, or ```import tensorflow```, Dymola responses errors:\r\n\r\n```\r\ndymosim started\r\n... \"dsin.txt\" loading (dymosim input file)\r\nThe following error was detected at time: 0\r\nFailed to load \"test\".\r\nThis may occur if you did not set the PYTHONPATH environment variable\r\nor if the Python module contains a syntax error.\r\nThe error message is \"ImportError('Traceback (most recent call last):\\n  File \"/usr/local/lib/python2.7/dist-packages/tensorflow/python/__init__.py\", line 37, in <module>\\n    from tensorflow.core.framework.graph_pb2 import *\\n  File \"/usr/local/lib/python2.7/dist-packages/tensorflow/core/framework/graph_pb2.py\", line 8, in <module>\\n    from google.protobuf import reflection as _reflection\\n  File \"/usr/local/lib/python2.7/dist-packages/google/protobuf/reflection.py\", line 58, in <module>\\n    from google.protobuf.internal import python_message as message_impl\\n  File \"/usr/local/lib/python2.7/dist-packages/google/protobuf/internal/python_message.py\", line 53, in <module>\\n    from io import BytesIO\\n  File \"/home/cchang11/anaconda2/lib/python2.7/io.py\", line 51, in <module>\\n    import _io\\nImportError: /home/cchang11/anaconda2/lib/python2.7/\r\nThe stack of functions is:\r\nBuildings.Utilities.IO.Python27.Functions.BaseClasses.exchange\r\nBuildings.Utilities.IO.Python27.Functions.exchange\r\nBuildings.Utilities.IO.Python27.Functions.exchange(\"test\", \"qq\", {2}, {0}, {\"\"}, 1, 1, 0, 0, 0)\r\nError: Failed to start model.\r\n```\r\n\r\nI tried to insert the following path but it dose not work.\r\n```\r\nimport sys\r\nsys.path.insert(0, '/home/cchang11/anaconda2/lib/python2.7/site-packages')\r\nimport sklearn\r\n```\r\n\r\nCould anyone give me a help?  Thank you very much.\r\n\r\n\r\n\r\n"}}