Apr-10-2018, 06:12 PM
Hello good people of the python community,
I am trying to publicize my first python package...nothing complicated, one file with one function. I have followed the usual process and after
I am trying to publicize my first python package...nothing complicated, one file with one function. I have followed the usual process and after
python setup.py sdistand
twine upload dist/*have been completed with no errors, I can see my tarball uploaded here. The problem is, that when I fetch it with pip3, I cannot import it at all
Output:sudo pip3 install catslog
Collecting catslog
Downloading catslog-1.0.5.tar.gz
Building wheels for collected packages: catslog
Running setup.py bdist_wheel for catslog ... done
Stored in directory: /root/.cache/pip/wheels/f5/8e/c0/f26ca927ba894c8722ac0d832f4dc0c1ea765de703fb5a7827
Successfully built catslog
Installing collected packages: catslog
Successfully installed catslog-1.0.5
periklis@tigerpc:~$
python
Python 3.4.2 (default, Oct 8 2014, 10:45:20)
[GCC 4.9.1] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import catslog
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named 'catslog'
Am I missing something? Could you please shed some light? I couldnt find an FAQ, so I would be grateful if you have something handy.