How do I force Pycharm to recognize and use Python 3.6.1 libraries?
up vote
1
down vote
favorite
Same as above. Recently I broke my system and then wiped and reinstalled. I initially managed to get python 3.6 working in Pycharm with a new installed before breaking things again. I didn't do anything special and merely retraced my steps only to find Pycharm only seeing 2.7 and 3.5 instead of 3.6 on my 3rd install.
I want to make use of the most current version of Python due to the features it's released. How do I set up environment variables to recognize 3.6.1 for development purposes? I did it a few times on Windows but merely went into Advanced system settings and added a few lines in a window.
I installed Python 3.6.1 successfully on Mint; How can I duplicate the above process for Pycharm on Linux?
linux-mint development python3
add a comment |
up vote
1
down vote
favorite
Same as above. Recently I broke my system and then wiped and reinstalled. I initially managed to get python 3.6 working in Pycharm with a new installed before breaking things again. I didn't do anything special and merely retraced my steps only to find Pycharm only seeing 2.7 and 3.5 instead of 3.6 on my 3rd install.
I want to make use of the most current version of Python due to the features it's released. How do I set up environment variables to recognize 3.6.1 for development purposes? I did it a few times on Windows but merely went into Advanced system settings and added a few lines in a window.
I installed Python 3.6.1 successfully on Mint; How can I duplicate the above process for Pycharm on Linux?
linux-mint development python3
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
Same as above. Recently I broke my system and then wiped and reinstalled. I initially managed to get python 3.6 working in Pycharm with a new installed before breaking things again. I didn't do anything special and merely retraced my steps only to find Pycharm only seeing 2.7 and 3.5 instead of 3.6 on my 3rd install.
I want to make use of the most current version of Python due to the features it's released. How do I set up environment variables to recognize 3.6.1 for development purposes? I did it a few times on Windows but merely went into Advanced system settings and added a few lines in a window.
I installed Python 3.6.1 successfully on Mint; How can I duplicate the above process for Pycharm on Linux?
linux-mint development python3
Same as above. Recently I broke my system and then wiped and reinstalled. I initially managed to get python 3.6 working in Pycharm with a new installed before breaking things again. I didn't do anything special and merely retraced my steps only to find Pycharm only seeing 2.7 and 3.5 instead of 3.6 on my 3rd install.
I want to make use of the most current version of Python due to the features it's released. How do I set up environment variables to recognize 3.6.1 for development purposes? I did it a few times on Windows but merely went into Advanced system settings and added a few lines in a window.
I installed Python 3.6.1 successfully on Mint; How can I duplicate the above process for Pycharm on Linux?
linux-mint development python3
linux-mint development python3
edited Jun 3 '17 at 10:46
asked Jun 3 '17 at 9:19
Lusus Naturae
4210
4210
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
up vote
0
down vote
Try File
-> Settings...
-> Project
-> Project interpreter
-> click on the little wheel and select Add local
and then select your 3.6.1 environment
Despite installing it using these instructions: tecadmin.net/install-python-3-6-ubuntu-linuxmint It didn't work. I then tried adding a ppa from this: askubuntu.com/questions/865554/… and got these errors:
– Lusus Naturae
Jun 3 '17 at 10:39
ImportError: cannot import name '_remove_dead_weakref' dpkg: error processing package python3.6-minimal (--configure): subprocess installed post-installation script returned error exit status 1 Setting up libpython3.6-stdlib:amd64 (3.6.1-1~16.04.york0) ... dpkg: dependency problems prevent configuration of python3.6: python3.6 depends on python3.6-minimal (= 3.6.1-1~16.04.york0); however: Package python3.6-minimal is not configured yet.
– Lusus Naturae
Jun 3 '17 at 10:41
dpkg: error processing package python3.6 (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: python3.6-minimal python3.6 E: Sub-process /usr/bin/dpkg returned an error code (1)
– Lusus Naturae
Jun 3 '17 at 10:41
I am unable to change the interpreter from 2.7 or 3.5 as default choices. There is nothing to select in the drop down menu that mentions anything other than 2.7 or 3.5
– Lusus Naturae
Jun 3 '17 at 10:42
What errors did you get when you try to install python with the first link you posted?
– ceccoemi
Jun 3 '17 at 10:57
|
show 1 more comment
up vote
0
down vote
I don't know if we can force a project to use a specific before configuring it first. PyCharm auto detects available interpreters and we will have to configure the project to use a specific interpreter and give it a name.
The following is from the Help docs from PyCharm:
https://www.jetbrains.com/help/pycharm/configuring-python-interpreter-for-a-project.html
PyCharm helps assign a Python interpreter for a project.
So doing, each one of the projects, opened in the same window, can have an interpreter of its own, selected from the list of available interpreters.
Note that PyCharm stores only the interpreter name in the project settings.
To configure Python SDK for the current project, follow these steps:
- Open the Settings/Preferences dialog box, and click Project Interpreter page.
- In the Projects pane, choose the desired project.
- Choose SDK from the list of available Python interpreters and virtual environments.
This list includes:
- Python interpreters, which reside in standard locations.
- Virtual environments, which reside under the project folder, or under the folder specified as an environment variable WORKON_HOME.
- Other Python interpreters, installed locally or remotely.
- If the desired interpreter is not in the list, click the cogwheel icon, and configure the desired interpreter as described in the section Configuring Available Python Interpreters.
https://www.jetbrains.com/help/pycharm/configuring-available-python-interpreters.html
Copied and pasted like a champ!
– Lusus Naturae
Jun 3 '17 at 10:43
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
Try File
-> Settings...
-> Project
-> Project interpreter
-> click on the little wheel and select Add local
and then select your 3.6.1 environment
Despite installing it using these instructions: tecadmin.net/install-python-3-6-ubuntu-linuxmint It didn't work. I then tried adding a ppa from this: askubuntu.com/questions/865554/… and got these errors:
– Lusus Naturae
Jun 3 '17 at 10:39
ImportError: cannot import name '_remove_dead_weakref' dpkg: error processing package python3.6-minimal (--configure): subprocess installed post-installation script returned error exit status 1 Setting up libpython3.6-stdlib:amd64 (3.6.1-1~16.04.york0) ... dpkg: dependency problems prevent configuration of python3.6: python3.6 depends on python3.6-minimal (= 3.6.1-1~16.04.york0); however: Package python3.6-minimal is not configured yet.
– Lusus Naturae
Jun 3 '17 at 10:41
dpkg: error processing package python3.6 (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: python3.6-minimal python3.6 E: Sub-process /usr/bin/dpkg returned an error code (1)
– Lusus Naturae
Jun 3 '17 at 10:41
I am unable to change the interpreter from 2.7 or 3.5 as default choices. There is nothing to select in the drop down menu that mentions anything other than 2.7 or 3.5
– Lusus Naturae
Jun 3 '17 at 10:42
What errors did you get when you try to install python with the first link you posted?
– ceccoemi
Jun 3 '17 at 10:57
|
show 1 more comment
up vote
0
down vote
Try File
-> Settings...
-> Project
-> Project interpreter
-> click on the little wheel and select Add local
and then select your 3.6.1 environment
Despite installing it using these instructions: tecadmin.net/install-python-3-6-ubuntu-linuxmint It didn't work. I then tried adding a ppa from this: askubuntu.com/questions/865554/… and got these errors:
– Lusus Naturae
Jun 3 '17 at 10:39
ImportError: cannot import name '_remove_dead_weakref' dpkg: error processing package python3.6-minimal (--configure): subprocess installed post-installation script returned error exit status 1 Setting up libpython3.6-stdlib:amd64 (3.6.1-1~16.04.york0) ... dpkg: dependency problems prevent configuration of python3.6: python3.6 depends on python3.6-minimal (= 3.6.1-1~16.04.york0); however: Package python3.6-minimal is not configured yet.
– Lusus Naturae
Jun 3 '17 at 10:41
dpkg: error processing package python3.6 (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: python3.6-minimal python3.6 E: Sub-process /usr/bin/dpkg returned an error code (1)
– Lusus Naturae
Jun 3 '17 at 10:41
I am unable to change the interpreter from 2.7 or 3.5 as default choices. There is nothing to select in the drop down menu that mentions anything other than 2.7 or 3.5
– Lusus Naturae
Jun 3 '17 at 10:42
What errors did you get when you try to install python with the first link you posted?
– ceccoemi
Jun 3 '17 at 10:57
|
show 1 more comment
up vote
0
down vote
up vote
0
down vote
Try File
-> Settings...
-> Project
-> Project interpreter
-> click on the little wheel and select Add local
and then select your 3.6.1 environment
Try File
-> Settings...
-> Project
-> Project interpreter
-> click on the little wheel and select Add local
and then select your 3.6.1 environment
answered Jun 3 '17 at 9:30
ceccoemi
418614
418614
Despite installing it using these instructions: tecadmin.net/install-python-3-6-ubuntu-linuxmint It didn't work. I then tried adding a ppa from this: askubuntu.com/questions/865554/… and got these errors:
– Lusus Naturae
Jun 3 '17 at 10:39
ImportError: cannot import name '_remove_dead_weakref' dpkg: error processing package python3.6-minimal (--configure): subprocess installed post-installation script returned error exit status 1 Setting up libpython3.6-stdlib:amd64 (3.6.1-1~16.04.york0) ... dpkg: dependency problems prevent configuration of python3.6: python3.6 depends on python3.6-minimal (= 3.6.1-1~16.04.york0); however: Package python3.6-minimal is not configured yet.
– Lusus Naturae
Jun 3 '17 at 10:41
dpkg: error processing package python3.6 (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: python3.6-minimal python3.6 E: Sub-process /usr/bin/dpkg returned an error code (1)
– Lusus Naturae
Jun 3 '17 at 10:41
I am unable to change the interpreter from 2.7 or 3.5 as default choices. There is nothing to select in the drop down menu that mentions anything other than 2.7 or 3.5
– Lusus Naturae
Jun 3 '17 at 10:42
What errors did you get when you try to install python with the first link you posted?
– ceccoemi
Jun 3 '17 at 10:57
|
show 1 more comment
Despite installing it using these instructions: tecadmin.net/install-python-3-6-ubuntu-linuxmint It didn't work. I then tried adding a ppa from this: askubuntu.com/questions/865554/… and got these errors:
– Lusus Naturae
Jun 3 '17 at 10:39
ImportError: cannot import name '_remove_dead_weakref' dpkg: error processing package python3.6-minimal (--configure): subprocess installed post-installation script returned error exit status 1 Setting up libpython3.6-stdlib:amd64 (3.6.1-1~16.04.york0) ... dpkg: dependency problems prevent configuration of python3.6: python3.6 depends on python3.6-minimal (= 3.6.1-1~16.04.york0); however: Package python3.6-minimal is not configured yet.
– Lusus Naturae
Jun 3 '17 at 10:41
dpkg: error processing package python3.6 (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: python3.6-minimal python3.6 E: Sub-process /usr/bin/dpkg returned an error code (1)
– Lusus Naturae
Jun 3 '17 at 10:41
I am unable to change the interpreter from 2.7 or 3.5 as default choices. There is nothing to select in the drop down menu that mentions anything other than 2.7 or 3.5
– Lusus Naturae
Jun 3 '17 at 10:42
What errors did you get when you try to install python with the first link you posted?
– ceccoemi
Jun 3 '17 at 10:57
Despite installing it using these instructions: tecadmin.net/install-python-3-6-ubuntu-linuxmint It didn't work. I then tried adding a ppa from this: askubuntu.com/questions/865554/… and got these errors:
– Lusus Naturae
Jun 3 '17 at 10:39
Despite installing it using these instructions: tecadmin.net/install-python-3-6-ubuntu-linuxmint It didn't work. I then tried adding a ppa from this: askubuntu.com/questions/865554/… and got these errors:
– Lusus Naturae
Jun 3 '17 at 10:39
ImportError: cannot import name '_remove_dead_weakref' dpkg: error processing package python3.6-minimal (--configure): subprocess installed post-installation script returned error exit status 1 Setting up libpython3.6-stdlib:amd64 (3.6.1-1~16.04.york0) ... dpkg: dependency problems prevent configuration of python3.6: python3.6 depends on python3.6-minimal (= 3.6.1-1~16.04.york0); however: Package python3.6-minimal is not configured yet.
– Lusus Naturae
Jun 3 '17 at 10:41
ImportError: cannot import name '_remove_dead_weakref' dpkg: error processing package python3.6-minimal (--configure): subprocess installed post-installation script returned error exit status 1 Setting up libpython3.6-stdlib:amd64 (3.6.1-1~16.04.york0) ... dpkg: dependency problems prevent configuration of python3.6: python3.6 depends on python3.6-minimal (= 3.6.1-1~16.04.york0); however: Package python3.6-minimal is not configured yet.
– Lusus Naturae
Jun 3 '17 at 10:41
dpkg: error processing package python3.6 (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: python3.6-minimal python3.6 E: Sub-process /usr/bin/dpkg returned an error code (1)
– Lusus Naturae
Jun 3 '17 at 10:41
dpkg: error processing package python3.6 (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: python3.6-minimal python3.6 E: Sub-process /usr/bin/dpkg returned an error code (1)
– Lusus Naturae
Jun 3 '17 at 10:41
I am unable to change the interpreter from 2.7 or 3.5 as default choices. There is nothing to select in the drop down menu that mentions anything other than 2.7 or 3.5
– Lusus Naturae
Jun 3 '17 at 10:42
I am unable to change the interpreter from 2.7 or 3.5 as default choices. There is nothing to select in the drop down menu that mentions anything other than 2.7 or 3.5
– Lusus Naturae
Jun 3 '17 at 10:42
What errors did you get when you try to install python with the first link you posted?
– ceccoemi
Jun 3 '17 at 10:57
What errors did you get when you try to install python with the first link you posted?
– ceccoemi
Jun 3 '17 at 10:57
|
show 1 more comment
up vote
0
down vote
I don't know if we can force a project to use a specific before configuring it first. PyCharm auto detects available interpreters and we will have to configure the project to use a specific interpreter and give it a name.
The following is from the Help docs from PyCharm:
https://www.jetbrains.com/help/pycharm/configuring-python-interpreter-for-a-project.html
PyCharm helps assign a Python interpreter for a project.
So doing, each one of the projects, opened in the same window, can have an interpreter of its own, selected from the list of available interpreters.
Note that PyCharm stores only the interpreter name in the project settings.
To configure Python SDK for the current project, follow these steps:
- Open the Settings/Preferences dialog box, and click Project Interpreter page.
- In the Projects pane, choose the desired project.
- Choose SDK from the list of available Python interpreters and virtual environments.
This list includes:
- Python interpreters, which reside in standard locations.
- Virtual environments, which reside under the project folder, or under the folder specified as an environment variable WORKON_HOME.
- Other Python interpreters, installed locally or remotely.
- If the desired interpreter is not in the list, click the cogwheel icon, and configure the desired interpreter as described in the section Configuring Available Python Interpreters.
https://www.jetbrains.com/help/pycharm/configuring-available-python-interpreters.html
Copied and pasted like a champ!
– Lusus Naturae
Jun 3 '17 at 10:43
add a comment |
up vote
0
down vote
I don't know if we can force a project to use a specific before configuring it first. PyCharm auto detects available interpreters and we will have to configure the project to use a specific interpreter and give it a name.
The following is from the Help docs from PyCharm:
https://www.jetbrains.com/help/pycharm/configuring-python-interpreter-for-a-project.html
PyCharm helps assign a Python interpreter for a project.
So doing, each one of the projects, opened in the same window, can have an interpreter of its own, selected from the list of available interpreters.
Note that PyCharm stores only the interpreter name in the project settings.
To configure Python SDK for the current project, follow these steps:
- Open the Settings/Preferences dialog box, and click Project Interpreter page.
- In the Projects pane, choose the desired project.
- Choose SDK from the list of available Python interpreters and virtual environments.
This list includes:
- Python interpreters, which reside in standard locations.
- Virtual environments, which reside under the project folder, or under the folder specified as an environment variable WORKON_HOME.
- Other Python interpreters, installed locally or remotely.
- If the desired interpreter is not in the list, click the cogwheel icon, and configure the desired interpreter as described in the section Configuring Available Python Interpreters.
https://www.jetbrains.com/help/pycharm/configuring-available-python-interpreters.html
Copied and pasted like a champ!
– Lusus Naturae
Jun 3 '17 at 10:43
add a comment |
up vote
0
down vote
up vote
0
down vote
I don't know if we can force a project to use a specific before configuring it first. PyCharm auto detects available interpreters and we will have to configure the project to use a specific interpreter and give it a name.
The following is from the Help docs from PyCharm:
https://www.jetbrains.com/help/pycharm/configuring-python-interpreter-for-a-project.html
PyCharm helps assign a Python interpreter for a project.
So doing, each one of the projects, opened in the same window, can have an interpreter of its own, selected from the list of available interpreters.
Note that PyCharm stores only the interpreter name in the project settings.
To configure Python SDK for the current project, follow these steps:
- Open the Settings/Preferences dialog box, and click Project Interpreter page.
- In the Projects pane, choose the desired project.
- Choose SDK from the list of available Python interpreters and virtual environments.
This list includes:
- Python interpreters, which reside in standard locations.
- Virtual environments, which reside under the project folder, or under the folder specified as an environment variable WORKON_HOME.
- Other Python interpreters, installed locally or remotely.
- If the desired interpreter is not in the list, click the cogwheel icon, and configure the desired interpreter as described in the section Configuring Available Python Interpreters.
https://www.jetbrains.com/help/pycharm/configuring-available-python-interpreters.html
I don't know if we can force a project to use a specific before configuring it first. PyCharm auto detects available interpreters and we will have to configure the project to use a specific interpreter and give it a name.
The following is from the Help docs from PyCharm:
https://www.jetbrains.com/help/pycharm/configuring-python-interpreter-for-a-project.html
PyCharm helps assign a Python interpreter for a project.
So doing, each one of the projects, opened in the same window, can have an interpreter of its own, selected from the list of available interpreters.
Note that PyCharm stores only the interpreter name in the project settings.
To configure Python SDK for the current project, follow these steps:
- Open the Settings/Preferences dialog box, and click Project Interpreter page.
- In the Projects pane, choose the desired project.
- Choose SDK from the list of available Python interpreters and virtual environments.
This list includes:
- Python interpreters, which reside in standard locations.
- Virtual environments, which reside under the project folder, or under the folder specified as an environment variable WORKON_HOME.
- Other Python interpreters, installed locally or remotely.
- If the desired interpreter is not in the list, click the cogwheel icon, and configure the desired interpreter as described in the section Configuring Available Python Interpreters.
https://www.jetbrains.com/help/pycharm/configuring-available-python-interpreters.html
edited Jun 3 '17 at 14:10
phk
3,96652152
3,96652152
answered Jun 3 '17 at 9:59
satishgoda
1012
1012
Copied and pasted like a champ!
– Lusus Naturae
Jun 3 '17 at 10:43
add a comment |
Copied and pasted like a champ!
– Lusus Naturae
Jun 3 '17 at 10:43
Copied and pasted like a champ!
– Lusus Naturae
Jun 3 '17 at 10:43
Copied and pasted like a champ!
– Lusus Naturae
Jun 3 '17 at 10:43
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f368955%2fhow-do-i-force-pycharm-to-recognize-and-use-python-3-6-1-libraries%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown