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

Feedback - Module 0. Setting up #135

Open
helendduncan opened this issue Oct 31, 2022 · 3 comments
Open

Feedback - Module 0. Setting up #135

helendduncan opened this issue Oct 31, 2022 · 3 comments

Comments

@helendduncan
Copy link
Contributor

Things that came up in the 2022 set-up clinic for the RSE course.

Terminal cannot find the (installed) conda.
Solution: Edit .zshrc to include

export PATH="/path/to/users/conda/or/anaconda/install/anaconda3/bin:$PATH"

Query regarding C++ compiler for Windows
In the installation instructions there is a section about installing C++ for Windows (presumably for module 9?). The "see here for details" link is to a non-ATI repo with some help but it appears that a setup.py is needed. This isn't in the repo that I could see.

@jemrobinson
Copy link
Member

jemrobinson commented Oct 31, 2022

I think this might link to the correct part of the C++ compiler page. What do you think @helendduncan ?

@helendduncan
Copy link
Contributor Author

Yes - we did end up looking there but I was unsure as under "Less useful information" was a warning not to use MinGW-w64 which I believe the student had. The student had installed VS code and they got that up and running - but it was a bit opaque (to me at least) about what to do for this on a Windows machine (and when it would be needed)?

@jemrobinson
Copy link
Member

jemrobinson commented Oct 31, 2022

I think the basic point is:

  • you need to compile Python for Windows
  • any Cython extensions need to use the same compiler that you used to compile Python

If you are using Anaconda, the compiler they used should be MSC v.1915 64 bit (AMD64) according to this StackOverflow post.

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