pyunity: ModuleNotFoundError: No module named 'vector3'
I am a new user to pyunity…
i installed it with
pip install pyunity
I was trying out the examples…
python -m pyunity 1
it resulted in error:
Error log:
PS C:\Users\Lenovo> python -m pyunity 1
Loaded config
Trying GLFW as a window provider
Using window provider GLFW
Traceback (most recent call last):
File "C:\Program Files\Python38-32\lib\runpy.py", line 185, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "C:\Program Files\Python38-32\lib\runpy.py", line 144, in _get_module_details
return _get_module_details(pkg_main_name, error)
File "C:\Program Files\Python38-32\lib\runpy.py", line 111, in _get_module_details
__import__(pkg_name)
File "C:\Program Files\Python38-32\lib\site_packages\pyunity\__init__.py", line 131, in <module>
from .audio import *
File "audio.py", line 13, in init pyunity.audio
File "core.py", line 1, in init pyunity.core
ModuleNotFoundError: No module named 'vector3'
I have tried whatever i can do… but i can’t fix it nor find any module with name “vector3” on the internet…
Specs (if you need):
Python Version: Python 3.8.9
OS: Windows 7 SP 1
Processor: Intel core i3 (x86)
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 16
looks like everything is fine but i have another problem…
I thought you can’t do any help now! i just have to install that… but i am getting irritated by just one thing… C++ BUILD TOOLS WILL TAKE 3gb+ storage!! i only have data pack of 2gb!
Ah i know why. Please download this file and put that in your working directory. Then run
pip install pyunity-0.4.0-cp38-cp38-win_amd64.whl
which installs the latest build of pyunity. This issue has been marked in issue #7 and has been fixed, but I havent created a new release which has it. In the meantime, clone the repo and install from there (more details at pyunity.readthedocs.io)