問題タブ [pipenv]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
1 に答える
125 参照

peewee - Unable to load ManyToManyField from playhouse.fields through pipenv

I am having the problem of being unable to import the ManyToManyField from playhouse.fields on an Ubuntu server where I am using pipenv to manage packages and run python. Namely the command

will lead to the error:

When I am using the same import command on my computer, it works, so this problem might be related to the virtual environment of pipenv. However, maybe this is a problem of different versions and you could help me. Additionally, the import command from playhouse. Shortcuts import ManyToManyField works. Could I use this instead of the playhouse. Fields entry? Are they the same? Can you tell me, why it might not find the ManyToManyField in the playhouse.fields? I would be grateful for any reference. Thank you in advance!