Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

running from source

Hi all,

Am trying to run opensesame (2.9) from source, have downloaded all the minimally required files (see down), however, it does not work. At the moment I am getting the following error:

these are all the files in the opensesame folder:

Am I missing some simple steps, do I need other versions of the files? Any help would be welcome.

OS: windows 10, 64 bit,

Python - version 2.7.1 (:: Anaconda 2.4.1)
PyGame - via cmd 'pip install pygame', installed when in opensesame folder
PyQt4 - downloaded, all files in opensesame folder
QScintilla2 --> link refers to PyQ4t
QProgEdit --> downloaded 2.0.0 version for 2.9.0 heisenberg release
PyYAML - downloaded, all files in opensesame folder

Comments

  • Hi Roelof,

    The first way to install packages in Anaconda is using the conda install command.
    Some of the dependencies can be found in the CogSci conda channel. So you could install qscintilla2 as follows:

    conda install -c cogsci qscintilla2
    

    The second way to install packages in Anaconda (as in any Python environment) is using pip install. So you could install Expyriment as follows:

    pip install expyriment
    

    The third (and non-preferred) way is by copying the source folder of a Python package to (in this case) the OpenSesame program folder. This works for some packages but you need to do it correctly, such that the package folder is copied (i.e. the folder than contains __init__.py). Your strategy seems to be to copy folders more or less at random :wink: —that doesn't work.

    So what you want to do is:

    • Install all packages with conda or pip;
    • Except QProgEdit, which you need to copy manually as described above.

    An optional third step is rethinking whether you wouldn't rather get the latest version of OpenSesame, which is essentially an Anaconda environment with all dependencies already installed :smiley:

    Cheers,
    Sebastiaan

  • Ah, right that makes sense; I'll give it a shot, thank you for the quick feedback

  • edited January 2017

    for those interested in running "hestitant heisenberg" from source, the following commands seem to work

    conda install -c cogsci qscintilla2
    pip install -i https://pypi.anaconda.org/ales-erjavec/simple pyqt4
    conda install -c anaconda pyyaml=3.12
    conda install -c cogsci pygame
    

    all of these are run in the folder where opensesame is unpacked, and like sebastiaan mentioned the
    QProgEdit (v 2.0.0) has to be copied to this folder manually
    https://github.com/smathot/QProgEdit/releases

    and to run:
    python opensesame

  • edited January 2017

    Hi Roelof,
    I'm just wondering why you install pyqt4 with pip, and not simply with conda. Moreover, since pyqt4 is a dependency of qscintilla2, it should already be installed automatically with the first command. Is there any reason why you explicitly installed it from the external channel?
    Similarly, QProgEdit is also available from conda:

    conda install -c cogsci python-qprogedit
    

    Buy Me A Coffee

  • Yes, that seems a bit strange indeed, what happened if I did not specifically install the Pyqt4 with pip I got the same error as in the original question,
    (no module named PyQt4.4QtCore).
    After I installed it like mentioned it ran, but I am gonna give it another shot with only qscintilla2 and one with the conda install, see if it works

  • Tried to install Qprogedit via command line, but since it only runs with version 2.1.0, it seems easier to copy manually since this 'conda install -c cogsci python-qprogedit=2.1.0' does not seems to work. Also
    'conda install -c anaconda pyqt==4.11.4' does work, but I still get the same error as in the beginning, which only resolved after install via pip, not sure why that is happening, thanks for the all feedback

Sign In or Register to comment.

agen judi bola , sportbook, casino, togel, number game, singapore, tangkas, basket, slot, poker, dominoqq, agen bola. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 50.000 ,- bonus cashback hingga 10% , diskon togel hingga 66% bisa bermain di android dan IOS kapanpun dan dimana pun. poker , bandarq , aduq, domino qq , dominobet. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 10.000 ,- bonus turnover 0.5% dan bonus referral 20%. Bonus - bonus yang dihadirkan bisa terbilang cukup tinggi dan memuaskan, anda hanya perlu memasang pada situs yang memberikan bursa pasaran terbaik yaitu http://45.77.173.118/ Bola168. Situs penyedia segala jenis permainan poker online kini semakin banyak ditemukan di Internet, salah satunya TahunQQ merupakan situs Agen Judi Domino66 Dan BandarQ Terpercaya yang mampu memberikan banyak provit bagi bettornya. Permainan Yang Di Sediakan Dewi365 Juga sangat banyak Dan menarik dan Peluang untuk memenangkan Taruhan Judi online ini juga sangat mudah . Mainkan Segera Taruhan Sportbook anda bersama Agen Judi Bola Bersama Dewi365 Kemenangan Anda Berapa pun akan Terbayarkan. Tersedia 9 macam permainan seru yang bisa kamu mainkan hanya di dalam 1 ID saja. Permainan seru yang tersedia seperti Poker, Domino QQ Dan juga BandarQ Online. Semuanya tersedia lengkap hanya di ABGQQ. Situs ABGQQ sangat mudah dimenangkan, kamu juga akan mendapatkan mega bonus dan setiap pemain berhak mendapatkan cashback mingguan. ABGQQ juga telah diakui sebagai Bandar Domino Online yang menjamin sistem FAIR PLAY disetiap permainan yang bisa dimainkan dengan deposit minimal hanya Rp.25.000. DEWI365 adalah Bandar Judi Bola Terpercaya & resmi dan terpercaya di indonesia. Situs judi bola ini menyediakan fasilitas bagi anda untuk dapat bermain memainkan permainan judi bola. Didalam situs ini memiliki berbagai permainan taruhan bola terlengkap seperti Sbobet, yang membuat DEWI365 menjadi situs judi bola terbaik dan terpercaya di Indonesia. Tentunya sebagai situs yang bertugas sebagai Bandar Poker Online pastinya akan berusaha untuk menjaga semua informasi dan keamanan yang terdapat di POKERQQ13. Kotakqq adalah situs Judi Poker Online Terpercayayang menyediakan 9 jenis permainan sakong online, dominoqq, domino99, bandarq, bandar ceme, aduq, poker online, bandar poker, balak66, perang baccarat, dan capsa susun. Dengan minimal deposit withdraw 15.000 Anda sudah bisa memainkan semua permaina pkv games di situs kami. Jackpot besar,Win rate tinggi, Fair play, PKV Games