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

Proper installation #1

Open
nisheetpatel opened this issue Feb 8, 2022 · 0 comments
Open

Proper installation #1

nisheetpatel opened this issue Feb 8, 2022 · 0 comments

Comments

@nisheetpatel
Copy link

Due to known issues with OpenGL, namely that glut files are not part of either PyOpenGL or PyOpenGL_accelerate packages, pip install -r requirements.txt fails to set up the repository in a working condition. The easiest workaround (for Ubuntu) I have found is to run the command sudo apt-get install freeglut3-dev alongside the installation.

Thus, the full sequence I would follow with setting up a virtual environment would be something like:

git clone https://github.com/wiskott-lab/Ratlabv3.git
cd Ratlabv3
pip install virtualenv        # if not already installed
virtualenv venv               # create virtual environment
source ./venv/bin/activate    # activate it
pip install -r requirements.txt
sudo apt-get install freeglut3-dev

After this, the code runs smoothly as per this article.

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

1 participant