Re: Import [python django module] could not be resolved from source Pylance (reportMissingModuleSource) -- even though Django is installed in my venv

2023-04-29 Thread Michael Starr
And yeah, django is installed in the venv. Michael On Saturday, April 29, 2023 at 10:40:01 AM UTC-7 Michael Starr wrote: > Thanks. I already have a venv, to answer the first post, and the second, > yes, it says 3.11.2. I think VSCode just has a bug. It doesn't bother me > and m

Re: Import [python django module] could not be resolved from source Pylance (reportMissingModuleSource) -- even though Django is installed in my venv

2023-04-29 Thread Michael Starr
Thanks. I already have a venv, to answer the first post, and the second, yes, it says 3.11.2. I think VSCode just has a bug. It doesn't bother me and my app works in all other respects. Thank you for the input. Michael On Friday, April 28, 2023 at 7:11:57 AM UTC-7 ALBERT ASHABA AHEEBWA

Re: Import [python django module] could not be resolved from source Pylance (reportMissingModuleSource) -- even though Django is installed in my venv

2023-04-28 Thread ALBERT ASHABA AHEEBWA
This is a wild suggestion, but as someone here mentioned, your vscode might be pointing to the wrong interpreter. Check at the bottom bar of your vscode with a .py file open. Next to {}python you should see what environment you are using. eg. 3.11.3 64-bit or 3.11.3('.venv':venv) The

Re: Import [python django module] could not be resolved from source Pylance (reportMissingModuleSource) -- even though Django is installed in my venv

2023-04-28 Thread Emalexogah Ogah
If you felt the problem was vs code, I have a suggestion. Try it out and if it works, get back to me. Open your comman prompt terminal and input Python -m venv venv (press enter) Venv/static/activate (press enter) Then install django again On Fri, Apr 28, 2023, 3:27 AM Michael Starr wrote

Re: Import [python django module] could not be resolved from source Pylance (reportMissingModuleSource) -- even though Django is installed in my venv

2023-04-27 Thread Michael Starr
your editor, but the >> app runs with no problem? >> I guess the error is that your IDE is not pointing to the correct python >> interpreter >> >> >> On 27 Apr 2023, at 16:05, Michael Starr wrote: >> >> I did pip install django on my venv, which is activat

Re: Import [python django module] could not be resolved from source Pylance (reportMissingModuleSource) -- even though Django is installed in my venv

2023-04-27 Thread Khaleel Ahmed H. M. Shariff
t your IDE is not pointing to the correct python > interpreter > > > On 27 Apr 2023, at 16:05, Michael Starr > wrote: > > I did pip install django on my venv, which is activated, and it reported > already installed. But the following modules are reporting the

Re: Import [python django module] could not be resolved from source Pylance (reportMissingModuleSource) -- even though Django is installed in my venv

2023-04-27 Thread Reddy Tintaya
Should I suppose that it appears like error only in your editor, but the app runs with no problem? I guess the error is that your IDE is not pointing to the correct python interpreter > On 27 Apr 2023, at 16:05, Michael Starr wrote: > > I did pip install django on my venv, which is

Import [python django module] could not be resolved from source Pylance (reportMissingModuleSource) -- even though Django is installed in my venv

2023-04-27 Thread Michael Starr
I did pip install django on my venv, which is activated, and it reported already installed. But the following modules are reporting the error in the subject line: django.db models django.utils.crypto django.urls django.contrib admin django.shortcuts django.views.generic I don't know w

Re: Where is in django-cms venv folder exactly I can find edit and structure panel source code in pycharm IDE?

2020-03-17 Thread John McClain
start your lesson over and pay attention. It is frustrating for sure but you'll get it. You could run a search for the file name which will show the location. R u trying to see a preview? On Tue, 17 Mar 2020 at 12:56, RAJ wrote: > > How to see dajngo CMS all source code of administration page

Where is in django-cms venv folder exactly I can find edit and structure panel source code in pycharm IDE?

2020-03-17 Thread RAJ
How to see dajngo CMS all source code of administration page in pycharm . "View published" and "publish changes" button code in django cms adminstation panel in pycharm after installing django cms in pycharm through terminal. My New Created page is where is saving I can't understand.After crea

Re: Cant create venv

2019-07-28 Thread Gaddafi adamu
on session suspended after migrate. now i'm not able to run > django or venv, > the error below is what i receive. > > keans-air:project ProductionEnv$ python3 -m venv project > > dyld: Library not loaded: @executable_path/../.Python > > Referenced from: /usr/local/bi

Re: Cant create venv

2019-07-28 Thread Kean
On Sun, Jul 28, 2019 at 3:58 PM Kean Dumba wrote: > Hi, > > I was writing some code in sublime text for my django app. > and my python session suspended after migrate. now i'm not able to run django > or venv, > the error below is what i receive. > > keans-air:pr

Re: Cant create venv

2019-07-28 Thread Franck Tchouanga
fter migrate. now i'm not able to run > django or venv, > the error below is what i receive. > > keans-air:project ProductionEnv$ python3 -m venv project > > dyld: Library not loaded: @executable_path/../.Python > > Referenced from: /usr/local/bin/python3 > >

Re: Cant create venv

2019-07-28 Thread Kean
gt; Hi, > > I was writing some code in sublime text for my django app. > and my python session suspended after migrate. now i'm not able to run django > or venv, > the error below is what i receive. > > keans-air:project ProductionEnv$ python3 -m venv proj

Re: Cant create venv

2019-07-28 Thread Juhana Jauhiainen
: > Hi, > > I was writing some code in sublime text for my django app. > and my python session suspended after migrate. now i'm not able to run > django or venv, > the error below is what i receive. > > keans-air:project ProductionEnv$ python3 -m venv project

Cant create venv

2019-07-28 Thread Kean Dumba
Hi, I was writing some code in sublime text for my django app. and my python session suspended after migrate. now i'm not able to run django or venv, the error below is what i receive. keans-air:project ProductionEnv$ python3 -m venv project dyld: Library not loaded: @executable

Re: Venv

2019-04-02 Thread PASCUAL Eric
yway with pyenv creators, but just a happy user for a while now 🙂 Best Eric From: django-users@googlegroups.com on behalf of Gil Obradors Sent: Saturday, March 30, 2019 19:35 To: django-users@googlegroups.com Subject: Re: Venv You do it: source /bin/activa

Re: Venv

2019-03-30 Thread Gurmeet Kaur
Go to scripts/activate.bat. it shud activate the ebv On Sat, Mar 30, 2019, 2:32 PM John wrote: > Good evening > > I've created and activated venv like this: > $ python3 -m venv > $ source /bin/activate > > Now Ive ‘deactivate’ the venv > > How do I re-activa

Re: Venv

2019-03-30 Thread Victor H. Velasquez Rizo
Hello John: You have to be in the folder where the enviroment was created, then type source /bin/activate On Sat, Mar 30, 2019 at 1:32 PM John wrote: > Good evening > > I've created and activated venv like this: > $ python3 -m venv > $ source /bin/activate > > Now

Re: Venv

2019-03-30 Thread Gil Obradors
You do it: source /bin/activate Missatge de John del dia ds., 30 de març 2019 a les 19:32: > Good evening > > I've created and activated venv like this: > $ python3 -m venv > $ source /bin/activate > > Now Ive ‘deactivate’ the venv > > How do I re-activa

Venv

2019-03-30 Thread John
Good evening I've created and activated venv like this: $ python3 -m venv $ source /bin/activate Now Ive ‘deactivate’ the venv How do I re-activate please? 🙏 -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe

Re: Trying to update pip in a venv enviroment using python 3.7 but an error occur.

2018-09-05 Thread Bill Kachirsky
I've run into this problem, I use get-pip.py (https://bootstrap.pypa.io/get-pip.py) to update pip to the latest version when I start a new venv. Just save that script and run it with 'python get-pip.py' when you have the venv active. On Tuesday, September 4, 2018 at 6:14:40 AM U

Re: Trying to update pip in a venv enviroment using python 3.7 but an error occur.

2018-09-04 Thread RONAK JAIN
I am not getting What you want install there ? On Tue, Sep 4, 2018 at 6:44 PM Christian Haugland < haugland.christ...@gmail.com> wrote: > this is the output i get using python 3.7: any idea? > > (venv) D:\Code\CompanyVTC\venv\Scripts>python -m pip install --upgrade pip > Col

Trying to update pip in a venv enviroment using python 3.7 but an error occur.

2018-09-04 Thread Christian Haugland
this is the output i get using python 3.7: any idea? (venv) D:\Code\CompanyVTC\venv\Scripts>python -m pip install --upgrade pip Collecting pip Using cached https://files.pythonhosted.org/packages/5f/25/e52d3f31441505a5f3af41213346e5b6c221c9e086a166f3703d2ddaf940/pip-18.0-py2.py3-none-any.

[Solved] Off-topic - venv problem in Windows 8.1

2017-12-05 Thread Mike Dewhirst
On 6/12/2017 10:03 AM, Mike Dewhirst wrote: On 6/12/2017 12:04 AM, Jason wrote: How did you create the virtualenv in the first place? C:\Python36\python -m venv C:\Users\mike\envs\xxct3 I have completely re-venved and it is now working. I can't explain it. I always use a batch fi

Re: Off-topic - venv problem in Windows 8.1

2017-12-05 Thread Langton Chikukwa
I didn't create a virtual environment On Wed, Dec 6, 2017 at 1:03 AM, Mike Dewhirst wrote: > On 6/12/2017 12:04 AM, Jason wrote: > >> How did you create the virtualenv in the first place? >> > > C:\Python36\python -m venv C:\Users\mike\envs\xxct3 > > or &

Re: Off-topic - venv problem in Windows 8.1

2017-12-05 Thread Mike Dewhirst
On 6/12/2017 12:04 AM, Jason wrote: How did you create the virtualenv in the first place? C:\Python36\python -m venv C:\Users\mike\envs\xxct3 or C:\Python27\Scripts\virtualenv C:\Users\mike\envs\xxct -- You received this message because you are subscribed to the Google Groups "D

Re: Off-topic - venv problem in Windows 8.1

2017-12-05 Thread Jason
How did you create the virtualenv in the first place? -- 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

Off-topic - venv problem in Windows 8.1

2017-12-04 Thread Mike Dewhirst
I did a pip freeze in a virtualenv and saw packages I should not have seen. So I checked sys.path as follows ... C:\Users\mike\envs\xxct3\train>..\Scripts\activate (xxct3) C:\Users\mike\envs\xxct3\train>python Python 3.6.1 (v3.6.1:69c0db5, Mar 21 2017, 18:41:36) [MSC v.1900 64 bit (AMD64)] on

Re: Howto update a package in venv

2014-06-25 Thread Michael Lind Hjulskov
django.utils import simplejson" > >> > >> I believe i found a fix here > >> https://github.com/mariocesar/sorl-thumbnail/pull/165/files > >> > >> My question is > >> 1. Is there a way that I can simply add a line to my requiremen

Re: Howto update a package in venv

2014-06-25 Thread Michael Lind Hjulskov
> > > > My question is > > 1. Is there a way that I can simply add a line to my requirements.txt > file, > > so that these two files will be automatically updated when I do the "pip > -r > > requirements.txt" ? > > 2. if not, how do I pull suc

Re: Howto update a package in venv

2014-06-22 Thread Lachlan Musicman
gt;> I believe i found a fix here >> https://github.com/mariocesar/sorl-thumbnail/pull/165/files >> >> My question is >> 1. Is there a way that I can simply add a line to my requirements.txt file, >> so that these two files will be automatically updated when I do the

Re: Howto update a package in venv

2014-06-21 Thread Tom Evans
thub.com/mariocesar/sorl-thumbnail/pull/165/files > > My question is > 1. Is there a way that I can simply add a line to my requirements.txt file, > so that these two files will be automatically updated when I do the "pip -r > requirements.txt" ? > 2. if not, how do I pull

Howto update a package in venv

2014-06-21 Thread Michael Lind Hjulskov
line to my requirements.txt file, so that these two files will be automatically updated when I do the "pip -r requirements.txt" ? 2. if not, how do I pull such changes into my sorl, inside my venv? Bby the way, is this the right place to ask such questions? or is there anoter forum/group I shoul