-
Notifications
You must be signed in to change notification settings - Fork 39
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
No matching distribution found for wx>=3.0.3 (from gym-mupen64plus==0.0.1) #18
Comments
Problem solved ... problems with my pip install |
I have also this problem |
Hey @frogoscar, sorry about that. I need to get the README updated, as well as update the setup.py to reflect the dependency updates. Thanks to this comment, you should be able to get the build to work with: sudo apt-get install dpkg-dev build-essential libwebkitgtk-dev libjpeg-dev libtiff-dev libgtk2.0-dev libsdl1.2-dev libgstreamer-plugins-base0.10-dev libnotify-dev freeglut3 freeglut3-dev
pip install wxPython Please let me know if that works for you. If not, can you post the error message(s) you're getting during the build? |
Hello,
@bzier
Thank you very much for your quick reply.
I have tried the above solution you gave.
But still the building error:
```
../../../../sip/cpp/sip_html2cmodule.cpp:391:4: error: ‘wxWebView’ in namespace ‘::’ does not name a type
::wxWebView* sipVH__html2_23(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, ::wxWindow*parent, ::wxWindowID id,const ::wxString& url,const ::wxPoint& pos,const ::wxSize& size,long style,const ::wxString& name)
^
../../../../sip/cpp/sip_html2cmodule.cpp:401:4: error: ‘wxWebView’ in namespace ‘::’ does not name a type
::wxWebView* sipVH__html2_22(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod)
^
../../../../sip/cpp/sip_html2cmodule.cpp:592:55: error: ‘wxWEBVIEW_FIND_BACKWARDS’ was not declared in this scope
{sipName_WEBVIEW_FIND_BACKWARDS, static_cast<int>(wxWEBVIEW_FIND_BACKWARDS), 5},
^
../../../../sip/cpp/sip_html2cmodule.cpp:593:53: error: ‘wxWEBVIEW_FIND_DEFAULT’ was not declared in this scope
{sipName_WEBVIEW_FIND_DEFAULT, static_cast<int>(wxWEBVIEW_FIND_DEFAULT), 5},
^
../../../../sip/cpp/sip_html2cmodule.cpp:594:57: error: ‘wxWEBVIEW_FIND_ENTIRE_WORD’ was not declared in this scope
{sipName_WEBVIEW_FIND_ENTIRE_WORD, static_cast<int>(wxWEBVIEW_FIND_ENTIRE_WORD), 5},
^
../../../../sip/cpp/sip_html2cmodule.cpp:595:62: error: ‘wxWEBVIEW_FIND_HIGHLIGHT_RESULT’ was not declared in this scope
{sipName_WEBVIEW_FIND_HIGHLIGHT_RESULT, static_cast<int>(wxWEBVIEW_FIND_HIGHLIGHT_RESULT), 5},
^
../../../../sip/cpp/sip_html2cmodule.cpp:596:56: error: ‘wxWEBVIEW_FIND_MATCH_CASE’ was not declared in this scope
{sipName_WEBVIEW_FIND_MATCH_CASE, static_cast<int>(wxWEBVIEW_FIND_MATCH_CASE), 5},
^
../../../../sip/cpp/sip_html2cmodule.cpp:597:50: error: ‘wxWEBVIEW_FIND_WRAP’ was not declared in this scope
{sipName_WEBVIEW_FIND_WRAP, static_cast<int>(wxWEBVIEW_FIND_WRAP), 5},
^
../../../../sip/cpp/sip_html2cmodule.cpp:598:53: error: ‘wxWEBVIEW_NAV_ERR_AUTH’ was not declared in this scope
{sipName_WEBVIEW_NAV_ERR_AUTH, static_cast<int>(wxWEBVIEW_NAV_ERR_AUTH), 8},
^
../../../../sip/cpp/sip_html2cmodule.cpp:599:60: error: ‘wxWEBVIEW_NAV_ERR_CERTIFICATE’ was not declared in this scope
{sipName_WEBVIEW_NAV_ERR_CERTIFICATE, static_cast<int>(wxWEBVIEW_NAV_ERR_CERTIFICATE), 8},
^
../../../../sip/cpp/sip_html2cmodule.cpp:600:59: error: ‘wxWEBVIEW_NAV_ERR_CONNECTION’ was not declared in this scope
{sipName_WEBVIEW_NAV_ERR_CONNECTION, static_cast<int>(wxWEBVIEW_NAV_ERR_CONNECTION), 8},
^
../../../../sip/cpp/sip_html2cmodule.cpp:601:58: error: ‘wxWEBVIEW_NAV_ERR_NOT_FOUND’ was not declared in this scope
{sipName_WEBVIEW_NAV_ERR_NOT_FOUND, static_cast<int>(wxWEBVIEW_NAV_ERR_NOT_FOUND), 8},
^
../../../../sip/cpp/sip_html2cmodule.cpp:602:54: error: ‘wxWEBVIEW_NAV_ERR_OTHER’ was not declared in this scope
{sipName_WEBVIEW_NAV_ERR_OTHER, static_cast<int>(wxWEBVIEW_NAV_ERR_OTHER), 8},
^
../../../../sip/cpp/sip_html2cmodule.cpp:603:56: error: ‘wxWEBVIEW_NAV_ERR_REQUEST’ was not declared in this scope
{sipName_WEBVIEW_NAV_ERR_REQUEST, static_cast<int>(wxWEBVIEW_NAV_ERR_REQUEST), 8},
^
../../../../sip/cpp/sip_html2cmodule.cpp:604:57: error: ‘wxWEBVIEW_NAV_ERR_SECURITY’ was not declared in this scope
{sipName_WEBVIEW_NAV_ERR_SECURITY, static_cast<int>(wxWEBVIEW_NAV_ERR_SECURITY), 8},
^
../../../../sip/cpp/sip_html2cmodule.cpp:605:63: error: ‘wxWEBVIEW_NAV_ERR_USER_CANCELLED’ was not declared in this scope
{sipName_WEBVIEW_NAV_ERR_USER_CANCELLED, static_cast<int>(wxWEBVIEW_NAV_ERR_USER_CANCELLED), 8},
^
../../../../sip/cpp/sip_html2cmodule.cpp:606:55: error: ‘wxWEBVIEW_RELOAD_DEFAULT’ was not declared in this scope
{sipName_WEBVIEW_RELOAD_DEFAULT, static_cast<int>(wxWEBVIEW_RELOAD_DEFAULT), 9},
^
../../../../sip/cpp/sip_html2cmodule.cpp:607:56: error: ‘wxWEBVIEW_RELOAD_NO_CACHE’ was not declared in this scope
{sipName_WEBVIEW_RELOAD_NO_CACHE, static_cast<int>(wxWEBVIEW_RELOAD_NO_CACHE), 9},
^
../../../../sip/cpp/sip_html2cmodule.cpp:608:51: error: ‘wxWEBVIEW_ZOOM_LARGE’ was not declared in this scope
{sipName_WEBVIEW_ZOOM_LARGE, static_cast<int>(wxWEBVIEW_ZOOM_LARGE), 10},
^
../../../../sip/cpp/sip_html2cmodule.cpp:609:53: error: ‘wxWEBVIEW_ZOOM_LARGEST’ was not declared in this scope
{sipName_WEBVIEW_ZOOM_LARGEST, static_cast<int>(wxWEBVIEW_ZOOM_LARGEST), 10},
^
../../../../sip/cpp/sip_html2cmodule.cpp:610:52: error: ‘wxWEBVIEW_ZOOM_MEDIUM’ was not declared in this scope
{sipName_WEBVIEW_ZOOM_MEDIUM, static_cast<int>(wxWEBVIEW_ZOOM_MEDIUM), 10},
^
../../../../sip/cpp/sip_html2cmodule.cpp:611:51: error: ‘wxWEBVIEW_ZOOM_SMALL’ was not declared in this scope
{sipName_WEBVIEW_ZOOM_SMALL, static_cast<int>(wxWEBVIEW_ZOOM_SMALL), 10},
^
../../../../sip/cpp/sip_html2cmodule.cpp:612:50: error: ‘wxWEBVIEW_ZOOM_TINY’ was not declared in this scope
{sipName_WEBVIEW_ZOOM_TINY, static_cast<int>(wxWEBVIEW_ZOOM_TINY), 10},
^
../../../../sip/cpp/sip_html2cmodule.cpp:613:57: error: ‘wxWEBVIEW_ZOOM_TYPE_LAYOUT’ was not declared in this scope
{sipName_WEBVIEW_ZOOM_TYPE_LAYOUT, static_cast<int>(wxWEBVIEW_ZOOM_TYPE_LAYOUT), 11},
^
../../../../sip/cpp/sip_html2cmodule.cpp:614:55: error: ‘wxWEBVIEW_ZOOM_TYPE_TEXT’ was not declared in this scope
{sipName_WEBVIEW_ZOOM_TYPE_TEXT, static_cast<int>(wxWEBVIEW_ZOOM_TYPE_TEXT), 11},
^
../../../../sip/cpp/sip_html2cmodule.cpp:671:37: error: ‘wxWebViewBackendDefault’ was not declared in this scope
{sipName_WebViewBackendDefault, wxWebViewBackendDefault, 'N'},
^
../../../../sip/cpp/sip_html2cmodule.cpp:672:32: error: ‘wxWebViewBackendIE’ was not declared in this scope
{sipName_WebViewBackendIE, wxWebViewBackendIE, 'N'},
^
../../../../sip/cpp/sip_html2cmodule.cpp:673:36: error: ‘wxWebViewBackendWebKit’ was not declared in this scope
{sipName_WebViewBackendWebKit, wxWebViewBackendWebKit, 'N'},
^
../../../../sip/cpp/sip_html2cmodule.cpp:674:36: error: ‘wxWebViewDefaultURLStr’ was not declared in this scope
{sipName_WebViewDefaultURLStr, wxWebViewDefaultURLStr, 'N'},
^
../../../../sip/cpp/sip_html2cmodule.cpp:675:30: error: ‘wxWebViewNameStr’ was not declared in this scope
{sipName_WebViewNameStr, wxWebViewNameStr, 'N'},
^
../../../../sip/cpp/sip_html2cmodule.cpp:682:35: error: ‘wxEVT_WEBVIEW_ERROR’ was not declared in this scope
{sipName_wxEVT_WEBVIEW_ERROR, wxEVT_WEBVIEW_ERROR},
^
../../../../sip/cpp/sip_html2cmodule.cpp:683:36: error: ‘wxEVT_WEBVIEW_LOADED’ was not declared in this scope
{sipName_wxEVT_WEBVIEW_LOADED, wxEVT_WEBVIEW_LOADED},
^
../../../../sip/cpp/sip_html2cmodule.cpp:684:39: error: ‘wxEVT_WEBVIEW_NAVIGATED’ was not declared in this scope
{sipName_wxEVT_WEBVIEW_NAVIGATED, wxEVT_WEBVIEW_NAVIGATED},
^
../../../../sip/cpp/sip_html2cmodule.cpp:685:40: error: ‘wxEVT_WEBVIEW_NAVIGATING’ was not declared in this scope
{sipName_wxEVT_WEBVIEW_NAVIGATING, wxEVT_WEBVIEW_NAVIGATING},
^
../../../../sip/cpp/sip_html2cmodule.cpp:686:39: error: ‘wxEVT_WEBVIEW_NEWWINDOW’ was not declared in this scope
{sipName_wxEVT_WEBVIEW_NEWWINDOW, wxEVT_WEBVIEW_NEWWINDOW},
^
../../../../sip/cpp/sip_html2cmodule.cpp:687:43: error: ‘wxEVT_WEBVIEW_TITLE_CHANGED’ was not declared in this scope
{sipName_wxEVT_WEBVIEW_TITLE_CHANGED, wxEVT_WEBVIEW_TITLE_CHANGED},
^
Waf: Leaving directory `/tmp/pip-build-lDFrtv/wxPython/build/waf/2.7/gtk3'
Build failed
-> task in '_html2' failed (exit status 1):
{task 140419352855120: cxx sip_html2cmodule.cpp -> sip_html2cmodule.cpp.17.o}
```
|
I'll have to take a closer look at this later. I haven't seen this error before. I likely won't get the chance to look into it tonight, but possibly tomorrow. Based on your issue on the TensorKart repo, it sounds like you were maybe able to work past this? If so, what was the solution? |
For the moment, I just commented the line
in your https://github.com/bzier/gym-mupen64plus/blob/master/setup.py |
Yeah ok. It really needs to be replaced with |
@bzier |
Hello,
I am trying to install gym-mupen64plus through "sudo pip install -e ." and get the following error:
Obtaining file:///home/xavi/Desktop/TensorKart/mupen64plus-src/gym-mupen64plus
Collecting gym>=0.2.3 (from gym-mupen64plus==0.0.1)
Downloading gym-0.9.2.tar.gz (157kB)
100% |████████████████████████████████| 163kB 2.1MB/s
Collecting numpy>=1.12.0 (from gym-mupen64plus==0.0.1)
Downloading numpy-1.13.1-cp35-cp35m-manylinux1_x86_64.whl (16.9MB)
100% |████████████████████████████████| 16.9MB 130kB/s
Collecting PyYAML>=3.12 (from gym-mupen64plus==0.0.1)
Downloading PyYAML-3.12.tar.gz (253kB)
100% |████████████████████████████████| 256kB 2.4MB/s
Collecting termcolor>=1.1.0 (from gym-mupen64plus==0.0.1)
Downloading termcolor-1.1.0.tar.gz
Collecting wx>=3.0.3 (from gym-mupen64plus==0.0.1)
Could not find a version that satisfies the requirement wx>=3.0.3 (from gym-mupen64plus==0.0.1) (from versions: )
No matching distribution found for wx>=3.0.3 (from gym-mupen64plus==0.0.1)
I already installed wxPython as you need it for record.py and it works.
When re-installing, everything is ok :
xavi@ubuntu:~/Desktop/TensorKart/mupen64plus-src/gym-mupen64plus$ sudo -H pip install wxPython
Collecting wxPython
Using cached wxPython-4.0.0b1.tar.gz
Requirement already satisfied: six in /usr/lib/python3/dist-packages (from wxPython)
Building wheels for collected packages: wxPython
Running setup.py bdist_wheel for wxPython ... done
Stored in directory: /root/.cache/pip/wheels/85/83/96/515f900d1a4b7cdb7ad15af8a513959e981254bf196403618d
Successfully built wxPython
Installing collected packages: wxPython
Successfully installed wxPython-4.0.0b1
Can you help please :) ?
Thanks
The text was updated successfully, but these errors were encountered: