-
Notifications
You must be signed in to change notification settings - Fork 70
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
NameError: name 'wrap_train' is not defined : somoclu Version: 1.7.5 in windows #144
Comments
Have you tried some solutions from #28 ? |
Hi @xgdgsc , May I know any suggestions available please? |
I'm having the same issue with Python version 3.7.4 and Somoclu version 1.7.5 . Somoclu 1.7.5 works fine with python 3.6, but with python 3.7.4 I get the same errors as you. However Somoclu version 1.7.4 works fine on python 3.7.4 |
Thanks @sahautal, I have Python 3.7.0, somoclu 1.7.4 worked. |
Python 3.7.4 or 3.7.0 with Somoclu 1.7.4 didnt work for me, neither Python 3.6 with Somoclu 1.7.5 :( |
Modified the setup process in Python Possible fix for peterwittek#144
I'm having the exact same problem. Tried manually setting the ddls, nothing. I tried downgrading versions and still. with 3.7+ nothing works. Same behavior on 3.8.2. |
I uploaded https://files.pythonhosted.org/packages/bf/1d/8f2a89cd9a0f37fe3a8ba114f43e310a832f5f30f7f3d886e6379ab2e722/somoclu-1.7.5.1.tar.gz . You can try run |
Hey,
Any ideia? Thank you |
Which version of VS? I only tested latest . |
@xgdgsc @pedromaiapatinha Any update on this? Still an issue for me. Everything is latest. I only got as far as figuring out that setup.py fails to compile with error code 2. But it doesn't fail the process, so unless you scroll up you won't know it failed, it reports that install was successful. As the result _somoclu_wrap.pyd isn't getting created and I get the above error. |
It worked for me using this solution (https://www.scivision.dev/python-windows-visual-c-14-required) for installing the 1.7.5.1 version, the error does not appear anymore. However my Jupyter Notebook kernel dies everytime I try to train data, even small datasets. Windows 10 64 bits, Anaconda 3, Python 3.8.
|
I run ito the same issue as @rodiegeology . I also tried to run it in python directly, but the result remains the same: The python interpreter dies. Do I understand correctly that - to get somoclu up and running on windows - I have to have Visual Studio? Visual Studio Build Tools are not sufficient for this task? |
Hi, I'm having this same error with somoclu but with a Macbook M1 pro, I see that the 1.7.5.1 change above is pushed to pypi but it fails to actually build locally:
|
Uploaded src package 1.7.6 to pypi. |
Conda updated with M1 build, please test if you have a M1 device. |
Any updates on this issue? Have the same issue in Ubuntu 20.04. How can I resolve this? I am using somoclu==1.7.6 in an virtual environment. cc @peterwittek |
Solved with: |
Hi,
I am getting the error which I can see the different issues for the same in discussions dating back from 2016,
may i know the correct solutions please?
I am using windows, in Anaconda spyder IDE
Thanks
The text was updated successfully, but these errors were encountered: