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

Installations- und Konfigurationsproblem #1

Open
KennethWa opened this issue Jun 24, 2020 · 2 comments
Open

Installations- und Konfigurationsproblem #1

KennethWa opened this issue Jun 24, 2020 · 2 comments

Comments

@KennethWa
Copy link

Ich habe zwei Installationen probiert. Eine auf dem MacBook Pro(1) und eine innerhalb einer virtuellen Maschine(2).
(1) Auf dem MacBook habe ich nach Empfehlung versucht, PyBinSim über Anaconda als Applikation zu installieren. Nach der Anleitung von PyBinSim komme ich bis zum Punkt „Start Binaural Simulation“ und er wirft mir „function>“ aus. Wie würde es jetzt weitergehen? Soll dies so sein?
(2) Auf der virtuellen Maschine habe ich die Schritte entsprechend für Linux(Ubuntu) durchgeführt. Leider entsteht hier folgendes Problem: Pyaudio und pyfftw zeigen Fehler und lassen sich separat nicht installieren.
Kennt sich jemand mit diesem Problem aus und/oder kann mir helfen?

I tried two installations. One on the MacBook Pro (1) and one inside a virtual machine (2).
(1) On the MacBook I tried to install PyBinSim as an application via Anaconda. Following the instructions from PyBinSim, I come to the point "Start Binaural Simulation" and he throws out "function>". How would it go on now? Should this be so?
(2) On the virtual machine, I followed the steps for Linux (Ubuntu). Unfortunately, the following problem arises here: Pyaudio and pyfftw show errors and cannot be installed separately.
Does anyone know about this problem and / or can help me?

@thomas-imt
Copy link
Collaborator

Hello!

Regarding (1): In the ideal case you could here some (binaural) audio ;-)
Regarding (2): What are the error messages? What's the base image of your VM? Can it handle audio? So many questions ;-)

Personally, I don't have any experience with pybinsim on mac, but to get more insights, please paste the commands and results of your command line in (1) (starting from creating the conda environment) so we can see what's going on.

If you have more information on your environment (e.g., python and conda version, the demo that you want to use...), that would be super useful, too.

@KennethWa
Copy link
Author

Hi Thomas, thanks for you answer. Here are some more information.
(1) versions:
anaconda 2020.02
anaconda-client 1.7.2
anaconda-navigator 1.9.12
anaconda-project 0.8.4

Here is the code, when I want to start PyBinSim:
. /Users/Kenneth/opt/anaconda3/bin/activate && conda activate /Users/Kenneth/opt/anaconda3/envs/binsim;
(base) Kenneth@
_____ ~ % . /Users/Kenneth/opt/anaconda3/bin/activate && conda activate /Users/Kenneth/opt/anaconda3/envs/binsim;
(binsim) Kenneth@_______ ~ % import pybinsim
import logging
pybinsim.logger.setLevel(logging.DEBUG) # defaults to INFO
#Use logging.WARNING for printing warnings only

                                              with pybinsim.BinSim('pyBinSimSettings.txt') as binsim:
                                              binsim.stream_start()

function>_
When I write something after function I get:
zsh: command not found: import
zsh: command not found: import
zsh: number expected

(2) https://www.digitalocean.com/community/tutorials/how-to-install-anaconda-on-ubuntu-18-04-quickstart-de
In the installation process of anaconda on my VM with ubuntu-20.04-desktop-amd64.iso the "~/.bashrc" is not found. So "Conda: Befehl nicht gefunden". I repeat the process and get the same result. During the installation I don't get this question:
"Do you wish the installer to prepend the Anaconda3 install location
to PATH in your /home/sammy/.bashrc ? [yes|no]"

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

No branches or pull requests

2 participants