Hi Mike,

'File' >  'Settings'.
Under your 'Project: [project name'] > 'Project Interpreter' > On the top 
right, click on the cog > 'More...'
Click + > click 'Add Local'.
Enter ~/.virtualenvs/<your virtualenv name>/bin/python in the path. 
Click 'OK'.
Select 2.7.6 virtualenv at ~/virtualenvs/api > click the 'edit' icon.
Check 'Associate this virtual environment with current project'.
Click 'OK'.
Click 'OK'.
Click 'Apply' > click 'OK'.


http://exponential.io/blog/2015/02/10/configure-pycharm-to-use-virtualenv/




-----Original Message-----
From: melbourne-pug 
[mailto:melbourne-pug-bounces+marcus.caratti=fultonhogan.com...@python.org] On 
Behalf Of Mike Dewhirst
Sent: Wednesday, 22 November 2017 11:50 AM
To: Melbourne Python Users Group <melbourne-pug@python.org>
Subject: [melbourne-pug] PyCharm and virtualenv

I seem to have a blind-spot with PyCharm. I'd like to try it out with an 
existing project but it incorrectly reports problems with missing bits and 
pieces of my project which are all there in the virtualenv.

Are there any PyCharm fans out there who develop in Windows?

How can I get PyCharm to respect an existing venv site-packages?

Thanks

Mike

_______________________________________________
melbourne-pug mailing list
melbourne-pug@python.org
https://mail.python.org/mailman/listinfo/melbourne-pug


-------------------------------------------------------------------------------------------------------------------
This email message and any attachments are confidential and may be privileged 
in which 
case neither is intended to be waived. This email is for use only by the 
intended recipient.
 If you are not the intended recipient you have received this email in error 
and any use,
 circulation, forwarding, printing or copying whatsoever by you is strictly 
prohibited. If you 
have received this message in error, please inform us immediately and delete 
this email and
 any attachments. While Fulton Hogan Pty Ltd employs Anti-Virus Software, we 
cannot
 guarantee that this email is free from viruses and we recommend that the email 
and any
 attachments be tested before opening.

Fulton Hogan may collect, use and disclose personal information about you so we 
can
perform our business activities and functions and provide quality customer 
services. 
You can view our Privacy Statement at 
http://www.fultonhogan.com/Privacy-Statement---Australia-and-New-Zealand/Privacy_Statement_Australia/
_______________________________________________
melbourne-pug mailing list
melbourne-pug@python.org
https://mail.python.org/mailman/listinfo/melbourne-pug

Reply via email to