You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After following the installation procedure as defined on the Optunity website, I get the below error when running optunity_example.m:
/usr/bin/python.exe: Error while finding module specification for 'optunity.standalone' (ModuleNotFoundError: No
module named 'optunity')
at line 46 of comm_launch.m: cmd = ['python -m optunity.standalone ', num2str(port)];
Following issues #72 and #110, I uninstalled all other versions of python on my machine and reinstalled the latest version (3.9.5). I then installed Optunity, attempting cloning the git repository, downloading the git repository, and using both the python and pip install methods from the Optunity website. The Octave path was appended via addpath(genpath('C:\Users~~~\optunity-master\wrappers\octave')); savepath; and the Sockets Octave package has been both installed and loaded prior to each attempted run of optunity_example.
My Path user variable includes my python location, and my PYTHONPATH system variable contains the optunity location. I know at least some of this is working, because I can run test_standalone.py via the windows command prompt and see it execute successfully. Furthermore, from the windows command prompt I can execute python -c "import optunity" successfully. While I can call python commands from my Octave command window, "python import optunity" and "python import optunity.standalone" fail.
Has anyone successfully installed optunity on Windows 10 GNU Octave?
The text was updated successfully, but these errors were encountered:
After following the installation procedure as defined on the Optunity website, I get the below error when running optunity_example.m:
/usr/bin/python.exe: Error while finding module specification for 'optunity.standalone' (ModuleNotFoundError: No
module named 'optunity')
at line 46 of comm_launch.m: cmd = ['python -m optunity.standalone ', num2str(port)];
Following issues #72 and #110, I uninstalled all other versions of python on my machine and reinstalled the latest version (3.9.5). I then installed Optunity, attempting cloning the git repository, downloading the git repository, and using both the python and pip install methods from the Optunity website. The Octave path was appended via addpath(genpath('C:\Users~~~\optunity-master\wrappers\octave')); savepath; and the Sockets Octave package has been both installed and loaded prior to each attempted run of optunity_example.
My Path user variable includes my python location, and my PYTHONPATH system variable contains the optunity location. I know at least some of this is working, because I can run test_standalone.py via the windows command prompt and see it execute successfully. Furthermore, from the windows command prompt I can execute python -c "import optunity" successfully. While I can call python commands from my Octave command window, "python import optunity" and "python import optunity.standalone" fail.
Has anyone successfully installed optunity on Windows 10 GNU Octave?
The text was updated successfully, but these errors were encountered: