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

does not work in python 3.4 virtualenv #359

Closed
xrmx opened this issue Nov 3, 2015 · 1 comment
Closed

does not work in python 3.4 virtualenv #359

xrmx opened this issue Nov 3, 2015 · 1 comment

Comments

@xrmx
Copy link

xrmx commented Nov 3, 2015

It installs fine but fails to import needed modules.

$ python3.4 --version
Python 3.4.3+
$ virtualenv --python python3.4 foo
$ ./foo/bin/pip install locustio
$ . foo/bin/activate
(foo)$ locust
Traceback (most recent call last):
  File "/home/rm/work/foo/bin/locust", line 9, in <module>
    load_entry_point('locustio==0.7.3', 'console_scripts', 'locust')()
  File "/home/rm/work/foo/lib/python3.4/site-packages/pkg_resources/__init__.py", line 558, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/home/rm/work/foo/lib/python3.4/site-packages/pkg_resources/__init__.py", line 2682, in load_entry_point
    return ep.load()
  File "/home/rm/work/foo/lib/python3.4/site-packages/pkg_resources/__init__.py", line 2355, in load
    return self.resolve()
  File "/home/rm/work/foo/lib/python3.4/site-packages/pkg_resources/__init__.py", line 2361, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/home/rm/work/foo/lib/python3.4/site-packages/locust/__init__.py", line 1, in <module>
    from core import HttpLocust, Locust, TaskSet, task
ImportError: No module named 'core'
@xrmx
Copy link
Author

xrmx commented Nov 3, 2015

Just found out #279, sorry for the noise :)

@xrmx xrmx closed this as completed Nov 3, 2015
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