-
Notifications
You must be signed in to change notification settings - Fork 2
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
When trying to run Python 3.10 in the container it errors #86
Comments
The following worked for me: [hgv27681@pc0116 ~]$ bin/c7 -pd
78970713a05bc38614fc90ebd508bc44784d7c3e2d55f48a1435f1a6a8ff19e8
Trying to pull ghcr.io/dls-controls/dev-c7:latest...
Getting image source signatures
Copying blob ff407a6a5cdf skipped: already exists
Copying blob 28aa2e19d1a5 skipped: already exists
Copying blob 9e93b3dd5c5e skipped: already exists
Copying blob 588460e8ece0 skipped: already exists
Copying blob 8ea8588268a2 skipped: already exists
Copying blob 2d473b07cdd5 skipped: already exists
Copying blob 46e4c59638d2 skipped: already exists
Copying config c160a1fff8 done
Writing manifest to image destination
Storing signatures
c160a1fff88d8d1dc8f07845088a306eb0be44f762e389ac8c1dbfa9641a02be
Creating new dev-c7 container version latest ...
e322a35478a8e09773ca221cfbcb9a6baeacb318188280e8d25324bd2ac75e95
bash-4.2$ module load python/3.10
Loading a conda environment for Python 3.10
If there are any problems, please contact [email protected]
Need a 3rd party Python package installing? First, consider using the
user-based install option of pip to test it. (I.e., use
$ pip install --user ... For further details, see $ pip help install)
This will install the package in ~/.local
If a site-wide installation is required, contact Data Analysis.
For further details, see $ pip help install
(python3.10) bash-4.2$ python
Python 3.10.4 | packaged by conda-forge | (main, Mar 24 2022, 17:38:57) [GCC 10.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
''' |
@OCopping is this working for you? I think I need to document that |
@MJGaughran mentioned it could be down to me compiling Python 3.10 on my RHEL 8 system (pc0127), so the libraries aren't available to c7 |
Hi Ollie, yes that sounds like a thing. Could you just use module load 3.10 instead? If not then you need to do that compilation of 3.10 inside of dev C7 for it to work in dev C7 I would guess (but then it won't work outside) You also MIGHT be able to yum install the missing GLIBC versions inside your dev-c7 container. You could make your own image based off of dev-c7 to do so (if you want to try this and need some help then let me know) |
@OCopping is this issue resolved? |
The text was updated successfully, but these errors were encountered: