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

no module named swap.SwapException #4

Open
stellanhaglund opened this issue Nov 1, 2017 · 3 comments
Open

no module named swap.SwapException #4

stellanhaglund opened this issue Nov 1, 2017 · 3 comments

Comments

@stellanhaglund
Copy link

I get this when I try to start the application
image001

@dberenguer
Copy link
Contributor

dberenguer commented Nov 2, 2017 via email

@asad-ali-bhatti
Copy link

Also facing the same issue even after successfully installed pyswap.

sudo python2.7 setup.py install
running install
running build
running build_py
running install_lib
running install_egg_info
Removing /usr/local/lib/python2.7/dist-packages/pyswap-0.1.2.egg-info
Writing /usr/local/lib/python2.7/dist-packages/pyswap-0.1.2.egg-info

After doing installation I am getting this message.

 python2.7 lagarto.py 
lagarto version 2.4 (Jan 28, 2015)
Running lagarto-swap
Traceback (most recent call last):
  File "lagarto-swap/lagarto-swap.py", line 30, in <module>
    from swap.SwapException import SwapException
ModuleNotFoundError: No module named 'swap'

@asad-ali-bhatti
Copy link

---SOLUTION---
Pyswap can be installed manually using pip inside your current virtual environment.

cd into python-tools/pyswap
run pip install .

it worked for me

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

3 participants