Disconnect your computer from the network, otherwise you might get a “tx_id invalid” error.But if you are having problems follow these steps: Internet Activation is the preferred method to generate your license of Unity. If you upgrade to a minor version of Unity, for example 4.0 to 4.1, the add-ons will be kept. Licenses of add-ons are valid only for the Unity versions that share the same major number, for example 3.x and 4.x. See the manual page on installing Unity for further information. However, make sure you backup your projects as these might be upgraded by a newer version, and you won’t be able to open them in an older version of Unity. You can install different versions of the editor in different folders. Also make backups regularly to protect your projects. In general, make sure your computer meets all the system requirements, it’s up-to-date, and you have the required user permissions in your system. I just wanted to do some simple tests for a thesis project.The following sections explain how to troubleshoot and prevent problems with the Unity editor in different situations. Quick notes as well, I'm not in a virtual environment, not sure if this matters. Given the error messages, I am assuming the issue is with Python. ![]() ![]() ImportError: Traceback (most recent call last): Return _bootstrap._gcd_import(name, package, level)įile "c:\users\emiln\appdata\local\programs\python\python37\lib\site-packages\tensorflow_core\python\_init_.py", line 49, in įrom tensorflow.python import pywrap_tensorflowįile "c:\users\emiln\appdata\local\programs\python\python37\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 74, in Module = _importlib.import_module(self._name_)įile "c:\users\emiln\appdata\local\programs\python\python37\lib\importlib\_init_.py", line 127, in import_module Module = _import_(self.module_name, fromlist=, level=0)įile "d:\unity stuff\ml-agents-master\ml-agents-master\ml-agents\mlagents\trainers\learn.py", line 13, in įile "d:\unity stuff\ml-agents-master\ml-agents-master\ml-agents\mlagents\tf_utils\_init_.py", line 1, in įrom mlagents.tf_utils.tf import tf as tf # noqaįile "d:\unity stuff\ml-agents-master\ml-agents-master\ml-agents\mlagents\tf_utils\tf.py", line 3, in įile "c:\users\emiln\appdata\local\programs\python\python37\lib\site-packages\tensorflow\_init_.py", line 101, in įile "c:\users\emiln\appdata\local\programs\python\python37\lib\site-packages\tensorflow_core\_init_.py", line 40, in įrom import module_util as _module_utilįile "c:\users\emiln\appdata\local\programs\python\python37\lib\site-packages\tensorflow\_init_.py", line 50, in _getattr_įile "c:\users\emiln\appdata\local\programs\python\python37\lib\site-packages\tensorflow\_init_.py", line 44, in _load Return get_distribution(dist).load_entry_point(group, name)įile "c:\users\emiln\appdata\local\programs\python\python37\lib\site-packages\pkg_resources\_init_.py", line 2852, in load_entry_pointįile "c:\users\emiln\appdata\local\programs\python\python37\lib\site-packages\pkg_resources\_init_.py", line 2443, in loadįile "c:\users\emiln\appdata\local\programs\python\python37\lib\site-packages\pkg_resources\_init_.py", line 2449, in resolve Load_entry_point('mlagents', 'console_scripts', 'mlagents-learn')()įile "c:\users\emiln\appdata\local\programs\python\python37\lib\site-packages\pkg_resources\_init_.py", line 489, in load_entry_point ImportError: DLL load failed: Cannot find the assigned module.ĭuring handling of the above exception, another exception occurred:įile "C:\Users\EmilN\AppData\Local\Programs\Python\Python37\Scripts\mlagents-learn-script.py", line 11, in Return load_dynamic(name, filename, file)įile "c:\users\emiln\appdata\local\programs\python\python37\lib\imp.py", line 342, in load_dynamic _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)įile "c:\users\emiln\appdata\local\programs\python\python37\lib\imp.py", line 242, in load_module _pywrap_tensorflow_internal = swig_import_helper()įile "c:\users\emiln\appdata\local\programs\python\python37\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper Traceback (most recent call last):įile "c:\users\emiln\appdata\local\programs\python\python37\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 58, in įrom _tensorflow_internal import *įile "c:\users\emiln\appdata\local\programs\python\python37\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 28, in However when I try to run the mlagents-learn command mlagents-learn config/ppo/3DBall.yaml -run-id=first3DBallRun in cmd I get the following error. My guess is I did something wrong in the part python package install, although I did follow that as well. But I did follow the installation guide from start to finish that can be found on the mlagents GitHub installation guide. ![]() I'm kinda new to Unity so I may have done something wrong.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |