Answer the question
In order to leave comments, you need to log in
Why are modules not included in pip?
Created a package with this setup.py using python setup.py sdist
from setuptools import setup, find_packages
setup(name='example',
version='0.1',
url='',
license='MIT',
author='Gigi Sayfan',
author_email='[email protected]',
description='Add static script_dir() method to Path',
packages=find_packages(),
long_description=open('README.md').read(),
zip_safe=False)
def helloWorld():
print("Hello, World")
def hello():
n = input("Как вас зовут?")
print("Привет, ", n)
Answer the question
In order to leave comments, you need to log in
Well, this condition is always true, for the simple reason that a cannot be both yes and no at the same time, so that both conditions are false. De Morgan's law can translate this condition into
looks suspicious, don't you think? So yes, you mixed up the operator.
When you run the command pip install example
, you are installing a package from the pypi.org repository.
In your case you need -pip install ./dist/ProjectName.tar.gz
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question