Open aliimranshah opened 4 years ago
@aliimranshah Can you post the command you used to install the package?
I am also receiving this error. I installed camelot via my requirements.txt file:
requirements.txt
camelot-py[all] gunicorn Flask pymongo werkzeug requests passlib pyral python-dateutil google-api-python-client google-auth-httplib2 google-auth-oauthlib beautifulsoup4 lxml validate_email
Installed via:
pip3 --no-cache-dir install -r /home/mike_brandon/client_ops_webapp/requirements.txt;
Error:
Traceback (most recent call last): File "/root/env/lib/python3.5/site-packages/gunicorn/arbiter.py", line 583, in spawn_worker worker.init_process() File "/root/env/lib/python3.5/site-packages/gunicorn/workers/base.py", line 129, in init_process self.load_wsgi() File "/root/env/lib/python3.5/site-packages/gunicorn/workers/base.py", line 138, in load_wsgi self.wsgi = self.app.wsgi() File "/root/env/lib/python3.5/site-packages/gunicorn/app/base.py", line 67, in wsgi self.callable = self.load() File "/root/env/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py", line 52, in load return self.load_wsgiapp() File "/root/env/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py", line 41, in load_wsgiapp return util.import_app(self.app_uri) File "/root/env/lib/python3.5/site-packages/gunicorn/util.py", line 350, in import_app __import__(module) File "/home/mike_brandon/client_ops_webapp/src/run.py", line 1, in <module> from webapp import webapp File "/home/mike_brandon/client_ops_webapp/src/webapp.py", line 11, in <module> from models.sprint_pdf.sprint_pdf import SPdf File "/home/mike_brandon/client_ops_webapp/src/models/sprint_pdf/sprint_pdf.py", line 2, in <module> import camelot ImportError: No module named 'camelot'
I am utilizing (or want to utilize) camelot in a web app I am running on Debain 9.
I am deving my app on Windows and do not get the import error.
Finally just got past this....even though it appeared that camelot-py was getting installed via my requirements file, I manually went into my venv and ran pip3 install camelot-py[all]
and that finally got me past this error.
After running 'excalibur webserver ' on jupyter notebook ..i am getting this error -
Input In [15] excalibur webserver ^ SyntaxError: invalid syntax
and after running it on cmd i am getting this error -
Traceback (most recent call last):
File "c:\users\User64390\appdata\local\programs\python\python38-32\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "c:\users\User64390\appdata\local\programs\python\python38-32\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "C:\Users\User64390\AppData\Local\Programs\Python\Python38-32\Scripts\excalibur.exe__main__.py", line 4, in
ModuleNotFoundError Traceback (most recent call last)