Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
package(s) error pykdtree
#1
Hi all,

I have just joined the forum,
I started programming in Python, only recently.

I have installed Anaconda, and PyCharm.

I had installed some packages that were working fine, but suddenly, PyCharm issues an error when I try to run my program.

For example, (just one example)

'File "C:/Users/zahid/PycharmProjects/PathFinder/test.py", line 2, in <module>
from pykdtree.kdtree import KDTree
File "__init__.pxd", line 163, in init pykdtree.kdtree'


In the beginning of the file, test.py, I have the following statement:

from pykdtree.kdtree import KDTree

It happened only recently, and I do not know the reason.
I am using Python 3.7

I have done the following: Within PyCharm
I choose, File -> Settings
then, Project Interpreter
I have the following Project Interpreter
C:\Users\zahid\Anaconda3\python.exe

On the right side, I click on green circle (use Conda Package Manager)
then, I search for 'pip', and double click,
In the next window, I search
pykdtree

and click, install package

and it says, package installed successfully,


Two Questions:

(1) if I had done this process, why on my second time, when I land this window, the respective package (pykdtree in this case is uninstalled)

(2) If I run again my program, the problem still remains,


When, I open the Anaconda Prompt, and try

pip install pykdtree,

it says the following ,
Requirement already satisfied: pykdtree in c:\users\zahid\anaconda3\lib\site-packages (1.3.1)
Requirement already satisfied: numpy in c:\users\zahid\anaconda3\lib\site-packages (from pykdtree) (1.16.2)

Where is the problem,

please somebody can help me,

thank you !!

Zahid
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  MPEG DASH Package implementation similar to M3U8 package anantha_narayanan 1 2,036 May-05-2025, 08:34 AM
Last Post: pintailscratchy
  qpython package error Creepy 5 4,645 Apr-19-2024, 10:35 AM
Last Post: masonsbore
  countryinfo package error MarcusAurelius 4 4,909 Mar-20-2021, 05:42 PM
Last Post: deanhystad
  error with netcdf4 package damdam 0 3,584 Nov-18-2020, 06:44 PM
Last Post: damdam
  Importing module from a package results in import error goghvv 2 4,150 Mar-27-2020, 07:13 PM
Last Post: goghvv
  Beginner - simple package installation error mefeng2008 0 2,554 Mar-13-2020, 09:17 AM
Last Post: mefeng2008
  Error importing package julio2000 3 5,959 Jan-26-2020, 06:15 PM
Last Post: buran
  Error in importing package in pycharm fullstop 0 3,229 Dec-12-2019, 04:03 PM
Last Post: fullstop
  error using geoGen package from GITHUB hknarahari 4 4,974 Sep-17-2019, 06:59 AM
Last Post: buran
  Error while importing my own package giu88 4 4,659 Sep-19-2018, 12:18 PM
Last Post: giu88

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020
This forum uses Lukasz Tkacz MyBB addons.
Forum use Krzysztof "Supryk" Supryczynski addons.