pypa / packaging-problems

An issue tracker for the problems in packaging
151 stars 35 forks source link

Trouble with the packaging tutorial #682

Closed SpeedyGo55 closed 1 year ago

SpeedyGo55 commented 1 year ago

OS version

Win 11

Python version

Python 3.11.4

Pip version

pip 23.1.2

Guide link

https://packaging.python.org/tutorials/packaging-projects

Problem description

I followed the tutorial and uploaded it to test.pypi.org and succesfully installed my Package, but when I try to import it it gives me a Module Not Found Error. I made Sure it is installed with the same interpreter as i imported it but still nothing

Error message

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'cardstacks'
merwok commented 1 year ago

Can you give some info:

SpeedyGo55 commented 1 year ago

Link: https://test.pypi.org/project/CardStacks/ I used the command from the tutorial. The Output was the same as with other packages. No errors I'm currently not in reach of my pc so i cant run the py -m site command but as soon as i can i will comment the output

SpeedyGo55 commented 1 year ago

Got it Working. I used an Setup.py and this tutorial.