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

Installation not working on a Conda Python 3.7.7 environment #26

Open
tfabbri opened this issue Feb 27, 2021 · 0 comments
Open

Installation not working on a Conda Python 3.7.7 environment #26

tfabbri opened this issue Feb 27, 2021 · 0 comments

Comments

@tfabbri
Copy link

tfabbri commented Feb 27, 2021

Please find below the error from the execution of the command motuclient - h from cli.

Traceback (most recent call last):
 File "/home/tommaso.fabbri/anaconda3/envs/casw/bin/motuclient", line 6, in <module>
   from motuclient import main
ImportError: cannot import name 'main' from 'motuclient' (/home/tommaso.fabbri/anaconda3/envs/casw/lib/python3.7/site-packages/motuclient/__init__.py)

I tried both the installation through pip and conda with the same outcome.
Something is missing in site-packages/motuclient directory (maybe the content of src/python directory).
Below you can find the installed content:

motuclient
|── cfg
│   ├── log.ini
│   └── messages.properties
├── __init__.py
├── motu_api.py
├── pom_version.py
├── __pycache__
│   ├── __init__.cpython-37.pyc
│   ├── motu_api.cpython-37.pyc
│   ├── pom_version.cpython-37.pyc
│   ├── stop_watch.cpython-37.pyc
│   ├── utils_cas.cpython-37.pyc
│   ├── utils_collection.cpython-37.pyc
│   ├── utils_configpath.cpython-37.pyc
│   ├── utils_html.cpython-37.pyc
│   ├── utils_http.cpython-37.pyc
│   ├── utils_log.cpython-37.pyc
│   ├── utils_messages.cpython-37.pyc
│   ├── utils_stream.cpython-37.pyc
│   └── utils_unit.cpython-37.pyc
├── stop_watch.py
├── utils_cas.py
├── utils_collection.py
├── utils_configpath.py
├── utils_html.py
├── utils_http.py
├── utils_log.py
├── utils_messages.py
├── utils_stream.py
└── utils_unit.py
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