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

Fix import problem in pycpufit #130

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

SimonClifford
Copy link

The import statement in Cpufit/python/pycpufit/__init__.py causes this error:

Traceback (most recent call last):
  File "Gpufit/build/pyCpufit/setup.py", line 10, in <module>
    import pycpufit.version as vs
  File "Gpufit/build/pyCpufit/pycpufit/__init__.py", line 1, in <module>
    from cpufit import *

This commit makes the import fully qualififed.

Fixes: #129, #128

The import statement in `Cpufit/python/pycpufit/__init__.py` causes this
error:

```
Traceback (most recent call last):
  File "Gpufit/build/pyCpufit/setup.py", line 10, in <module>
    import pycpufit.version as vs
  File "Gpufit/build/pyCpufit/pycpufit/__init__.py", line 1, in <module>
    from cpufit import *
```

This commit makes the import fully qualififed, which fixes the problem.
@dacianstremtan
Copy link

The fix from this pull request worked for me for build Gpufit from code. Thank you.

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

Successfully merging this pull request may close these issues.

ModuleNotFoundError: No module named 'cpufit' - Running 'make'
2 participants