Skip to main content

All Questions

1 vote
1 answer
44 views

Poetry Install broken, ModuleNotFoundError but Module is installed. MacOS

After cloning and setting up my repo I use a poetry install When running the code, I see ModuleNotFoundError: No module named 'loguru' The package is there however: poetry add loguru The following ...
Gwilym's user avatar
  • 53
1 vote
0 answers
95 views

How to properly use poetry with different versions of python on windows?

I am trying to migrate our projects to using Poetry. What I want to achieve is when people open the project using PyCharm, it will automatically create the environment using Poetry and install ...
Monata's user avatar
  • 328
1 vote
0 answers
75 views

Poetry and Pyenv virtual environment "integration"

I read several posts about the possibility Poetry and PyEnv virtual env to coexist. There are apparently two options: set a variable, I did not understand where specify the virtual environment with a ...
Henry The Coder's user avatar
-1 votes
1 answer
976 views

Change Poetry Python version

Context I want Poetry to use Python 3.12.x Poetry is installed globally, and I've set Pyenv to default to 3.12 globally on my machine I'm using VSCode In the terminal in my project, I've done poetry ...
FlightPlan's user avatar
0 votes
0 answers
237 views

poetry does not find the python version of pyenv

My ubuntu system has pyenv installed. The system python version is 3.8. However I have set pyenv global 3.10.1 and when I do pyenv versions I can clearly see that it is activated. Also doing python --...
KansaiRobot's user avatar
  • 10.2k
0 votes
3 answers
737 views

WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. [Ubuntu 22.04]

I'm running Ubuntu 22.04 and have pyenv 2.3.11 installed and can successfully initiated a Python 3.8.13 version on it. However, whenever I try to run pip install poetry I get the following error ...
csingleton19's user avatar
0 votes
1 answer
3k views

Poetry creates a project with wrong Python version

I am attempting to create a poetry project with the latest version of Python install via my pyenv installation with homebrew. The below terminal commands show the versions of pyenv and poetry that I ...
ahhhgetit's user avatar
2 votes
1 answer
2k views

Poetry and Pyenv versioning issue

Can someone explain to me what is going on here? I'm trying to get pyenv and poetry to place nice together. I am on an AWS instance of Ubuntu 20.04 which has python 3.8.10 installed. (I have removed ...
crowmagnumb's user avatar
  • 7,147
1 vote
0 answers
761 views

How do I install a specific python version without pyenv within nvidia docker so that it interacts well with poetry?

I am trying to build a docker image that contains cuda, cudnn and python, each with specific versions that are templatable as a base for downstream users. (In this example I have replace all the ...
RunOrVeith's user avatar
  • 4,813
2 votes
0 answers
207 views

Is it possible to create a virtualenv without a distribution based Python package installed?

On a blank system (e.g. a bare Debian/Alpine/etc. container) with pyenv installed and a Pipfile/pyproject.toml/.. containing a required version of Python I'd like to create a virtualenv, which is no ...
frans's user avatar
  • 9,858
3 votes
2 answers
3k views

pyenv: poetry itself, running on older python version, what to do?

Update: Which Python should I use to install poetry? System Python: That is an excellent idea. Once, however, poetry self update was trying to update a system package without the necessary ...
raratiru's user avatar
  • 9,666
1 vote
1 answer
9k views

All my poetry commands fail with 'The Poetry config is invalid'

I am working on macOS Monterey version 12.6 running Python 3.9.9 with Poetry 1.2.1. I'm trying to install all dependancies for my project from pyproject.toml with 'poetry install' ,and I keep getting ...
Mickell Gladness's user avatar
1 vote
1 answer
459 views

Pycharm cannot find reference `cloud` in "__init__.pyi" for google.cloud, but code does execute

I am using poetry with pyenv to manage dependencies. My pyproject.toml looks as follows: [tool.poetry] name = "hello-world" version = "0.1.0" description = "None" authors ...
WJA's user avatar
  • 7,004
3 votes
1 answer
2k views

nox does not find my pyenv versions in my Python Poetry project

I have a python project and I have tried to follow the Hypermodern Python Project guidelines for testing with Poetry and nox and pyenv. This is on Debian 10 running on WLS2. > lsb_release -a ...
Tom Willis's user avatar
0 votes
1 answer
797 views

No such file or directory error on VSCode while running a python script with poetry and pyenv

I'm having a problem when accessing a file path while using python in VSCode with pyenv and poetry on Ubuntu 20.04. I run this: import pandas as pd data = pd.read_csv("../docs/lists.csv") ...
Nisase's user avatar
  • 1

15 30 50 per page