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

NameError: name 'schwarzl_lib' is not defined (when trying to open RepTate after installation) #151

Open
richablues2 opened this issue Mar 22, 2024 · 1 comment

Comments

@richablues2
Copy link

Describe the bug
richaghosh@Richas-MacBook-Pro RepTate % python -m RepTate
OS darwin not recognized in Schwarzl CH module
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/Users/richaghosh/RepTate/RepTate/main.py", line 228, in
main()
File "/Users/richaghosh/RepTate/RepTate/main.py", line 56, in main
start_RepTate(sys.argv[1:])
File "/Users/richaghosh/RepTate/RepTate/main.py", line 164, in start_RepTate
from RepTate.gui.QApplicationManager import QApplicationManager
File "/Users/richaghosh/RepTate/RepTate/gui/QApplicationManager.py", line 69, in
from RepTate.applications.ApplicationGt import ApplicationGt
File "/Users/richaghosh/RepTate/RepTate/applications/ApplicationGt.py", line 53, in
import RepTate.theories.schwarzl_ctypes_helper as sch
File "/Users/richaghosh/RepTate/RepTate/theories/schwarzl_ctypes_helper.py", line 54, in
schwarzl_gt = schwarzl_lib.schwarzl_gt
^^^^^^^^^^^^
NameError: name 'schwarzl_lib' is not defined

To Reproduce
Steps to reproduce the behavior:

  1. Install Miniconda. Checked the version of Python version (3.12.1)
  2. Installed git (conda install git)
  3. cd /Users/richaghosh/RepTate, pip install -r requirements.txt
  4. pip install RepTate.
  5. python3 -m RepTate

RepTate version:
richaghosh@Richas-MacBook-Pro RepTate % git pull
Already up to date.

Expected behavior
I expect the software to run without giving me any error.

Screenshots
image

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Python distribution [e.g. conda, miniconda]
  • Version [e.g. 3.12.1]

Additional context
Add any other context about the problem here.

@richablues2 richablues2 changed the title NameError: name 'schwarzl_lib' is not defined NameError: name 'schwarzl_lib' is not defined (when trying to open RepTate after installation) Mar 22, 2024
@joker95276
Copy link

Hello, I encountered the same issue. Could you please let me know how you resolved it?

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