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

cannot import name 'IncapSession' #10

Open
andycui66 opened this issue Dec 6, 2017 · 1 comment
Open

cannot import name 'IncapSession' #10

andycui66 opened this issue Dec 6, 2017 · 1 comment

Comments

@andycui66
Copy link

andycui66 commented Dec 6, 2017

I am having trouble using this package. I did run pip install incapsula-cracker-py3.

Then I got error:
Traceback (most recent call last): File "/opt/pycharm/helpers/pydev/pydevd.py", line 1599, in <module> globals = debugger.run(setup['file'], None, None, is_module) File "/opt/pycharm/helpers/pydev/pydevd.py", line 1026, in run pydev_imports.execfile(file, globals, locals) # execute the script File "/opt/pycharm/helpers/pydev/_pydev_imps/_pydev_execfile.py", line 18, in execfile exec(compile(contents+"\n", file, 'exec'), glob, loc) File "/home/Projects/PyCharmProjects/untitled/blueMonitor.py", line 1, in <module> from incapsula import IncapSession ImportError: cannot import name 'IncapSession'

Can you please advise what else I need to do other than pip install?

@Amurmurmur
Copy link

@andy135790
install required libraries listed in requirements.txt

beautifulsoup4==4.6.0
bs4==0.0.1
requests==2.14.2
six==1.10.0

Most likely you dont have six installed or all of them, just run the following for each package.

sudo easy_install packagename

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

2 participants