Sorry, I missed you included the pyglet versions. 1.3.0b1 and 1.3.0
Could you try this: - create new venv - pip install the dependencies first, asking for the specific versions in the 'known good' install - pip install cocos - verify installed versions are as expected - try the program to see if behaves well. if it does well, pip unistall pyglet and do a pip install pyglet without version; that should give last pyglet. Try the program to see if runs well or not. On Wed, Dec 6, 2017 at 6:39 PM, claudio canepa <[email protected]> wrote: > Hi Bastien. > > Could you verify which pyglet you have in each venv? > In theory you could start the python in the virtualenv and then do > import pyglet > print(pyglet.version) > > That should give some approximate version. > I'm not sure sure if pyglet really updated the declared version for each > alpha, if no difference in the declared version we can investigate later. > > Also posibilities; > - pyglet has an optional dependency on Pillow; it is present in one of > the venvs ? > - last pyglet versions did some magic to import the module 'future' (not > the built in future; a package available on pip; could it be different > 'future' versions ? > > > > On Wed, Dec 6, 2017 at 6:00 PM, Bastien Sevajol <[email protected] > > wrote: > >> I forgot to add attached files. There are in this mail. >> >> >> Le mercredi 6 décembre 2017 21:58:30 UTC+1, Bastien Sevajol a écrit : >>> >>> Hello, >>> >>> I have a stange problem with TiledMap. Following this steps: >>> >>> 1. Linux, Ubuntu: 4.10.0-40-generic with python3.5 installed >>> 2. Clone example script: git clone https://github.com/buxx/cocos2 >>> d_tiledmap_demo.git >>> 3. Go into it: cd cocos2d_tiledmap_demo >>> 4. Create a virtual env: virtualenv --no-site-packages -p >>> /usr/bin/python3.5 venv3.5 >>> 5. Source it: source venv3.5/bin/activate >>> 6. Install cocos2d: pip install cocos2d >>> 7. Start script: python demo.py >>> >>> I got a black screen (see with_fresh_install.png in attached files). But >>> if i source an old virtual env (same python version) of previous cocos2d >>> test, map is correctly loaded (see with_old_venv.png). I can found little >>> versions differences between fresh and old venv: >>> >>> >>> (venv3.5) ➜ cocos2d_tiledmap_demo git:(master) source /home/bux/Projets >>> /cocos/venv3.5/bin/activate >>> (venv3.5) ➜ cocos2d_tiledmap_demo git:(master) pip freeze >>> cocos2d==0.6.4 >>> future==0.16.0 >>> pkg-resources==0.0.0 >>> pyglet==1.3.0b1 >>> six==1.10.0 >>> (venv3.5) ➜ cocos2d_tiledmap_demo git:(master) source venv3.5/bin/ >>> activate >>> (venv3.5) ➜ cocos2d_tiledmap_demo git:(master) pip freeze >>> cocos2d==0.6.5 >>> future==0.16.0 >>> pkg-resources==0.0.0 >>> pyglet==1.3.0 >>> six==1.11.0 >>> >>> But if i pip install same versions, same black screen. So i d'ont think >>> version differences is responsible. What can be the reason of error ? Where >>> can i debug cocos (pyglet ?) source code to maybe found info about that ? >>> >>> Thank's. >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "cocos2d discuss" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at https://groups.google.com/group/cocos-discuss. >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "cocos2d discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/cocos-discuss. For more options, visit https://groups.google.com/d/optout.
