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

ModuleNotFoundError: No module named 'gnsspy.io' #10

Open
Pineappple345 opened this issue Apr 8, 2021 · 0 comments
Open

ModuleNotFoundError: No module named 'gnsspy.io' #10

Pineappple345 opened this issue Apr 8, 2021 · 0 comments

Comments

@Pineappple345
Copy link

Hello!
I am new and this is the first module that I tried to install. I got a problem when I want to import the module. First I will tell you how I installed it:

  1. I saved the zip file in "...miniconda3\envs\informatik2\Lib\site-packages"

  2. After extracting the zip "gnsspy-master" I had to call it "gnsspyMaster" because Python doesn't like it if a module name has a "-"

  3. Changed in setup.py the 17th line to "return [str(ir.requirement) for ir in reqs]"

  4. Opened "Anaconda Powershell Prompt" changed the address to "...miniconda3\envs\informatik2\Lib\site-packages/gnsspyMaster"

  5. entered "python setup.py install"

  6. Opened Python 3.7 entered "import gnsspyMaster" and "help(gnsspyMaster)"

  7. " Help on package gnsspyMaster:

                       NAME
                           gnsspyMaster
                       
                       PACKAGE CONTENTS
                           gnsspy (package)
                           setup
                       
                       FILE
                           (built-in)
    
  8. Entered in Python "import gnsspyMaster.gnsspy"

  9. Then I got this Error:
    Traceback (most recent call last):

              File "C:\Users\annae\Desktop\SatPos\untitled0.py", line 9, in <module>
                import gnsspyMaster.gnsspy
            
              File "C:\Users\annae\miniconda3\envs\informatik2\lib\site-packages\gnsspyMaster\gnsspy\__init__.py", line 23, in <module>
                from gnsspy.io.readFile import (read_navFile, read_obsFile, read_sp3File,
            
            ModuleNotFoundError: No module named 'gnsspy.io'
    

Why do I get this Error and how can I fix it? I am using Python 3.7

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

1 participant