Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Octave Install on Windows fails at "optunity_example" #104

Open
Riley-Brooksher opened this issue Jun 18, 2021 · 0 comments
Open

Octave Install on Windows fails at "optunity_example" #104

Riley-Brooksher opened this issue Jun 18, 2021 · 0 comments

Comments

@Riley-Brooksher
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant