Hi,

It will be a good idea to install python in a virtual environment as 
mentioned in the mayan docs. That way you have a local installation of 
python just for mayan, and you have a local mayan installation running in 
the virtual environment.

And then open 
"lib/python2.7/site-packages/django/core/management/__init__.py"

Look for this line:
project_name = os.path.basename(project_directory)   

Change it to :
project_name='mayan'

This is a quick fix. It will work if you have followed the local 
installation steps mentioned in mayan docs.

--Ranjith


On Sunday, October 13, 2013 4:32:52 AM UTC+5:30, [email protected] wrote:
>
> This is on Linux Mint 14 (Ubuntu-ish).
>  
> I'm not a Python guy so I'm just guessing at this error.  Do I need to add 
> a file or directory or something to the system's PATH env variable?  What 
> should I add?
>  
> *user@user* <javascript:> ~/Desktop/mayan-0.13.1 $ ./manage.py
> Traceback (most recent call last):
> File "./manage.py", line 11, in <module>
> execute_manager(settings)
> File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py"
> , line 457, in execute_manager
> setup_environ(settings_mod)
> File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py"
> , line 433, in setup_environ
> import_module(project_name)
> File "/usr/lib/python2.7/dist-packages/django/utils/importlib.py", line 35
> , in import_module
> __import__(name)
> ImportError: No module named mayan-0.13.1
> *user@user* <javascript:> ~/Desktop/mayan-0.13.1 $
>
>  
>  
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to