Please be more specific about your problem as its difficult to help when we 
don't know exactly what you are seeing. Have you managed to activate your 
virtualenv on ubuntu? If not, what specific error are you getting?

I see two problems here so far, regarding the import error, that means you 
are missing a dependency of the project you are trying to run. But that may 
just be that you've not activated your virtualenv - though you need to 
install the dependencies there once you get virtualenv running anyway most 
likely. The 'activate is not recognized as an internal or external command, 
operable program or batch file' error just means the activate script  was 
not found. You have to either be in the location where the activate script 
is, or else you need to specify the path to it, which will be in the bin 
folder of wherever you created the virtualenv. 

BTW, not wanting to confuse matters, but virtualenvwrapper is a useful 
addition on Linux, but its worth understanding virtualenv first.

On Thursday, 1 May 2014 21:25:42 UTC+1, Fred DJar wrote:
>
> Iv'e run it on ubuntu terminal but still not working
>
> On Tuesday, 29 April 2014 14:35:39 UTC+1, Rene Zelaya wrote:
>>
>> Hi Fred,
>>
>> Yes, definitely, I think you should run it on a Ubuntu terminal - I'm not 
>> that familiar with the Windows terminal
>>
>>
>> On Monday, April 28, 2014 10:10:29 AM UTC-4, Fred DJar wrote:
>>>
>>> Thanks Rene
>>> The virtualenv was created in Ubuntu but now i'm running windows, should 
>>> i run it in Ubuntu because i've noticed that virtualenv folder structure 
>>> differentiate from Ubuntu to windows
>>> this is the message i got from the prompt command: activate is not 
>>> recognized as an internal or external command, operable program or batch 
>>> file
>>>
>>> On Monday, 28 April 2014 11:03:40 UTC+1, Fred DJar wrote:
>>>>
>>>>
>>>>
>>>>
>>>> *Hello guys, i'm a newbie so bear with me :)I have installed python 2.7 
>>>> and django 1.6 on my desktop (ubuntu 14)but i can't run the application or 
>>>> activate the virtualenv*
>>>>
>>>> *this is the message i got:*
>>>> ubuntu@ubuntu:~/Downloads/saf$ python manage.py runserver
>>>> Traceback (most recent call last):
>>>>   File "manage.py", line 10, in <module>
>>>>     execute_from_command_line(sys.argv)
>>>>   File 
>>>> "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py",
>>>>  
>>>> line 399, in execute_from_command_line
>>>>     utility.execute()
>>>>   File 
>>>> "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py",
>>>>  
>>>> line 392, in execute
>>>>     self.fetch_command(subcommand).run_from_argv(self.argv)
>>>>   File 
>>>> "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", 
>>>> line 242, in run_from_argv
>>>>     self.execute(*args, **options.__dict__)
>>>>   File 
>>>> "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", 
>>>> line 280, in execute
>>>>     translation.activate('en-us')
>>>>   File 
>>>> "/usr/local/lib/python2.7/dist-packages/django/utils/translation/__init__.py",
>>>>  
>>>> line 130, in activate
>>>>     return _trans.activate(language)
>>>>   File 
>>>> "/usr/local/lib/python2.7/dist-packages/django/utils/translation/trans_real.py",
>>>>  
>>>> line 188, in activate
>>>>     _active.value = translation(language)
>>>>   File 
>>>> "/usr/local/lib/python2.7/dist-packages/django/utils/translation/trans_real.py",
>>>>  
>>>> line 177, in translation
>>>>     default_translation = _fetch(settings.LANGUAGE_CODE)
>>>>   File 
>>>> "/usr/local/lib/python2.7/dist-packages/django/utils/translation/trans_real.py",
>>>>  
>>>> line 159, in _fetch
>>>>     app = import_module(appname)
>>>>   File 
>>>> "/usr/local/lib/python2.7/dist-packages/django/utils/importlib.py", line 
>>>> 40, in import_module
>>>>     __import__(name)
>>>>
>>>>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/53af6ee5-ff00-41dd-93bd-da00f1c54fcb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to