
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I got some installation problems with mmAPI on my PC, installed it yesterday on macOs without problems.
What did i do so far:
a) downloaded mmAPI from gitHub
b) extraction the zip File
c) running build_python_distrib.bat, which ended very fast, is there any logFile? On MacOS the makefile was running for 30s with a lot of output.
d) installing Visual Studio 2019
e) installing python 2.7.17 Shell and IDLE
when opening the test.py in pythonShell and running it the following Error appears:
Python 2.7.17 (v2.7.17:c2f86d86e6, Oct 19 2019, 21:01:17) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license()" for more information.
>>>
============== RESTART: C:\mm-api-master\distrib\python\test.py ==============
Traceback (most recent call last):
File "C:\mm-api-master\distrib\python\test.py", line 1, in <module>
import mmapi
File "C:\mm-api-master\distrib\python\mmapi.py", line 26, in <module>
_mmapi = swig_import_helper()
File "C:\mm-api-master\distrib\python\mmapi.py", line 18, in swig_import_helper
import _mmapi
ImportError: No module named _mmapi
>>>
is there something like $Path under macOS? What is the best way to start an pythonScript? With macOS i go to terminal and type python (which is found under /usr/bin ) ./test.py
Solved! Go to Solution.