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

install #163

Closed
zzzmx-josh opened this issue Dec 23, 2022 · 3 comments
Closed

install #163

zzzmx-josh opened this issue Dec 23, 2022 · 3 comments

Comments

@zzzmx-josh
Copy link

     Exception Error message 
     -----------------------
     No module named 'six'

     System Info
     -----------------------
     Architecture: x86_64
     Platform: Linux-3.10.0-862.el7.x86_64-x86_64-with-glibc2.17
     Processor: x86_64
@fangohr
Copy link
Member

fangohr commented Dec 23, 2022

There isn’t much context given but it looks like you are missing the Python module ‘six’. Try

pip install six

@fangohr fangohr closed this as completed Dec 23, 2022
@zzzmx-josh
Copy link
Author

Thank you very much. After installing six, it gives the following errors:

  1. make build:
    lib/python3.10/site-packages/setuptools/dist.py:543: UserWarning: The version specified ('3.Xa') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
    warnings.warn(
  2. make test:
    /bin/sh: line 1: 26179 Segmentation fault (core dumped) python3 -m pytest -v -m "not slow and not run_oommf"
    make: *** [test] Error 139

wish to solve these problems. �

@mvousden
Copy link
Member

(posting because I've seen this error on a different project, so I may be of value. Caveat emptor: I'm not very closely involved with Fidimag at present)

I reckon that this issue is related to the version of Python you are using - can you explain more about how you installed Python?

If you're not sure, could you help diagnose by running the following in your Python shell, and putting the output here?

import platform
platform.platform()  # Underlying distribution and OS
platform.python_version() 
platform.python_implementation()

If you're not already, I recommend against using your system Python (system Python = operating system level Python installation, e.g. retrieved with apt install) for this project, and instead use an alternative deployment mechanism (e.g. conda 1 or virtualenv 2), though YMMV.

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

3 participants