How to Configure MongoDB in Pycharm 2018.1 Django 2.0 Mongoengine 0.15 pymongo 3.+.......

92 views
Skip to first unread message

Goal Guider

unread,
Apr 12, 2018, 8:04:30 AM4/12/18
to MongoEngine Developers
Hiiii Every body This given pics versions i am Using ....

when i want to configure with this versions This pics given error generating 
please tell  me , what should to do............................ 
Screenshot (26).png
Screenshot (29).png
Screenshot (30).png
Screenshot (31).png

Andrew Maizels

unread,
Apr 12, 2018, 8:19:04 AM4/12/18
to mongoen...@googlegroups.com
The port should probably be 27017, without the quotes.

--

---
You received this message because you are subscribed to the Google Groups "MongoEngine Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongoengine-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Ahh... We are all heroes; you and Boo and I.
Hamsters and rangers everywhere, rejoice!
Read Peopleware! http://www.amazon.com/Peopleware-Productive-Projects-Teams-Second/dp/0932633439

Goal Guider

unread,
Apr 12, 2018, 8:30:08 AM4/12/18
to MongoEngine Developers
thanks ...

But after doing this one new problem came...


"F:\PyCharm 2018.1\bin\runnerw.exe" "C:\Users\Mukesh Yadav.DELL\PycharmProjects\mysite\venv\Scripts\python.exe" "C:/Users/Mukesh Yadav.DELL/PycharmProjects/mysite/manage.py" runserver 8000
Performing system checks...

System check identified no issues (0 silenced).
April 12, 2018 - 13:42:51
Django version 2.0.4, using settings 'mysite.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CTRL-BREAK.
Unhandled exception in thread started by <function check_errors.<locals>.wrapper at 0x00000155596CF598>
Traceback (most recent call last):
  File "C:\Users\Mukesh Yadav.DELL\PycharmProjects\mysite\venv\lib\site-packages\django\core\servers\basehttp.py", line 44, in get_internal_wsgi_application
    return import_string(app_path)
  File "C:\Users\Mukesh Yadav.DELL\PycharmProjects\mysite\venv\lib\site-packages\django\utils\module_loading.py", line 17, in import_string
    module = import_module(module_path)
  File "C:\Users\Mukesh Yadav.DELL\AppData\Local\Programs\Python\Python37\lib\importlib\__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 726, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "C:\Users\Mukesh Yadav.DELL\PycharmProjects\mysite\mysite\wsgi.py", line 16, in <module>
    application = get_wsgi_application()
  File "C:\Users\Mukesh Yadav.DELL\PycharmProjects\mysite\venv\lib\site-packages\django\core\wsgi.py", line 13, in get_wsgi_application
    return WSGIHandler()
  File "C:\Users\Mukesh Yadav.DELL\PycharmProjects\mysite\venv\lib\site-packages\django\core\handlers\wsgi.py", line 140, in __init__
    self.load_middleware()
  File "C:\Users\Mukesh Yadav.DELL\PycharmProjects\mysite\venv\lib\site-packages\django\core\handlers\base.py", line 39, in load_middleware
    mw_instance = middleware(handler)
  File "C:\Users\Mukesh Yadav.DELL\PycharmProjects\mysite\venv\lib\site-packages\django\contrib\sessions\middleware.py", line 15, in __init__
    engine = import_module(settings.SESSION_ENGINE)
  File "C:\Users\Mukesh Yadav.DELL\AppData\Local\Programs\Python\Python37\lib\importlib\__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 953, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 965, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'mongoengine.django'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "C:\Users\Mukesh Yadav.DELL\PycharmProjects\mysite\venv\lib\site-packages\django\utils\autoreload.py", line 225, in wrapper
    fn(*args, **kwargs)
  File "C:\Users\Mukesh Yadav.DELL\PycharmProjects\mysite\venv\lib\site-packages\django\core\management\commands\runserver.py", line 140, in inner_run
    handler = self.get_handler(*args, **options)
  File "C:\Users\Mukesh Yadav.DELL\PycharmProjects\mysite\venv\lib\site-packages\django\contrib\staticfiles\management\commands\runserver.py", line 27, in get_handler
    handler = super().get_handler(*args, **options)
  File "C:\Users\Mukesh Yadav.DELL\PycharmProjects\mysite\venv\lib\site-packages\django\core\management\commands\runserver.py", line 65, in get_handler
    return get_internal_wsgi_application()
  File "C:\Users\Mukesh Yadav.DELL\PycharmProjects\mysite\venv\lib\site-packages\django\core\servers\basehttp.py", line 49, in get_internal_wsgi_application
    ) from err
django.core.exceptions.ImproperlyConfigured: WSGI application 'mysite.wsgi.application' could not be loaded; Error importing module.

On Thursday, April 12, 2018 at 5:49:04 PM UTC+5:30, Pixy Misa wrote:
The port should probably be 27017, without the quotes.
On Thu, Apr 12, 2018 at 10:04 PM, Goal Guider <mukeshr...@gmail.com> wrote:
Hiiii Every body This given pics versions i am Using ....

when i want to configure with this versions This pics given error generating 
please tell  me , what should to do............................ 

--

---
You received this message because you are subscribed to the Google Groups "MongoEngine Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongoengine-d...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages