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

ImportError: No module named 'core - Python 3.5.0, 3.5.2 #572

Closed
gammabowl opened this issue Apr 5, 2017 · 1 comment
Closed

ImportError: No module named 'core - Python 3.5.0, 3.5.2 #572

gammabowl opened this issue Apr 5, 2017 · 1 comment

Comments

@gammabowl
Copy link

gammabowl commented Apr 5, 2017

Github Documentation says --> Locust supports Python 2.7, 3.3, 3.4, 3.5, and 3.6.
I tried running with python 3.5.0 and 3.5.2 and saw the below error. But I didn't see the error with python 2.7.12

$ locust -H http://localhost:8000 Traceback (most recent call last): File "/Users/shashi.desai/.pyenv/versions/locust/bin/locust", line 9, in <module> load_entry_point('locustio==0.7.5', 'console_scripts', 'locust')() File "/Users/shashi.desai/.pyenv/versions/3.5.0/envs/locust/lib/python3.5/site-packages/pkg_resources/__init__.py", line 558, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/Users/shashi.desai/.pyenv/versions/3.5.0/envs/locust/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2682, in load_entry_point return ep.load() File "/Users/shashi.desai/.pyenv/versions/3.5.0/envs/locust/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2355, in load return self.resolve() File "/Users/shashi.desai/.pyenv/versions/3.5.0/envs/locust/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2361, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/Users/shashi.desai/.pyenv/versions/3.5.0/envs/locust/lib/python3.5/site-packages/locust/__init__.py", line 1, in <module> from core import HttpLocust, Locust, TaskSet, task ImportError: No module named 'core'

@gammabowl
Copy link
Author

gammabowl commented Apr 5, 2017

my bad, I just saw your tweet which said to use specific version which supports python 3+ - and tht works fine - so closing the issue !
"Locust 0.8a1 has been released! Python 3 support! Please try it out, and report bugs. Install using:" pip install locustio==0.8a1
https://twitter.com/locustio/status/801736746727784448

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