Comments (6)
I no longer have this machine running, please close this issue out.
from mcstatus.
Dont pin me on this but I would suggest trying from mcstatus.server import MinecraftServer
from mcstatus.
Thank you for the follow up but I'm seeing the exact same thing when importing in that manner
bleon@Aluminium:~$ python
Python 2.7.13 (default, Nov 24 2017, 17:33:09)
[GCC 6.3.0 20170516] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from mcstatus.server import MinecraftServer
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "mcstatus.py", line 1, in <module>
from mcstatus import MinecraftServer
ImportError: cannot import name MinecraftServer
So I guess the underlying question I have here is if this is an issue with my environment or the library.
from mcstatus.
It might be worth noting I'm seeing this issue across multiple machines.
from a Raspberry Pi on my network:
~ ยป python pi@openhab
Python 2.7.9 (default, Sep 17 2016, 20:26:04)
[GCC 4.9.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from mcstatus import MinecraftServer
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "mcstatus.py", line 1, in <module>
from mcstatus import MinecraftServer
ImportError: cannot import name MinecraftServer
from mcstatus.
Being curious I quickly cloned the repo on an Ubuntu machine myself.
Seems to work as expected using from mcstatus import MinecraftServer
.
Did you run python setup.py build
and python setup.py install
in the cloned directory?
from mcstatus.
@brandonleon Please share how you installed mcstatus to your machine.
from mcstatus.
Related Issues (20)
- MCSTATUS raw HOT 2
- Can't ping server on Termux HOT 5
- How do I run mcstatus? HOT 1
- status.version does not have a sensible string representation HOT 3
- Drop support for python 3.6
- Decode ISO 8859-1 into UTF-8
- minecrafBedrockServer failing to connect to a server HOT 5
- TypeError: an integer is required (got type NoneType) HOT 2
- Community Chat? HOT 2
- Key existence for COLOR_MAP is not being checked HOT 3
- Complex Description Styles are lacking test coverage HOT 3
- How to get server name / motd ?
- Update click to 8.0.0 HOT 2
- Raising errors on invalid ip requires rewrite of client logic HOT 15
- Support multiple types of formatting for MOTD
- Synchronous operations inside async functions HOT 1
- To replace sync 'dns.resolver.resolve' with `dns.asyncresolver` HOT 1
- UDPAsyncSocketConnection cannot write anything special itself HOT 3
- Unable to use module in a python script HOT 5
- Getting timeout for status.plays.online HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mcstatus.