davidhamann/python-fmrest

module 'fmrest' has no attribute 'Server'

Closed this issue · 5 comments

I am having no issues when running on mac.

However, when I run on Ubuntu, I get:
AttributeError: module 'fmrest' has no attribute 'Server'

I've tested on two different fresh installs of Ubuntu on Raspberry Pi to no avail.

How did you install it? Via PyPI (pip install python-fmrest)?

Can you do a dir(fmrest) and fmrest.__version__ and post the output here? And also what Python version you are using?

Installed via pip (pip install python-fmrest, pip3 install python-fmrest)

Here is my output. I am not sure if I am doing dir(fmrest) and fmrest.version correctly. Is this done within Python?

Python 3.6.8 (default, Oct 7 2019, 12:59:55)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

import fmrest
dir(fmrest)
['builtins', 'cached', 'doc', 'file', 'loader', 'name', 'package', 'path', 'spec']
fmrest.version
Traceback (most recent call last):
File "", line 1, in
AttributeError: module 'fmrest' has no attribute 'version'
fmrest.version
Traceback (most recent call last):
File "", line 1, in
AttributeError: module 'fmrest' has no attribute 'version'

Python 3.6.8 (default, Oct 7 2019, 12:59:55)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

dir(fmrest)
Traceback (most recent call last):
File "", line 1, in
NameError: name 'fmrest' is not defined
fmrest
Traceback (most recent call last):
File "", line 1, in
NameError: name 'fmrest' is not defined
import fmrest
dir(fmrest)
['builtins', 'cached', 'doc', 'file', 'loader', 'name', 'package', 'path', 'spec']
fmrest.version
Traceback (most recent call last):
File "", line 1, in
AttributeError: module 'fmrest' has no attribute 'version'
fmrest.version
Traceback (most recent call last):
File "", line 1, in
AttributeError: module 'fmrest' has no attribute 'version'

the double underscores are not showing up in my github comment fyi.

This command fixed it: pip install python-fmrest

For Ubuntu: pip3 install python-fmrest

I was using the wrong command: pip install fmrest

As stated on Filemaker Community, thanks so much. :) I'll be around.