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

Cannot run this with any method #13

Open
endolith opened this issue Dec 5, 2021 · 0 comments
Open

Cannot run this with any method #13

endolith opened this issue Dec 5, 2021 · 0 comments

Comments

@endolith
Copy link

endolith commented Dec 5, 2021

Now you can run find_forks one of the following methods:

specify path to folder:

python /path/to/find_forks
C:\Users\endolith\Sync\Programming\Wavelets\aaren wavelets\wavelets (my_changes)
(base) λ python C:\Users\endolith\Documents\GitHub\find_forks
Traceback (most recent call last):
  File "C:\Anaconda3\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "C:\Anaconda3\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Users\endolith\Documents\GitHub\find_forks\__main__.py", line 8, in <module>
    from .find_forks.find_forks import main
ImportError: attempted relative import with no known parent package
specify module name If find_forks in your PYTHONPATH:

python -m find_forks
C:\Users\endolith\Sync\Programming\Wavelets\aaren wavelets\wavelets (my_changes)
λ python -m find_forks
C:\Anaconda3\python.exe: No module named find_forks.__main__; 'find_forks' is a package and cannot be directly executed
or if you obtained zip from github you could simply run it:

python /path/to/find_forks.zip
C:\Users\endolith\Sync\Programming\Wavelets\aaren wavelets\wavelets (my_changes)
(base) λ python C:\Users\endolith\Downloads\find_forks-master.zip
  File "C:\Users\endolith\Downloads\find_forks-master.zip", line 1
    PK♥♦
      ^
SyntaxError: invalid syntax
C:\Users\endolith\Sync\Programming\Wavelets\aaren wavelets\wavelets (my_changes)
λ python C:\Users\endolith\Documents\GitHub\find_forks\find_forks\find_forks.py
Traceback (most recent call last):
  File "C:\Users\endolith\Documents\GitHub\find_forks\find_forks\find_forks.py", line 14, in <module>
    from .__init__ import CONFIG
ImportError: attempted relative import with no known parent package
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