I am trying to visualize the dependencies of the GitHub repository. So I am using Pydeps for the purpose.
enter image description here
But I keep getting the error that the system is not able to find the specified file
Please help someone.
I tried adding the init.py file to the downloaded repository but that didn't work either.
I tried running pydeps form the project but that does not work either.
This is how my code looks
Related
I am trying to create my first app using briefcase and python through Beeware. I am following the tutorial as listed on the website, however upon running briefcase build i recieve the following messages in the console:
briefcase build
[helloworld] Building App...
Unable to load file: "src\Hello World.exe"
Setting stub app details...
Unable to update details on stub app for helloworld.
the only thing I have noticed that is different from the tutorial is that upon running briefcase create I receive this message :
[helloworld] Created windows\app\Hello World
Instead of this one as shown in the tutorial
[helloworld] Created windows\msi\Hello World
Any help would be greatly appreciated thank you :)
It's difficult to say from the details you're provided. The error would be consistent with using the wrong Windows template for the app - but if you're doing the tutorial, you shouldn't be modifying anything that would cause this to be a problem.
The app vs msi reference isn't anything to be concerned about; that was a change in the most recent version of Briefcase, and we've neglected to update the tutorial to reflect the change.
My initial guess would be that a network error has occurred when Briefcase downloaded the Windows app template. Your Briefcase project should contain a file named windows\app\Hello World\src\Hello World.exe. The error you're reporting indicates that file doesn't exist.
My best suggestion for a fix would be to clear out your cookiecutter cache. Look in your home directory (C:\Users\<your username>) for a .cookiecutters folder; in that folder, there should be a briefcase-windows-app-template subfolder. Delete that subfolder; then delete the windows folder in your Briefcase project, then re-run briefcase create.
I'm working on an app, and my code works perfectly. I was also able to make the apk. But when I ran it, it didn't work properly. My app uses pygsheets, so I thought that the reason might be some missing requirement, but I'm not sure what it is. Please help. Link to log is here. I'm not very sure how I'm supposed to use this to figure out the problem.
Edit: Using a try except block and writing error to text file I found it to be error message to be no module named google. It was during the import pygsheets statement. Any idea on how to solve this ? I'll add my buildozer.spec file here, so please take a look at my requirements section and tell me if anything is missing. https://drive.google.com/file/d/1OkZuW31ugHWEGn8XbIpQRnlWgBwSPt-M/view?usp=drivesdk. I put all the requirements of pygsheets in, so I don't know what's wrong.
I got it. I first added all the requirements of the pygsheet module which aren't directly shown by pip show. Then I had to specify the version as there are specific version requirements. google-api-python-client had to be version 1.11.0 and six had to be version greater than 1.12.0.
I seem to be having issues with my python interpreter. I am getting the following error on my terminal when trying to start the Django webserver:
1) Error loading shared library libpython3.7m.so.1.0: No such file or
directory (needed by /usr/local/bin/coverage) 2) Error relocating
/usr/local/bin/coverage: _Py_UnixMain: symbol not found
Any idea or clues on what I should be looking for in regards to the error above? I am running ubuntu on my system. This problem seems to occur after I started a new Django project.
Thank you.
This seems like a Path related issue. You can see here for solutions on how you can alter the path. Alternatively, you can simply fix the issue the following way:
sudo apt-get install libpython3.x-dev
This way you won't need to any changes to environment path manually.
I am novice in python and Simple_ITK both to process .mha 3D image files. I have two problems:
When ever I install ITK, I always get an error as shown below:
and somehow I install ITK It doesn't work at all having no connectivity with python. And I also tried python-insighttoolkit3 package then it shows and error of
" Can't down load Python 2.8:i386" in Ubuntu software Center. I have tried various methods to install Insight Tool Kit in Ubuntu whatever I found but most of the time I get the same error as shown in picture above.
So can anybody guide me how to install and build ITK so that no error like no module named itk found.
Now another problem is I have a .py file and it has a class in which I have to fed input externally otherwise it will consider as None. SO I tried to call the file as
import /path/to/file/xxx.py
but it gives an Syntax error: invalid syntax
so how to call class from a python file from python Console .
Now, I'm using Ubuntu 15.02. For any missing details please ask.
Thanks.
1- For what I see in the image, I see that you are trying to install ITK instead of SimpleITK. For SimpleITK it is very simple using a linux package installer, like pip or easy-install. in this link you have the instructions to install it correctly. Remember to execute the instructions as super user. Maybe it is the reason of your error ( I can't see the instruction you are writing in the console ).
2- I recommend you to read the Python tutorial for modules The fastest way is to be located first on the directory of your .py file. The sequence would be:
cd /path
import module.py
I'm an Ubuntu user and I've tried to make use of HTML-Graphs source code, that I need for my python script (well... it's not library but source code, I guess? If I needed anything for my scripts, I was just installing libraries through Ubuntu Softwate Center or pip command). Please, check HTML-Graphs here: http://www.gerd-tentler.de/tools/pygraphs/index.php?page=download. So my problem is: I download it as zip file... and then what? I tried to do comments like 'python graphs.py' in hope to "install it" (sorry, lack of words) but it didn't work out. What should I do to properly use the instructions from the HTML-Graphs source code? Thx!
You can copy the file graphs.py to your current project directory and then use it in your scripts with import graphs