# \#importing

**URL:** https://discourse.psychopy.org/tag/importing/59.md

[Latest](https://discourse.psychopy.org/latest.md) · [Categories](https://discourse.psychopy.org/categories.md) · [Tags](https://discourse.psychopy.org/tags.md)

---

## [Importing a CSV file for the purpose of using target times for target detection](https://discourse.psychopy.org/t/importing-a-csv-file-for-the-purpose-of-using-target-times-for-target-detection/6149)

<div class="topic-metadata">

**Author:** [@DSP123](https://discourse.psychopy.org/u/DSP123)\
**Replies:** 8\
**Last updated:** [February 14, 2025, 11:25pm UTC](https://discourse.psychopy.org/t/importing-a-csv-file-for-the-purpose-of-using-target-times-for-target-detection/6149 "2025-02-14T23:25:42Z")

</div>

I am creating an experiment in which I have two audio files playing at the same time. The participant has a dual task of listening to one of the audios(narrative) and answering questions later on, and listening to the se…

---

## [Build or import hierarchical drop down/drill down menu](https://discourse.psychopy.org/t/build-or-import-hierarchical-drop-down-drill-down-menu/38838)

<div class="topic-metadata">

**Author:** [@ewing](https://discourse.psychopy.org/u/ewing)\
**Replies:** 2\
**Last updated:** [February 27, 2024, 7:25pm UTC](https://discourse.psychopy.org/t/build-or-import-hierarchical-drop-down-drill-down-menu/38838 "2024-02-27T19:25:19Z")

</div>

Hi all, is there a way to import longer lists of nested drop down options like the drill down question format in Qualtrics? I tried importing a test QSF with a drill down question about US States/Counties and successfull…

---

## [Pavlovia error when importing condition](https://discourse.psychopy.org/t/pavlovia-error-when-importing-condition/34897)

<div class="topic-metadata">

**Author:** [@ricardoojm](https://discourse.psychopy.org/u/ricardoojm)\
**Replies:** 5\
**Last updated:** [May 16, 2023, 6:17pm UTC](https://discourse.psychopy.org/t/pavlovia-error-when-importing-condition/34897 "2023-05-16T18:17:57Z")

</div>

Dear, i am trying to run an experiment in pavlovia but i am receiving the following error message: Unfortunately we encountered the following error: when importing condition: parametros2.xlsx when getting the velue o…

---

## [PsychoPy Builder does not import condition file for block-wise presented word-list based on the DRM paradigm](https://discourse.psychopy.org/t/psychopy-builder-does-not-import-condition-file-for-block-wise-presented-word-list-based-on-the-drm-paradigm/34047)

<div class="topic-metadata">

**Author:** [@Leonie\_P](https://discourse.psychopy.org/u/Leonie_P)\
**Replies:** 2\
**Last updated:** [April 17, 2023, 1:25pm UTC](https://discourse.psychopy.org/t/psychopy-builder-does-not-import-condition-file-for-block-wise-presented-word-list-based-on-the-drm-paradigm/34047 "2023-04-17T13:25:17Z")

</div>

I am currently creating a memory experiment in PsychoPy, my python skills are very limited and it is my first time, therefore I am mostly relying on the Builder. :smiley: The experiment includes a study condition where …

---

## [Import and display images and words from a mixted Excel file (images are not displayed)](https://discourse.psychopy.org/t/import-and-display-images-and-words-from-a-mixted-excel-file-images-are-not-displayed/20212)

<div class="topic-metadata">

**Author:** [@romane](https://discourse.psychopy.org/u/romane)\
**Replies:** 4\
**Last updated:** [July 12, 2022, 6:33am UTC](https://discourse.psychopy.org/t/import-and-display-images-and-words-from-a-mixted-excel-file-images-are-not-displayed/20212 "2022-07-12T06:33:33Z")

</div>

Hi everyone! I’m asking for help with my code that doesn’t work despite all my reseach and testing. In my experiment, I have to display simultaneously 1 image and 1 word on the screen in such a way that images and words…

---

## [How to randomly select video stimuli (coding) and import them with the Builder](https://discourse.psychopy.org/t/how-to-randomly-select-video-stimuli-coding-and-import-them-with-the-builder/29052)

<div class="topic-metadata">

**Author:** [@MartaF1994](https://discourse.psychopy.org/u/MartaF1994)\
**Replies:** 2\
**Last updated:** [May 10, 2022, 11:56am UTC](https://discourse.psychopy.org/t/how-to-randomly-select-video-stimuli-coding-and-import-them-with-the-builder/29052 "2022-05-10T11:56:32Z")

</div>

Hi everyone! I’m Marta, and I’m brand new to Psychopy and Python. I just created an experiment with Psychopy in which I’ve to present a series of videos. I have two conditions, let’s call them Cond1 and Cond2, and eac…

---

## [Error when importing conditions - whole conditions file excel not importing](https://discourse.psychopy.org/t/error-when-importing-conditions-whole-conditions-file-excel-not-importing/25541)

<div class="topic-metadata">

**Author:** [@quirkm](https://discourse.psychopy.org/u/quirkm)\
**Replies:** 2\
**Last updated:** [October 21, 2021, 4:54pm UTC](https://discourse.psychopy.org/t/error-when-importing-conditions-whole-conditions-file-excel-not-importing/25541 "2021-10-21T16:54:02Z")

</div>

URL of experiment: Pavlovia Maddie Quirk / attentional\_history3 · GitLab Description of the problem: I’ve come across several threads detailing this same problem, but none of the suggested solutions I have tried imple…

---

## [Can't Import pylink in Psychopy Standalone](https://discourse.psychopy.org/t/cant-import-pylink-in-psychopy-standalone/22145)

<div class="topic-metadata">

**Author:** [@llr](https://discourse.psychopy.org/u/llr)\
**Replies:** 3\
**Last updated:** [April 14, 2021, 9:30am UTC](https://discourse.psychopy.org/t/cant-import-pylink-in-psychopy-standalone/22145 "2021-04-14T09:30:42Z")

</div>

Hi all, I’ve been trying to get the visualsearch\_eyetracker.psyexp demo working (in dummy mode as I don’t have access to our eyelink tracker at the moment), but I’m failing at the first hurdle of importing pylink. I ge…

---

## [Import, open and read an Excel file containing images and words (mixted file)](https://discourse.psychopy.org/t/import-open-and-read-an-excel-file-containing-images-and-words-mixted-file/20101)

<div class="topic-metadata">

**Author:** [@romane](https://discourse.psychopy.org/u/romane)\
**Replies:** 3\
**Last updated:** [February 5, 2021, 5:24pm UTC](https://discourse.psychopy.org/t/import-open-and-read-an-excel-file-containing-images-and-words-mixted-file/20101 "2021-02-05T17:24:05Z")

</div>

Hi everyone! I allow myself to ask for help for my code that doesn’t work, probably because of the functions I use to open and read my particular Excel file.I think it’s just a small mistake easy to solve, but I haven’t…

---

## [Replacing "import xlrd" to JS code - creating arrays from a csv](https://discourse.psychopy.org/t/replacing-import-xlrd-to-js-code-creating-arrays-from-a-csv/19998)

<div class="topic-metadata">

**Author:** [@Menno\_van\_Berkel](https://discourse.psychopy.org/u/Menno_van_Berkel)\
**Replies:** 15\
**Last updated:** [February 3, 2021, 10:30am UTC](https://discourse.psychopy.org/t/replacing-import-xlrd-to-js-code-creating-arrays-from-a-csv/19998 "2021-02-03T10:30:42Z")

</div>

URL of experiment: none yet Description of the problem: Dear code wizards, I am trying to upload an experiment to Pavlovia that I have partly created in PsychoPy builder, but that includes some code components. I have…

---

## [XLRD on Pavlovia](https://discourse.psychopy.org/t/xlrd-on-pavlovia/18195)

<div class="topic-metadata">

**Author:** [@pavle](https://discourse.psychopy.org/u/pavle)\
**Replies:** 6\
**Last updated:** [November 26, 2020, 8:37pm UTC](https://discourse.psychopy.org/t/xlrd-on-pavlovia/18195 "2020-11-26T20:37:38Z")

</div>

URL of experiment: / Description of the problem: How to import excel file on Pavlovia? Xlrd funtion is out of questions since I can’t import python libraries. Here is the code that I use in Builder: import xlrd infile…

---

## [Using previously shuffled array as selection in TrialHandler.importConditions()](https://discourse.psychopy.org/t/using-previously-shuffled-array-as-selection-in-trialhandler-importconditions/16996)

<div class="topic-metadata">

**Author:** [@FMeck](https://discourse.psychopy.org/u/FMeck)\
**Replies:** 1\
**Last updated:** [October 5, 2020, 12:49pm UTC](https://discourse.psychopy.org/t/using-previously-shuffled-array-as-selection-in-trialhandler-importconditions/16996 "2020-10-05T12:49:25Z")

</div>

Hello, I have a question regarding the selection in TrialHandler.importConditions(). Because we want to always present the first Item first and the last Item last and only want to shuffle the Items in between, we create…

---

## [Removing Pyschopy Generated Block of Import Statements visible in .js File from Builder](https://discourse.psychopy.org/t/removing-pyschopy-generated-block-of-import-statements-visible-in-js-file-from-builder/16682)

<div class="topic-metadata">

**Author:** [@shelbylev](https://discourse.psychopy.org/u/shelbylev)\
**Replies:** 0\
**Last updated:** [September 22, 2020, 7:35pm UTC](https://discourse.psychopy.org/t/removing-pyschopy-generated-block-of-import-statements-visible-in-js-file-from-builder/16682 "2020-09-22T19:35:28Z")

</div>

Hi everyone! I am debugging my experiment to put onto Pavlovia. In the .js file, I see a chunk of import statements (that all have an error message) that I cannot find in any of our code components in the Builder, so…

---

## [Builder View Experiment Design and Import](https://discourse.psychopy.org/t/builder-view-experiment-design-and-import/14537)

<div class="topic-metadata">

**Author:** [@psychopy](https://discourse.psychopy.org/u/psychopy)\
**Replies:** 3\
**Last updated:** [June 25, 2020, 9:45pm UTC](https://discourse.psychopy.org/t/builder-view-experiment-design-and-import/14537 "2020-06-25T21:45:09Z")

</div>

OS: Windows PsychoPy version (e.g. 1.84.x): 3 Standard Standalone? (y/n) y I have designed an experiment with practice trials and experimental runs. I’m supposed to make a couple of custom code at the beginning of th…

---

## [Cannot start Psychopy - No module named 'lib2to3'](https://discourse.psychopy.org/t/cannot-start-psychopy-no-module-named-lib2to3/9619)

<div class="topic-metadata">

**Author:** [@gbrookshire](https://discourse.psychopy.org/u/gbrookshire)\
**Replies:** 2\
**Last updated:** [October 29, 2019, 10:46am UTC](https://discourse.psychopy.org/t/cannot-start-psychopy-no-module-named-lib2to3/9619 "2019-10-29T10:46:20Z")

</div>

Whenever I try to start Psychopy, I get the following error: $ psychopy Traceback (most recent call last): File "/home/local/ADF/brookshg/.local/bin/psychopy", line 7, in \<module\> from psychopy.app.psychopyApp imp…

---

## [Read EDA input data into PsychoPy and write this data in the logfile/output file generated for each task run?](https://discourse.psychopy.org/t/read-eda-input-data-into-psychopy-and-write-this-data-in-the-logfile-output-file-generated-for-each-task-run/3989)

<div class="topic-metadata">

**Author:** [@A\_Barreiros](https://discourse.psychopy.org/u/A_Barreiros)\
**Replies:** 1\
**Last updated:** [February 20, 2018, 8:24pm UTC](https://discourse.psychopy.org/t/read-eda-input-data-into-psychopy-and-write-this-data-in-the-logfile-output-file-generated-for-each-task-run/3989 "2018-02-20T20:24:09Z")

</div>

I have installed the PsychoPy v1.85.4 on my Windows 7; I am using the Builder to create my study. I will use this experimental protocol in an MRI study, and during the acquisitions I also want to collect Skin Conductanc…

---

## [How can I synchronize and register data from an external device (in this case EDA) with my task in PsychoPy?](https://discourse.psychopy.org/t/how-can-i-synchronize-and-register-data-from-an-external-device-in-this-case-eda-with-my-task-in-psychopy/3979)

<div class="topic-metadata">

**Author:** [@A\_Barreiros](https://discourse.psychopy.org/u/A_Barreiros)\
**Replies:** 1\
**Last updated:** [February 19, 2018, 4:01am UTC](https://discourse.psychopy.org/t/how-can-i-synchronize-and-register-data-from-an-external-device-in-this-case-eda-with-my-task-in-psychopy/3979 "2018-02-19T04:01:23Z")

</div>

I have installed the PsychoPy v1.85.4 on my Windows 7; I am using the Builder to create my study. I will use this experimental protocol in an MRI study, and during the acquisitions I also want to collect Skin Conductanc…

---

## [Cant install psychoPy in Python3 (Mac)](https://discourse.psychopy.org/t/cant-install-psychopy-in-python3-mac/3573)

<div class="topic-metadata">

**Author:** [@oren](https://discourse.psychopy.org/u/oren)\
**Replies:** 4\
**Last updated:** [December 18, 2017, 1:01pm UTC](https://discourse.psychopy.org/t/cant-install-psychopy-in-python3-mac/3573 "2017-12-18T13:01:22Z")

</div>

Hello, I’m trying to install psychopy on python3 on mac but I get an error: pip3 install psychopy Collecting psychopy Using cached PsychoPy-1.84.2.tar.gz Complete output from command python setup.py egg\_info: Traceb…

---

## [NameError: name 'visual' is not defined](https://discourse.psychopy.org/t/nameerror-name-visual-is-not-defined/3048)

<div class="topic-metadata">

**Author:** [@ToddHorowitz](https://discourse.psychopy.org/u/ToddHorowitz)\
**Replies:** 2\
**Last updated:** [September 13, 2017, 9:07pm UTC](https://discourse.psychopy.org/t/nameerror-name-visual-is-not-defined/3048 "2017-09-13T21:07:01Z")

</div>

I’m new to both Python and Psychopy. I’m trying to get Psychopy to work with an external module, pydicom, that will allow me to import (and display) DICOM images (thanks to contributors Michael and mdc for helping with t…
