<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Serdar Torlak</title>
    <description>The latest articles on DEV Community by Serdar Torlak (@kazure).</description>
    <link>https://dev.to/kazure</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1379979%2F688b0d84-a9b4-4a10-bfdf-962be205f9d3.jpeg</url>
      <title>DEV Community: Serdar Torlak</title>
      <link>https://dev.to/kazure</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/kazure"/>
    <language>en</language>
    <item>
      <title>Linux pip install problems</title>
      <dc:creator>Serdar Torlak</dc:creator>
      <pubDate>Sat, 18 May 2024 09:56:54 +0000</pubDate>
      <link>https://dev.to/kazure/linux-pip-install-problems-1cp1</link>
      <guid>https://dev.to/kazure/linux-pip-install-problems-1cp1</guid>
      <description>&lt;p&gt;I am not sure why this happens but each time i install a new linux system and i try to pip install a python library i am getting the following warning/error message:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;error: externally-managed-environment

× This environment is externally managed
╰─&amp;gt; To install Python packages system-wide, try apt install
    python3-xyz, where xyz is the package you are trying to
    install.

    If you wish to install a non-Debian-packaged Python package,
    create a virtual environment using python3 -m venv path/to/venv.
    Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
    sure you have python3-full installed.

    If you wish to install a non-Debian packaged Python application,
    it may be easiest to use pipx install xyz, which will manage a
    virtual environment for you. Make sure you have pipx installed.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;So if you are having the same problem, here is how to fix it:&lt;/p&gt;

&lt;p&gt;First of all make sure you have Pip installed for your linux. Here i'll go with Ubuntu, you can change the command line according to your Linux system:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&lt;br&gt;
$ sudo apt update&lt;br&gt;
$ sudo apt install python3-pip&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Now check to verify the installation of Pip:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;pip3 –version&lt;br&gt;
&lt;/code&gt;&lt;br&gt;
You're ready to fix the problem for installing modules/librarires for Python. Type the following to your terminal:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ python3 -m pip config set global.break-system-packages true
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You can now install pip packages however use it carefully as there is always a chance to break your linux system!&lt;/p&gt;

</description>
      <category>pip</category>
      <category>linux</category>
      <category>python</category>
      <category>fix</category>
    </item>
    <item>
      <title>D5L Dictionary</title>
      <dc:creator>Serdar Torlak</dc:creator>
      <pubDate>Thu, 09 May 2024 14:24:23 +0000</pubDate>
      <link>https://dev.to/kazure/d5l-dictionary-1l5j</link>
      <guid>https://dev.to/kazure/d5l-dictionary-1l5j</guid>
      <description>&lt;p&gt;Hello there, i am working on a simple dictionary with Python using PyMultiDictionary module. I published it in Github under the name &lt;a href="https://github.com/storlak/PythonMiniProjects/tree/main/003%20-%20D5L%20Dictionary"&gt;D5L repository&lt;/a&gt;. It has an interface made with tkinter and at the moment it can be used in 5 languages. It is searching for meaning, synonym and antonyms of the words. There are few problems with PyMultiDictionary module but it works fine.&lt;/p&gt;

&lt;p&gt;For windows you can download it from &lt;a href="https://github.com/storlak/PythonMiniProjects/releases"&gt;Release page&lt;/a&gt; in Github. To feel safe, you can also clone the &lt;a href="https://github.com/storlak/PythonMiniProjects/tree/main/003%20-%20D5L%20Dictionary"&gt;repository&lt;/a&gt; and run it on you IDE.&lt;/p&gt;

&lt;p&gt;I want to convert this script to flatpak and AppImage and publish it on flathub and i definitely need help or guidance about converting this. If anyone can assist for flatpak, AppImage please &lt;a href="https://github.com/storlak"&gt;contact me&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdvddkyfisbbghk046jfo.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdvddkyfisbbghk046jfo.png" alt="Image description" width="587" height="451"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>python</category>
      <category>dictionary</category>
      <category>tkinter</category>
      <category>flatpak</category>
    </item>
    <item>
      <title>URL Shortener with Python and Tkinter</title>
      <dc:creator>Serdar Torlak</dc:creator>
      <pubDate>Wed, 27 Mar 2024 10:10:25 +0000</pubDate>
      <link>https://dev.to/kazure/url-shortener-with-python-and-tkinter-4ooe</link>
      <guid>https://dev.to/kazure/url-shortener-with-python-and-tkinter-4ooe</guid>
      <description>&lt;p&gt;Hey folks, this is a Python beginner project, an URL-Shortner written in Python. It also has a simple interface made with tkinter. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://tinyurl.com/27kgsyhf"&gt;URL Shortener&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Feel free to comment, contribute to the &lt;a href="https://tinyurl.com/27kgsyhf"&gt;REPO&lt;/a&gt; and don't forget to give it a star.&lt;/p&gt;

&lt;p&gt;I'd really appreciate any suggestions, comments and feedback. Whether you have ideas for improvements, feature requests, or simply want to share your experience using the script, your input is invaluable to me as this is my first repo and app.&lt;/p&gt;

&lt;p&gt;contact me: &lt;a href="//mailto:serdartorlak@gmail.com"&gt;e-mail&lt;/a&gt; - &lt;a href="https://mastodon.social/@kazure"&gt;mastadon&lt;/a&gt;&lt;/p&gt;

</description>
      <category>python</category>
      <category>urlshortner</category>
      <category>tkinter</category>
      <category>github</category>
    </item>
  </channel>
</rss>
