Skip to content

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

@Pineappple345

Description

@Pineappple345

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions