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

No matching distribution found for wx>=3.0.3 (from gym-mupen64plus==0.0.1) #18

Closed
xaviervasques opened this issue Aug 12, 2017 · 8 comments

Comments

@xaviervasques
Copy link

xaviervasques commented Aug 12, 2017

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

import wx
wx.VERSION_STRING
'4.0.0b1'
wx.version
<function version at 0x7fb7cce37a28>

Can you help please :) ?

Thanks

@xaviervasques
Copy link
Author

Problem solved ... problems with my pip install

@frogoscar
Copy link

I have also this problem
And when I install wxPython 4.0.0 from pip, its build does not end up successfully.

@bzier
Copy link
Owner

bzier commented Oct 8, 2017

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?

@frogoscar
Copy link

frogoscar commented Oct 9, 2017 via email

@bzier
Copy link
Owner

bzier commented Oct 9, 2017

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?

@frogoscar
Copy link

@bzier

For the moment, I just commented the line

'wx>=3.0.3'

in your https://github.com/bzier/gym-mupen64plus/blob/master/setup.py

@bzier
Copy link
Owner

bzier commented Oct 10, 2017

Yeah ok. It really needs to be replaced with wxPython>=4.0.0b2. As I mentioned above, I need to update both the README and the setup.py files with this updated dependency. I will hopefully get to that this weekend (if not sooner). I'm still planning to take a closer look at that stack trace you provided later this evening.

@frogoscar
Copy link

@bzier
Thanks a lot

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

No branches or pull requests

3 participants