question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No Development Guide

See original GitHub issue

Description

It is not clear how to begin editing a forked version of this. This may be trivial to a seasoned python dev, but I am not one. My apologies, and thank you for making this available to us.

I know this project has been well though-out, and forked many times. Is there a guide or youtube video for developing your own fork?

Steps/Code to Reproduce

  1. Forked original project
  2. Created a venv virtualenv running python 3.8.12
  3. Added print statements to setup.py, wordcloud_cli.py, and wordcloud.py, while also editing the code sometimes for a sanity check.
  4. Ran python setup.py develop
  5. Ran wordcloud_cli --text sza.txt --imagefile wordcloud.jpeg --mask sza.jpeg --repeat

Expected Results

Expected the print statements to show. Or the edited code to have an effect.

Actual Results

But nothing happens. It’s as though it has some saved built version is still running / being compiled. (However, the print statement in setup.py DID show. None of the other code changes seem to have an effect though.)

Versions

macOS-10.15.7-x86_64-i386-64bit Python 3.8.12 (default, Oct 13 2021, 06:42:19) [Clang 12.0.0 (clang-1200.0.32.29)] NumPy 1.22.3 matplotlib 3.5.1 wordcoud 1.8.1.post9.dev0+g35ce9b7

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
jbigdata-gitcommented, Apr 12, 2022

I create 2 directories: …/word_cloud/lib .…/word_cloud/src containing the git clone and execute python3 setup.py develop --install-dir .../word_cloud/lib. add .../word_cloud/lib to the PYTHONPATH. use from word_cloud.src.wordcloud import WordCloud in my test.

Thanks for fast reply, my env is ready.

0reactions
jbigdata-gitcommented, Apr 21, 2022

My bad, it was a localhosted link, I correct the post with a proper link. Render may vary with browser when using such a svg feature, the properest is FireFox. If interested tell me the branch I open a PR.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Beginner's Guide to No Code Development - BuildFire
This in-depth guide will explain everything you need to know about no-code development, answering all of your questions once and for all. You'll...
Read more >
No-code development: A simple guide to the no-code movement
No -code development: A simple guide to the no-code movement. Discover how no-code development platforms are changing the way designers, developers, and creators ......
Read more >
The No-Nonsense Guide to International Development (No ...
This "No-Nonsense Guide" is a must for anyone who is newly interested in the strengths and weaknesses of the "international development" industry. It...
Read more >
A Simple Guide to No-code Development | Comidor Platform
Learn everything you need to build applications with no code. Build, publish and deliver your applications from a single platform fast.
Read more >
What is low-code and no-code? A guide to development ...
A guide to development platforms. A primer to low-code and no-code solutions, including a review of the leading vendors with low- and ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found