Questions tagged [github-codespaces]
114 questions
0
votes
1 answer
Beta: Github Codespace, was getting SynatxError, now resolved; however now receiving ImportError
EDIT:
After following xcodz-dot's suggestion, while it was helpful and I believed it has fixed one problem, I recieved an exception in client.py. Traceback:
Traceback (most recent call last):
File "/workspaces/[repo_name]/resource.py", line 5, in…

Anony Mous
- 345
- 3
- 10
0
votes
1 answer
How can I resolve an issue with a github code space for C?
Hello I am new to coding I'm currently doing the Harvard cs50x course and we use a code space on GitHub for C and it is no longer loading properly. It either loads fast and I am met with a white background, all the code being normal text, and I can…

Bing Bong
- 3
- 2
0
votes
1 answer
How to setup dev environment on Github codespaces to contribute to Rails?
I grew an interest in contributing to Rails after watching Eileen's Talk. To make things easier, I forked the repo and I opened it in Github Codespaces. After running bundle install, I wanted to run some tests but I kept getting this error:
Your…

Azzen Abidi
- 121
- 4
0
votes
0 answers
Command from within Docker image doesn't work in Dockerfile RUN statement
EDIT to provide MRE:
Steps to reproduce (using Docker CLI, now, for reproducibility)
project_directory
Dockerfile
directory_to_cd_into
gradlew
Dockerfile:
From debian:9
RUN cd /directory_to_cd_into
# also tried RUN cd…

ultraGentle
- 5,084
- 1
- 19
- 45
0
votes
1 answer
Setting up PERN Stack with Graphql Server on Github Codespaces
I have a working PERN app on my local machine (same repo), and trying to test on Github Codespaces.
When starting the GraphQL server on Github Codespace I'm getting erros when testing with Postman online Error: Exceeded maxRedirects. Probably stuck…

paulywill
- 629
- 10
- 29
-1
votes
0 answers
No longer able to connect to codespace
I created codespace via CS50.dev months ago, and have been using it since. However, suddenly I am unable to do so since two weeks ago. After logging on github (via cs50.dev), it shows "Codespace creation failed", the status "connecting...", and…

cas808
- 1
-1
votes
0 answers
how can I add libGL or install pyside2 correct to github codespace?
I want to run the bellow Python script in GitHub codespace
%matplotlib notebook
from PySide2.QtWidgets import *
from datetime import date
print("Running date: ", date.today().strftime("%B %d, %Y"))
import pyleecan
print("Pyleecan version: " +…

Hossein
- 24
- 5
-1
votes
1 answer
How to automatically start a GitHub Codespace with some Python packages?
I started using Codespaces for small modifications in my open-source Python repositories. Most of them require only 2 core dependencies, pre-commit and nox. Is it possible to save a codespace configuration where these 2 libraries are automatically…

Pierrick Rambaud
- 1,726
- 1
- 20
- 47
-2
votes
1 answer
How to install Cuda toolkit on GitHub Codespaces
I would like to compile Cuda code, in particular code that uses the library Thrust, on a GitHub codespace (one without GPU). I do not need to be able to run the Cuda code.
I installed the NSight VS Code extension but in my understanding I also need…

Frimousse
- 31
- 4