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

import error #3

Open
BeatScherrer opened this issue Jan 28, 2021 · 0 comments
Open

import error #3

BeatScherrer opened this issue Jan 28, 2021 · 0 comments

Comments

@BeatScherrer
Copy link

I'm trying to use your package instead of writing my own parser and got stuck on importing the package:
I installed the package in a virtualenv:
I'm running Python 3.9.1

when trying to import it according to your example:

#!/usr/bin/python

import os
import xrp


def main():
  print('test')


if __name__ == "__main__":
  main()

i get the following error:

Traceback (most recent call last):
  File "/home/beat/git/beat/gravel-pit/scripts/./test.py", line 4, in <module>
    import xrp
ModuleNotFoundError: No module named 'xrp'

the output of pip show xparser:

Name: xparser
Version: 0.0.4
Summary: An XResources parser for python applications.
Home-page: https://github.com/taesko/xparser
Author: Antonio Todorov
Author-email: taeskow@gmail.com
License: MIT
Location: /home/beat/git/beat/gravel-pit/python_env/lib/python3.9/site-packages
Requires: 
Required-by: 
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